美文网首页
ant编译中出现“includeantruntime was n

ant编译中出现“includeantruntime was n

作者: 火星人想回火星 | 来源:发表于2017-06-11 19:44 被阅读0次

    1.对于includeAntRuntime属性,官方的解释如下:

    Whether to include the Ant run-time libraries in the classpath; defaults to yes, unless build.sysclasspath is set. It is usually best to set this to false so the script's behavior is not sensitive to the environment in which it is run.

    2.此警告在较早的ant版本中可能不会出现。

    <javac includeantruntime="false" srcdir="${src.dir}" destdir="${classes.dir}" />

    相关文章

      网友评论

          本文标题:ant编译中出现“includeantruntime was n

          本文链接:https://www.haomeiwen.com/subject/mcxkqxtx.html