On Mon, Nov 15, 2010 at 12:30 PM, Hilco Wijbenga <[email protected]> wrote: > See > http://ant.1045680.n5.nabble.com/warning-includeantruntime-was-not-set-td2639463.html > for more details. > > In short, by default Ant includes its own JARs on <javac>'s classpath. > This means the effective classpath depends on where the build is being > run. (I.e. it depends on what version of Ant you're running, which > extra JARs you've added, etcetera.) This means the build result will > most likely be different on different machines. To guarantee a > repeatable build, the build should set the classpath, not Ant. By > adding includeantruntime="false" we say that *we* will take care of > the classpath and that Ant should not just dump everything there. > > It's like saying "no" to global variables. :-)
When was that attribute added? We still have people using ant 1.6.5, so if older ants will fail we can't add that attribute. -- John A. Tamplin Software Engineer (GWT), Google -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
