【问题标题】:Is there a way to output the ant version to the console if running ant build from Eclipse如果从 Eclipse 运行 ant build,有没有办法将 ant 版本输出到控制台
【发布时间】:2011-02-26 17:35:59
【问题描述】:

我想在使用 Ant 构建时将 ant 版本信息嵌入到控制台输出中。有办法吗?

【问题讨论】:

    标签: java eclipse ant


    【解决方案1】:

    试试

    <echo>${ant.version}</echo>
    

    在你的构建文件中

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-29
      • 1970-01-01
      • 2012-04-30
      • 2012-06-03
      • 2012-05-16
      • 1970-01-01
      相关资源
      最近更新 更多