From: Steve L. <ste...@hp...> - 2006-01-25 14:03:26
|
I'm just pointing out to everyone a new component in the services/filesystem package, DeployByCopy This extends the CopyFile component with automatic deletion of the destination file when the component is terminated. This lets you use it to describe deployments to app servers with deploy on copy. For example MyWebApp extends DeployByCopy { source "/home/steve/app/webapp.war" ; } myAppOnTomcat extends MyWebApp { destination Tomcat:deployDir; } myAppOnJBoss extends MyWebApp { destination extends File { dir Jboss:deployDir; filename "app2.war"; } } Please have a play with this if it is what you need, submit tests, bug reports, etc. -steve |