It's possible to do this if instead of deploying an actual compressed war, you 
create and deploy an "exploded" package (basically just a folder with a .war 
extension).  In the packaging configuration of your project properties, if you 
open the properties of your package, and click the "Exploded" check box, and 
re-run packaging, you will have an exploded package

After deploying the exploded war into JBoss (make sure to undeploy you're old 
archive first), you should setup a user-defined Deploy target that points to 
the path of where the JSPs in your deployed exploded archive are in the JBoss 
deploy directory. You can create a user-defined target by going into Window > 
Preferences > JBoss-IDE > Deployer, and clicking the "Add" button on the right 
side of the "List of user-defined targets".  The type of deployment will be a 
File System Copy. Browse for the path, it will probably look something similar 
to:

$JBOSS_HOME/server/default/deploy/yourwebapp.war/yourwebroot

At this point you can now right click on the JSP you want to update, and 
re-deploy it explicitly to the deployment target that you just created. In 
order for JBoss to pick up the changes under an exploded archive, you'll have 
to make sure to "touch" the WEB-INF/web.xml (update the timestamp) which forces 
JBoss to reload your JSP.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858786#3858786

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858786


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to