Have you thought about using a real deployment tool? E.g. SmartFrog http://www.SmartFrog.org
Ant is not designed for handling transaktionality. I think you have to implement a two phase commit for yourself. Jan >-----Ursprüngliche Nachricht----- >Von: Pankaj Arora01 [mailto:[email protected]] >Gesendet: Montag, 4. Mai 2009 07:46 >An: Ant Users List >Betreff: Help needed in ANT script for Rollback operation > >Hi All, > >I am using ANT script to deploy my application in Weblogic server. >I am having "deploy" task which deploys the application. > >But I am facing one issue, if my deployment fails I need to >redeploy the previous application i.e (RollBack). > >Please can anyone help me in implementing the ANT task. > > >**************** CAUTION - Disclaimer ***************** >This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION >intended solely >for the use of the addressee(s). If you are not the intended >recipient, please >notify the sender by e-mail and delete the original message. >Further, you are not >to copy, disclose, or distribute this e-mail or its contents >to any other person and >any such actions are unlawful. This e-mail may contain >viruses. Infosys has taken >every reasonable precaution to minimize this risk, but is not >liable for any damage >you may sustain as a result of any virus in this e-mail. You >should carry out your >own virus checks before opening the e-mail or attachment. >Infosys reserves the >right to monitor and review the content of all messages sent >to or from this e-mail >address. Messages sent to or from this e-mail address may be >stored on the >Infosys e-mail system. >***INFOSYS******** End of Disclaimer ********INFOSYS*** > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
