Hi,

-----Original Message-----
From: Vladimir Egorov [mailto:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to