warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=l

ant编译源代码的时候遇到这样的问题,

warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=l

google后发现只需要这样设置就可以了,

<javac fork="true" executable="C:\Program Files\Java\jdk1.6.0_02\bin\javac"
            debug="true" includeantruntime="on"
   srcdir="${basedir}/src/com/frs" destdir="${basedir}/install/WEB-INF/classes" 
classpath="${classpath}"/>

你可能感兴趣的:(TO,warning,defaulting,build.,includeantru)