ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: -emacs flag ??
Date Thu, 01 Mar 2001 09:44:03 GMT
Jose Alberto Fernandez <j_a_fernandez@yahoo.com> 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

Mime
View raw message