Perhaps what you really want to do is deploy your application using an exploded directory:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment
You never said why you need the work directory retained.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050980#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...