Re: replace version info in maven2 pom with ant

2009-06-17 Thread Michael Alsen
http://n2.nabble.com/transform-xml-to-xml-using-xslt-and-ant-tp3092022p3092022.html -- View this message in context: http://www.nabble.com/replace-version-info-in-maven2-pom-with-ant-tp24035984p24071514.html Sent from the Ant - Users mailing list archive at Nabble.com.

Re: Abort build with successful status

2009-06-14 Thread Michael Alsen
Instaed of calling you could call a target e.g.: . Shawn Castrianni wrote: > > Is there a way to end a build prematurely, successfully? I can use > , but then the return value of ant is a failure and it prints out > BUILD FAILED, which will make the user think something bad happened. That >

Re: Problem with excludes

2009-05-29 Thread alsen
Michael Wroopy wrote: > > Hi! > > I've problem with excludes when creating a zip file. > I want to create a zip files containing all files in current > directory, but exclude two directories. > > > > > > > excludes="${dist}, ${build}"/> > > > /Andreas > > --

Re: Testing if Tomcat is running

2009-05-28 Thread alsen
Analyze timeoutproperty. Roman Sokolyuk-2 wrote: > > Hi, > Ant: 1.7.1 > OS: Mac OS X Leopard > Java: 1.5.0_16 > Tomcat: 6 > > I am using the following ant tasks to stop my Tomcat: > > > > > > > > > > > > > > but when it is executed and Tomcat is already down it obviously thro