-
1. Re: HOw to run JBOSS in developement mode
wolfgangknauf Oct 9, 2008 6:57 AM (in response to sandeeptarade)Replacing a WAR file in the deploy directory performs an automatic restart of the application.
Does your build script change the timestamp of the WAR file? What happens if you copy the WAR through windows exlorer or whatever you use?
Best regards
Wolfgang -
2. Re: HOw to run JBOSS in developement mode
erasmomarciano Oct 9, 2008 9:42 AM (in response to sandeeptarade)If you modify this those file .jsp .html you not need to restart your web-app.
Else if you modify those file .class or jar, you need restart your web-app -
3. Re: HOw to run JBOSS in developement mode
peterj Oct 9, 2008 10:20 AM (in response to sandeeptarade)Try using a exploded deployment, then you can add/replace JSP, HTML, CSS and other static files and have the hot deployed (without having the application being redeployed).
http://wiki.jboss.org/wiki/ExplodedDeployment
By the way, In my ant scripts, I always create a directory withe the war contents first, and then use the jar task to create the war from that directory. Then I have two different deployment targets, one which copies over the war file, the other which copies over the war directory.