Re: How to stop ant execution if one target fails

2008-10-02 Thread John5342
If the names of the targets are indeed what they do then most of them should probably always be done in a particular order in which case make each one depend on the next similar to the following. Then if you were to run "ant jar" then build will be automatically run before jar and if build

Re: Packaging war

2008-10-02 Thread supareno
hello, you can something like that |_ |_ |_ |_ | |_ config files for env_1 |_ |_ config files for env_2 and calling ant with the 'env' parameter in your build file, you've defined a property 'env' and after, th

Fwd: CFP open for ApacheCon Europe 2009

2008-10-02 Thread Matt Benson
--- Noirin Shirley <[EMAIL PROTECTED]> wrote: > Date: Thu, 2 Oct 2008 09:22:06 +0100 > From: Noirin Shirley <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: CFP open for ApacheCon Europe 2009 > > PMCs: Please send this on to your users@ lists! > > If you only have thirty seconds: > > The

Re: [ANN] Apache Ivy 2.0.0-rc1 released

2008-10-02 Thread kroekle
This is great work, thanks. Do you know if there is going to be a RC of ivyde soon as well? Xavier Hanin wrote: > > Sep 26, 2008 - The Apache Ivy project is pleased to announce its > 2.0.0 rc 1 version, the first release candidate for 2.0.0 final release. > > Ivy is a tool for managing (reco

Re: Packaging war

2008-10-02 Thread Mohit Anchlia
But it looks like I can't put it under if/else. Something like: <${env} = "x"> On Wed, Oct 1, 2008 at 8:02 PM, Kamal Chandana Mettananda <[EMAIL PROTECTED]> wrote: > Yes you can. Following is just an example of using .jar files from a given > directory. > > > > > > > --

Re: How to replace context.xml in to already deployed war+application?

2008-10-02 Thread Steve Loughran
Kothari, Shivani wrote: Hi, I want to replace context.xml in already deployed application .war file and in application folder in webapps. How can this be achieved in ant. I have written below code - but this currpting my existing deployed application.

How to stop ant execution if one target fails

2008-10-02 Thread Dean Del Ponte
I'm using ant to build my project. When running ant from the command line, I'm passing in multiple targets. For example: ant -verbose clean build jar findbugs pmd Ant will execute the targets clean, build, jar, findbugs, and pmd in that order. My problem is that if one of the targets fai

How to replace context.xml in to already deployed war+application?

2008-10-02 Thread Kothari, Shivani
Hi, I want to replace context.xml in already deployed application .war file and in application folder in webapps. How can this be achieved in ant. I have written below code - but this currpting my existing deployed application.

Re: How to replace tokens in to war file?

2008-10-02 Thread Andy Stevens
2008/10/2 Kothari, Shivani <[EMAIL PROTECTED]>: > Hi, > I want to replace tokens inside a war file. How to do that? I am able to > replace tokens in to exploded war folder, but I want to replace tokens > in context.xml inside a war. Simplest approach I can think of is Extract file to temporary dir

How to replace tokens in to war file?

2008-10-02 Thread Kothari, Shivani
Hi, I want to replace tokens inside a war file. How to do that? I am able to replace tokens in to exploded war folder, but I want to replace tokens in context.xml inside a war. Thanks, Shivani - To unsubscribe, e-mail: [EMAIL PRO

Re: Ant 1.7 - XSLT task and Xalan and Saxon9 issue

2008-10-02 Thread James Abley
2008/9/30 Marijan (Mario) Madunic <[EMAIL PROTECTED]>: > I'm trying to run various XSLT tasks that either rely on Xalan or Saxon and > am having a hard time with ANT recognizing Xalan when Saxon is in the > Ant/lib. The reason I am running both is that Xalan has a better extension > for SQL than Sa