ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: setting task attributes from properties
Date Thu, 29 Mar 2007 05:55:47 GMT
 
Hi,


-----Original Message-----
From: Vladimir Egorov [mailto:vegorov@bea.com] 
Sent: Thursday, March 29, 2007 12:46 AM
To: Ant Users List
Subject: setting task attributes from properties

/*
Hi Ant Users,

I would like to change the value of a task attribute on the fly, without
editing Ant xml file, by setting a runtime system property like this:

  junit.showoutput=true --> get junit to show test output by default
  java.fork=true --> fork by default
  etc.
*/

You may try <presetdef> for that purpose ?!

http://ant.apache.org/manual/CoreTasks/presetdef.html


Regards, Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message