Use a property file.
E.g. %user_dir%\ant.properties
javac.debug=true
javac.deprecation=false
and use that in your buildfiles
<property file="${user.dir}/ant.properties"/>
<javac debug="${javac.debug}".../>
Jan
> -----Urspr�ngliche Nachricht-----
> Von: Schaaf, A.P. (Arjan) [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 17. Juni 2003 12:49
> An: '[EMAIL PROTECTED]'
> Betreff: Default settings for the javac task across multiple
> build files
>
> Hi there,
>
> I'm trying to get something sorted out, but I can't find a solution.
> I have multiple ant build files which all have a compile
> target using the
> <javac> task. What I would like, is to have the same settings
> (suchs as the
> deprecation and debug parameters) for the <javac> task
> without having to
> specify each parameter in each build file over and over again. Is this
> possible?
>
> Thanks in advance.
> Arjan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>