Auto Package on Save

In Eclipse when I modify and save a JSP file it gets immediately deployed to tomcat. How can I achieve the same in IntelliJ?

7 comments
Comment actions Permalink

Hello Oliver,

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!"


0
Comment actions Permalink

Maven with the jetty plugin performs the functionality.

0
Comment actions Permalink

Hello Oliver,

There is one more way. JSP files have "Package file" command. It re-packs
modified JSP into war archive and exploded directory.

In Eclipse when I modify and save a JSP file it gets immediately
deployed to tomcat. How can I achieve the same in IntelliJ?

Alexander.


0
Comment actions Permalink

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...)

0
Comment actions Permalink

Web facet -> Java EE Build Settings


0
Comment actions Permalink

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 :(

0
Comment actions Permalink

Try to capture a stacktrace, and post it to JIRA:
http://www.adaptj.com/root/main/tracedemo
(Or use "jps", depending on you platform)


0

Please sign in to leave a comment.