Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay IDE blade gw distBindle always uses 7zip bunble and fails
Blade version: 3.9.1 SNAPSHOT202002241735
Lifereay version: 7.3.1 GA 2
Liferay IDE 3.8.0 GA1
The gradle task :distBundleTar|Zip always seems to be using the same liferay bundle no matter what I set in the gradel.properties. This happens in the IDE and the command line. (Small point the liferay workspace creatation is also using the wrong tomcat version number. I had to change it from 9.0.17 to 9.0.33 to match 7.3.1 GA2)
gradel.properties:
Error:
Lifereay version: 7.3.1 GA 2
Liferay IDE 3.8.0 GA1
The gradle task :distBundleTar|Zip always seems to be using the same liferay bundle no matter what I set in the gradel.properties. This happens in the IDE and the command line. (Small point the liferay workspace creatation is also using the wrong tomcat version number. I had to change it from 9.0.17 to 9.0.33 to match 7.3.1 GA2)
gradel.properties:
app.server.tomcat.version = 9.0.33
liferay.workspace.bundle.url = https://releases-cdn.liferay.com/portal/7.3.1-ga2/liferay-ce-portal-tomcat-7.3.1-ga2-2
0200327090859603.tar.gz
liferay.workspace.target.platform.version = 7.3.0
microsoft.translator.subscription.key =
target.platform.index.sources = true
Error:
$ blade gw distBundleTar
> Task :distBundle FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':distBundle'.
> Could not expand ZIP '/home/michael/.liferay/bundles/liferay-ce-portal-tomcat-7.3.1-ga2-20200327090859603.7z'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run wi
th --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
2 actionable tasks: 2 executed
Sorry guys. I found that the $HOME/.gradle/gradel.properties file had a liferay.workspace.bundle.url line in it with the 7zip listed.
This overrides the project level gradle.properties file.This was from an earlier "misreading" of the documentation when I was setting up the http proxy options.
This overrides the project level gradle.properties file.This was from an earlier "misreading" of the documentation when I was setting up the http proxy options.
Thanks for following up, glad you got it worked out. Let us know if we can help with anything else.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™