Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Is it possible to override default attribute values for Ant tasks?

Is it possible to override default attribute values for Ant tasks?

2005-05-19       - By Kumar, Pankaj

Hi,



I have a main Ant script which invokes a number of other scripts using
"ant" task. These scripts invoke "javac" task without specifying any
value for attribute "debug" (so the default value "off" is used).



I would like to change the default of "off" to "on" for all javac
invocations without modifying all the different script files. Is it
possible with Ant?



Thanks in Advance,

Pankaj Kumar


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.