java - ant warning: "'includeantruntime' was not set" -
i receive following warning:
[javac] build.xml:9: warning: 'includeantruntime' not set, defaulting build.sysclasspath=last; set false repeatable builds
what mean?
ant runtime
simply set includeantruntime="false"
:
<javac includeantruntime="false" ...>...</javac>
if have use javac
-task multiple times might want consider using presetdef
define own javac
-task sets includeantruntime="false"
.
additional details
from http://www.coderanch.com/t/503097/tools/warning-includeantruntime-was-not-set:
that's caused misfeature introduced in ant 1.8. add attribute of name javac task, set false, , forget ever happened.
from http://ant.apache.org/manual/tasks/javac.html:
whether include ant run-time libraries in classpath; defaults yes, unless build.sysclasspath set. best set false script's behavior not sensitive environment in run.
Comments
Post a Comment