ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: ant property
Date Fri, 25 Feb 2005 15:05:17 GMT
You can use the <var> task of AntContrib or using <script> and
project.setProperty() 
to override an existing one.

BUT

you should think about your buildfile: the buildfile should describe your
build
process on a higher level than
if-that-is-true-do-this-else-that-and-in-case-of-... 
Keep in mind that Ant is not a functional programming language - never
designed for that :-)


Jan

> -----Urspr√ľngliche Nachricht-----
> Von: James Fuller [mailto:jim.fuller@ruminate.co.uk]
> Gesendet am: Freitag, 25. Februar 2005 15:45
> An: Ant Users List
> Betreff: Re: ant property
> 
> Rajiv Jaitly wrote:
> 
> >++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >Please read the disclaimer at the bottom of this e-mail.
> >++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> >Hi,
> >
> >Is there any was in Ant to reset (assign a new value) a 
> property that was set previously ? As i understand ant 
> properties are immutable, I do not want to set up a new 
> property name every time i want to change the value.
> >  
> >
> maybe you could briefly describe your specific scenario....we 
> might be 
> able to suggest a solution with immutable properties that in the long 
> run is perhaps more applicable....
> 
> gl, Jim Fuller
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message