Jose Alberto Fernandez <[EMAIL PROTECTED]> wrote:
> One point is support of being able to express these defaults by
> properties is that then it is possible to change the values without
> altering the build file.
>
> ant -Dtask.javac.debug=true ......
>
> With a full language these may be more complex to do for users.
ant -preferencesfile withdebug.css ... ?
and in withdebug.css something like
javac {debug: on; optimize: off;}
or
ant -preferencesfile withdebug.ant ... ?
withdebug.ant:
<taskconfig task="javac">
<attribute name="debug" value="on" />
<attribute name="optimize" value="off" />
</taskconfig>
making up syntax here of course.
Doesn't look too difficult either.
Stefan