ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chet Hosey <ChetHo...@gmail.com>
Subject Re: warning: 'includeantruntime' was not set
Date Thu, 19 Aug 2010 15:19:22 GMT
On Thu, Aug 19, 2010 at 5:16 AM, Karsten Wutzke <kwutzke@web.de> 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message