On Thu, Aug 19, 2010 at 5:16 AM, Karsten Wutzke <[email protected]> wrote:
> +1 for giving up the policy of keeping stupid historical defaults. :-) 
> Seriously, it doesn't make sense for this issue to keep it. But I doubt this 
> will be realized.
>
> Karsten

Perhaps the <project> tag could be given a "behavior" attribute that
would allow change over time. With none given, Ant would use
historical defaults. Other defaults could be used when it was
specified.

For example, setting project behavior to 1.8.2 or above would cause
javac to default to includeantruntime="False". But with no behavior
attribute, or behavior <= 1.8.1, the historical defaults would apply.

Optionally, a magic value of behavior="sane" would cause Ant to use
its own "native" defaults. This would mollify those willing to risk
behavior changes across Ant upgrades to get reasonable defaults.

Thoughts?

-- Chet Hosey

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to