chroma-theme
chroma-theme copied to clipboard
NPE on SDK Build in Eclipse
Hi Daniel!
I recently checked out your awesome Liferay theme.
I tried to add some changes and build it using my local Liferay SDK (latest version 6.2).
First I had to uncheck the "Faceted Project Validation Builder" as it caused an exception on opening the project.
Now I have another issue with an NPE on any action I invoke from the Eclipse Liferay build context menu (all, deploy, war, ...). There is no more information available to the NPE like a stack trace.
Do you have an idea what I'm missing here to build the theme using Liferay SDK?
Thanks and regards,
Jörg
Hi Jörg,
Sorry for the late response. The SDK build should theoretically be as easy as checking out the project and putting it into the themes folder of your SDK. Running ant war should then lead to a deployable WAR file. Can you try to build it using the command line?
I am using Eclipse myself, though, and never had problems building the project.
That being said, I recently decided to turn the project into a Maven project. So, I would guess that it should actually be easier for you now to build it (given that you have Maven installed). The Liferay Eclipse plugins do support Maven projects as well—so, it should be a simple matter of importing the project there.
Let me know if you still have problems with it, though.
Thanks! Daniel
Hi Daniel!
Thanks for your answer! I already managed to build the theme using ant on the commandline. But still no success from the eclipse context menu.
I will try the maven option as well anytime soon!
Thanks again for sharing this cool piece of art ;-)
Jörg
@joergpoeschko
Can you post an topic on the Liferay IDE forums here? https://www.liferay.com/community/forums/-/message_boards/category/4627757
We can help you solve the issue of Daniel's theme not work from Eclipse and Liferay IDE