ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Egorov" <>
Subject setting task attributes from properties
Date Wed, 28 Mar 2007 22:46:04 GMT
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

While this can be implemented for an individual task, I believe that it
should be done in core Ant, so that it works for all tasks without extra
work for task developers.

Do Ant Users feel this would be useful to have in core Ant? Has anyone
asked for this? Is there an extension mechanism in Ant that can be used
to do this? Is there a property-to-xml convention that would take care
of the nested elements?



Notice:  This email message, together with any attachments, may contain information  of  BEA
Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,
 copyrighted  and/or legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete it.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message