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: Passing changing values from script to ant
Date Wed, 16 Apr 2003 10:31:54 GMT
Why using ant properties? If are programming against the DOM API with
<script>
why not using the Ant API? Instantiate a task, set its values and call
perform().


Jan Matèrne

> -----Urspr√ľngliche Nachricht-----
> Von: KOFFMANN Gilles [mailto:Gilles.KOFFMANN@totalfinaelf.com]
> Gesendet am: Mittwoch, 16. April 2003 12:13
> An: user@ant.apache.org
> Betreff: Passing changing values from script to ant
> 
> Hello,
> 
> I'm relying on an xml file describing my build.
> I parse this xml in a beanshell script task thru the Xerces 
> impl. of the DOM api
> 
> What I would like to do is call an ant task from this script 
> passing a new value each time.
> Since ant properties are immutable, I can't do that.
> 
> The result is that my build is only one big task containing 
> only  beanshell script.
> 
> Am I missing something ? Is there a workaround ? Is it for 
> next versions ?
> 
> Regards
> 
> Gilles KOFFMANN
> 
> 
> ---------------------------------------------------------------------
> 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