AW: Help needed in ANT script for Rollback operation

2009-05-03 Thread Jan.Materne
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:pankaj_aror...@in

Help needed in ANT script for Rollback operation

2009-05-03 Thread Pankaj Arora01
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 ta

AW: know user name using ant

2009-05-03 Thread Jan.Materne
All java system properties are available as Ant properties. So use ${user.name} Jan >-Ursprüngliche Nachricht- >Von: Rajesh Kumar (IN4774) [mailto:rajesh_kum...@mindtree.com] >Gesendet: Montag, 4. Mai 2009 07:08 >An: user@ant.apache.org >Betreff: know user name using ant > >Hi, >I am ru

know user name using ant

2009-05-03 Thread Rajesh Kumar (IN4774)
Hi, I am running a ant script in Unix system and my ant scripts requires current logged in user name and make use of user name is entire scripts. Anybody help in how to find username using ant script? Regards, Raj http://www.mindtree.com/email/disclaimer.html

Re: fileset based on paths in file

2009-05-03 Thread Patrik Nagel
It's for a fileset. I tried the "includesfile" attribute from the fileset task. It does exactly what I'm looking for! Tanks a lot! Patrik David Weintraub wrote: Is this for a path or a fileset? There's a big difference. A path is simply a collection of directories while a fileset selects files