The other scripts should use properties than you can provide other values
while
invocation.
master1.xml
<ant ... ><arg name="javac.debug" value="on"/></ant>
other.xml
<property name="javac.debug" value="off"/>
<javac debug="${javac.debug}" ...
Jan
> -----Urspr�ngliche Nachricht-----
> Von: Kumar, Pankaj [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 20. Mai 2005 01:32
> An: [email protected]
> Betreff: Is it possible to override default attribute values for Ant
> tasks?
>
> 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
>
>