ANT问题:warning: ‘includeantruntime’ was not set

凉白开 运维工具ANT问题:warning: ‘includeantruntime’ was not set已关闭评论11,655字数 471阅读1分34秒阅读模式

公司的麻将版本又更新了,svn检出最新的文件,接着打包吧。Ant编译的时候也没出现什么问题,只是一直会有一个warning。今天特别想解决掉。现在ANT也不知道多少版本了,不过版本在更新整个问题还是同样存在. 配置不当必然出现这个问题.

具体错误如下图:文章源自运维生存时间-https://www.ttlsa.com/tools/ant-warning-includeantruntime-was-not-set/

ant

ANT not set

可以看到在build.xml的24行报错,24行代码如下:文章源自运维生存时间-https://www.ttlsa.com/tools/ant-warning-includeantruntime-was-not-set/

<javac srcdir="D:\ANT\MJ" destdir="class" >

把上面代码改成文章源自运维生存时间-https://www.ttlsa.com/tools/ant-warning-includeantruntime-was-not-set/

<javac srcdir="D:\ANT\MJ" destdir="class" includeantruntime="on">

重新ant:文章源自运维生存时间-https://www.ttlsa.com/tools/ant-warning-includeantruntime-was-not-set/

ant

ant

问题解决了文章源自运维生存时间-https://www.ttlsa.com/tools/ant-warning-includeantruntime-was-not-set/

站点:运维生存时间   文章网址:https://www.ttlsa.com/html/3483.html文章源自运维生存时间-https://www.ttlsa.com/tools/ant-warning-includeantruntime-was-not-set/ 文章源自运维生存时间-https://www.ttlsa.com/tools/ant-warning-includeantruntime-was-not-set/

weinxin
我的微信
微信公众号
扫一扫关注运维生存时间公众号,获取最新技术文章~
凉白开
  • 本文由 发表于 24/10/2013 10:17:12
  • 转载请务必保留本文链接:https://www.ttlsa.com/tools/ant-warning-includeantruntime-was-not-set/
  • ant
  • includeantruntime