Did you consider using the sun-appserv-deploy, sun-appserv-undeploy, and sun-appserv-update ant tasks that are bundled with GlassFish to accomplish the directory deployment?
- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]
http://forums.java.net/jive/thread.jspa?messageID=276000