【问题标题】:How to write classpath info to jar by using Ant如何使用 Ant 将类路径信息写入 jar
【发布时间】:2011-07-04 05:26:21
【问题描述】:

使用 Ant,如何将类路径信息写入 jar。任何人都可以展示如何做到这一点?

【问题讨论】:

    标签: ant


    【解决方案1】:

    如果您想将类路径写入 jar 中的清单,请使用 manifestclasspath 任务。

    查看以下问题:Generate manifest class-path from <classpath> in ant 了解更多详情。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-01
      • 1970-01-01
      • 2012-05-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多