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 and IntelliJ IDEA
Hello,
are there any experiences with setting up Liferay in IntelliJ IDEA?
Until now, we used Liferay V. 6.2 and Eclipse 4.4.0. We would like to use IDEA 14.1.3 for development. That means, we would like to use, like in Eclipse:
Can someone help me? I just found this old wiki page: https://www.liferay.com/de/community/wiki/-/wiki/Main/Running+Liferay+from+IntelliJ
Kind regards,
Steven
are there any experiences with setting up Liferay in IntelliJ IDEA?
Until now, we used Liferay V. 6.2 and Eclipse 4.4.0. We would like to use IDEA 14.1.3 for development. That means, we would like to use, like in Eclipse:
- Starting the Tomcat
- Deploying Portlets/Themes
- Hot Deployment of JSP changes
Can someone help me? I just found this old wiki page: https://www.liferay.com/de/community/wiki/-/wiki/Main/Running+Liferay+from+IntelliJ
Kind regards,
Steven
I've been using Intellij for a few months now, but honestly haven't used any of these facilities (nor did I ever use them in Eclipse for that matter).
I use a separate Tomcat instance (often instances) started on the command line just like the production system runs.
I use regular hot deploy by dropping war into Liferay's deploy directory so I know how the deployment will react in production.
No hot deploy of JSP changes because it won't work in production.
Heck, I often still use the maven command line so I am familiar with the output that will be generated by jenkins.
Yes, I know it's old school.
That aside, hopefully you have a good reason to switch to Intellij. The supporting Liferay editors and tooling built into Eclipse via the Liferay IDE provide a lot of value, so you should have some justification to equal or exceed that lost value moving away from the Liferay IDE.
I use a separate Tomcat instance (often instances) started on the command line just like the production system runs.
I use regular hot deploy by dropping war into Liferay's deploy directory so I know how the deployment will react in production.
No hot deploy of JSP changes because it won't work in production.
Heck, I often still use the maven command line so I am familiar with the output that will be generated by jenkins.
Yes, I know it's old school.
That aside, hopefully you have a good reason to switch to Intellij. The supporting Liferay editors and tooling built into Eclipse via the Liferay IDE provide a lot of value, so you should have some justification to equal or exceed that lost value moving away from the Liferay IDE.
Steven Birr:
are there any experiences with setting up Liferay in IntelliJ IDEA?
Until now, we used Liferay V. 6.2 and Eclipse 4.4.0. We would like to use IDEA 14.1.3 for development. That means, we would like to use, like in Eclipse:
- Starting the Tomcat
- Deploying Portlets/Themes
- Hot Deployment of JSP changes
Can someone help me? I just found this old wiki page: https://www.liferay.com/de/community/wiki/-/wiki/Main/Running+Liferay+from+IntelliJ
Hey Steven, you might like Krzysztof Gołębiowski's dev.life presentation: "Liferay + IntelliJ IDEA - Setup, Tips & Tricks"
https://www.liferay.com/community/dev.life/previous
https://www.youtube.com/watch?v=-YrkUOJeqMk
I use IntelliJ IDEA, with maven, and JRebel
Great reminder, Jack, I keep forgetting about Krzysztof's presentation (even though it was a good one).
I also use Eclipse IDE and Studio, but for newer projects have been using IntelliJ IDEA and loving it
given my mouse-like fingers need ritual habits to more quickly navigate the maze: I lean to maven via command line and git via command line which works on any platform and independent of the Eclipse/IntelliJ question
given my mouse-like fingers need ritual habits to more quickly navigate the maze: I lean to maven via command line and git via command line which works on any platform and independent of the Eclipse/IntelliJ question
The instructions for running tomcat and also running tomcat for debuging on that page are still valid and work fine.
Deploying is very easy when using maven, just configure the correct maven tasks in intellij. (Works similar for ant, but Liferay+ant+intellij=:angry
Deploying is very easy when using maven, just configure the correct maven tasks in intellij. (Works similar for ant, but Liferay+ant+intellij=:angry