"joey.watson" wrote : Hi | | Just Want to know do there have some ways can save my time when I develop Java project. Because if I did any modify to Java file or JSP file. I have to compile and deploy my project again. I know for Tomcat , Just set the class path to compile, and just compile Java file, don't need to compile JSP and make war file. can I do it for Jboss like this? | | Thanks. | | Joey
Two solutions: a nice one and a dirty one. Nice one: In your jboss-service.xml (under server/yourservername/conf) find the definition for org.jboss.deployment.scanner.URLDeploymentScanner. Modify the URL-attribute: | <attribute name="URLs"> | deploy/ , file:///pathtoyourwebapp | </attribute> | Your project must use the typical WAR-file-structure and you should compile to the WEB-INF/classes directory. When you changed a class, just touch your web.xml file. The dirty one: Deploy your app as an exploded archive and develop directly in the deploy/yourwebapp directory. This is not a good idea. Regards, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926177#3926177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926177 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
