Issue
-
After defining the
liferay.workspace.bundle.url
property in the gradle.properties file, running a Gradle Task to initialize the bundle fails with the following error:Execution failed for task ':verifyBundle'.
> Invalid checksum for file '{liferay-bundle-file}'.
Expected {checksum value} but got {another checksum value}.
Environment
- Developer Studio
Resolution
-
When users specify a Liferay bundle URL through the
liferay.workspace.bundle.url
property, they also need to specify the checksum MD5 value for their bundle using the following property:liferay.workspace.bundle.checksum.md5 = {checksum value}
-
Users can identify the checksum MD5 value of their bundle using the following ways:
-
Use the 'expected' checksum value noted in the error message
-
Execute the following command after downloading the bundle:
md5sum ${filename}
-