51Testing软件测试论坛

标题: 有关ant的 [javac] warning: 'includeant runtime' was not set [打印本页]

作者: holfy    时间: 2010-3-2 17:08
标题: 有关ant的 [javac] warning: 'includeant runtime' was not set
命令行输出如下:
E:\eclipse\Workspace\NB\src>ant
Buildfile: E:\eclipse\Workspace\NB\src\build.xml

clean:
   [delete] Deleting directory E:\eclipse\Workspace\NB\build
\jar
   [delete] Deleting directory E:\eclipse\Workspace\NB\build
\classes

init:
    [mkdir] Created dir: E:\eclipse\Workspace\NB\build\jar
    [mkdir] Created dir: E:\eclipse\Workspace\NB\build\class
es

compile_regressor:
    [javac] E:\eclipse\Workspace\NB\src\build.xml:27: warnin
g: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set t
o false for repeatable builds
    [javac] Compiling 53 source files to E:\eclipse\Workspace\NB\build\classes
    [javac] 注意:某些输入文件使用或覆盖了已过时的 API。
    [javac] 注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
    [javac] 注意:某些输入文件使用了未经检查或不安全的操作。
    [javac] 注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。

jar_regressor:
      [jar] Building jar: E:\eclipse\Workspace\NB\build\jar\
regressor.jar

BUILD SUCCESSFUL
Total time: 15 seconds
该warning对操作有无重要影响?
请高手赐教该如何解决!
偶不胜感激




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2