IDEA 7 auto redeploy


I'm running IDEA 7.0.2 and JBoss 4.2.2 with jboss-web 2.0.1 with Exploded Deployment Directory (.war).

In "Compiler" section, both project settings and template project settings "Deploy web applications to server after compilation" is set to "Ask".

When it hit "Run" from IDEA it automatically starts Jboss (doooh :P) and deploys Web Facet.

If I modify a .jsp and hit "Make", it copies the jsp and asks me if it should redeploy the app. I hit "No" and it doesn't :)

If I modify a .java and hit "Make", it compiles the class and asks me if it should redeploy the app. I hit "No" and it does redeploy the app anyway.

Any ideas ?!!

P.S.: I've been searching around for solutions.. and I found this

but I didn't found any web.xml modified by IDEA.


Comment actions Permalink

more digging...related to the above link (JBoss wiki)...

i've found in Documents and Setting/.IntelliJIdea70/system/compiler//.dependencyInfo


Idea updates this file's timestamp after every make.
The file contains the URL of my exploded directory configured in the Web Facet and sends it to JBoss's MainDeployer invoking redeploy().

how can i stop that ?!

Comment actions Permalink

I've found the source of my problem.

context.xml in C:\jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer

had "reloadable" attribute set to "true". I've set it to "false" and now it works normal.


Please sign in to leave a comment.