new component in cvs: DeployByCopy
Steve Loughran <[email protected]> Wed, 25 Jan 2006 14:00:22 +0000
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642