On 15 November 2010 08:27, <[email protected]> wrote: > Can you explain the problem this is fixing?
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. :-) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
