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: Theme Generator: doesn't appear to be an app server directory
I have a strange problem with creating a new theme for Liferay 7. I was forced to use this "Theme Generator" as the SDK created ant task did not lead to anything.
Now the Theme Generator asks for "Enter path to your app server directory: " and no matter what answer to it it just says "xxx doesn't appear to be an app server directory.
I'm doing this on an Ubuntu PC and the the app server resides in /opt/liferay/liferay-ce-portal* and my Plugin SDK is connected using nfs from my NAS.
Now the Theme Generator asks for "Enter path to your app server directory: " and no matter what answer to it it just says "xxx doesn't appear to be an app server directory.
I'm doing this on an Ubuntu PC and the the app server resides in /opt/liferay/liferay-ce-portal* and my Plugin SDK is connected using nfs from my NAS.
Attachments:
Jari Fredriksson:
I was forced to use this "Theme Generator" as the SDK created ant task did not lead to anything.
The SDK is there for legacy support for portlets, really, I don't think the themes will work there going forward but admittedly I'm not 100% on that one.
Now the Theme Generator asks for "Enter path to your app server directory: " and no matter what answer to it it just says "xxx doesn't appear to be an app server directory.
You want to point at the tomcat root, no the Liferay home.
I'm doing this on an Ubuntu PC and the the app server resides in /opt/liferay/liferay-ce-portal* and my Plugin SDK is connected using nfs from my NAS.
So normally for development I recommend using a local bundle. It's easier to set up and run, you don't have remote issues w/ deployment. After you're done w/ the development, then you can deploy to the main app server and do your testing and promotion as defined by your organization.
Thanks. That was it, the app server dir to the tomcat (or wildfly) fixed that. I'm sure that I tried that too, but apparently not.
Happy camper!
Happy camper!
Hi guys
Sorry to revive old treads, Is there any way to force
it to accept a folder as a destination,
We are developing with
docker and the mounted folder is obviously not a tomcat server
Hey Rodrigo,
We recently added some mitigation for this following the comments in the Generator-Liferay-Theme: Do not insist on app server directory issue.
We still don't have support for automatic Docker deploy, but if you install the latest 8.0.0-beta.5 version of the generator, you should get an "Other" option when choosing your deployment method, so you should be able to at least move forward.
Hope that helps (a little)
Hey Chema, thanks a lot!
Where i can find any info about how to install that version, I installed the Theme Generator with NPM but the theme-sdk is not registered in the npm repository
Cheers.
Where i can find any info about how to install that version, I installed the Theme Generator with NPM but the theme-sdk is not registered in the npm repository
Cheers.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™