In Eclipse when I modify and save a JSP file it gets immediately deployed to tomcat. How can I achieve the same in IntelliJ?
You can't achieve exactly that, but IntelliJ IDEA has options for "Compile on frame deactivation" and "Deploy on frame deactivation", which work effectively the same.
-- Dmitry Jemerov Software Developer JetBrains, Inc. http://www.jetbrains.com/ "Develop with Pleasure!"
Dimitry, can you tell me where this 'Compile on Frame deactivation' option is?I only see: 'save files on frame deactivation' in the settings ->general options.
(Btw, I also cannot find the deploy on frame deactivation part...)
Hello Oliver,
You can't achieve exactly that, but IntelliJ IDEA has options for "Compile
on frame deactivation" and "Deploy on frame deactivation", which work effectively
the same.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Maven with the jetty plugin performs the functionality.
Hello Oliver,
There is one more way. JSP files have "Package file" command. It re-packs
modified JSP into war archive and exploded directory.
Alexander.
Dimitry, can you tell me where this 'Compile on Frame deactivation' option is?I only see: 'save files on frame deactivation' in the settings ->general options.
(Btw, I also cannot find the deploy on frame deactivation part...)
Web facet -> Java EE Build Settings
Thanks Taras, for the reply. I couldn't check if it worked, because adding a Web facet just crashed (CPU to 100%) my whole IntelliJ :(
Try to capture a stacktrace, and post it to JIRA:
http://www.adaptj.com/root/main/tracedemo
(Or use "jps", depending on you platform)