ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Nix" <Jeremy....@sfsltd.com>
Subject RE: <IF> <ELSE> Task
Date Tue, 08 Apr 2003 15:52:26 GMT
Yeah, that's something that I can work with.  What happened to the logic tag (test)?

_________________
Jeremy Nix
Senior Application Developer
Southwest Financial Ltd.
Jeremy.Nix@sfsltd.com
(513) 621-6699 ext 1158


-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Tuesday, April 08, 2003 10:33 AM
To: user@ant.apache.org
Subject: AW: <IF> <ELSE> Task


Does http://www.jguru.com/faq/view.jsp?EID=1072238 help?

Jan Matèrne

> -----Urspr√ľngliche Nachricht-----
> Von: Jeremy Nix [mailto:Jeremy.Nix@sfsltd.com]
> Gesendet am: Dienstag, 8. April 2003 17:29
> An: Ant Users List
> Betreff: <IF> <ELSE> Task
> 
> I'm trying to create a build.xml that will build my
> application(s) to a
> particular environment...local, test, production.  My first 
> thought was
> to create multiple tasks to do handle this, but I'm finding 
> that its too
> much repitition between tasks.  I found that all that was different
> between the environments was properties files.  So, in light 
> of this, I
> created a single property that I specify the environment that 
> I wish to
> build to.  Then, I'd "like" to be able to check that property's value,
> and then use the appropriate property files.  I've looked through the
> latest API, and there is no test logic for properties that supports
> this.  I believe there was a task named "test" that did what 
> I describe,
> but it appears to be removed at some point.  Is there any 
> other targets
> out there that will accomplish what I'm looking for?
> 
> _________________
> Jeremy Nix
> Senior Application Developer
> Southwest Financial Ltd.
> Jeremy.Nix@sfsltd.com
> (513) 621-6699 ext 1158
> 
> 

Mime
View raw message