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
AppServerParentDir definition error
Hi all, I am working with this version of Liferay product:
liferay.workspace.product = portal-7.4-ga33
when I start an initBundle command (see below) I get an error about appServerParentDir definition.
PS C:\Workspace\Sites\web-sites> gradle initBundle -Pliferay.workspace.environment=local
FAILURE: Build failed with an exception.
* Where:
Script 'jar:file:/C:/Users/user/.gradle/caches/modules-2/files-2.1/com.liferay/com.liferay.gradle.plugins/13.2.135/8fa3f99558c75204be32defb789b070beba711f2/com.liferay.gradle.plugins-13.2.135.jar!/com/liferay/gradle/plugins/dependencies/config-liferay.gradle' line: 70
* What went wrong:
A problem occurred configuring project ':modules:portal-initializer'.
> No such property: appServerParentDir for class: java.lang.String
Anyone could help me to understand this issue? Where do I have to define that variable?
Thanks.
Enrico
It seems we have to define
app.server.tomcat.dir=
into gradle.properties file.
Enrico