【问题标题】:Ant-Contrib content assist in eclipseAnt-Contrib 内容辅助 Eclipse
【发布时间】:2012-10-01 14:12:00
【问题描述】:

我正在使用eclipse 中的一些ANT 构建脚本。

我刚刚安装了 eclipse 4.2。

当我使用旧版本的 Eclipse 时,ANT-contrib 的内容辅助功能正在运行。现在 4.2 无法正常工作。

我想知道如何在 Eclipse 中为 ant-contrib 获取内容辅助。

谢谢。

【问题讨论】:

    标签: eclipse ant ant-contrib


    【解决方案1】:

    answer 表示您需要在自己的 Ant 文件中以某种方式引用 ant-contrib 任务,并在 Eclipse 设置中激活某个首选项。

    【讨论】:

    • 如果您不介意将 ant-contrib-1.0b3.jar 添加到 Eclipse 中 Ant 类路径的 Global Entries 部分,您也可以避免设置类路径(Windows > Preferences > Ant > Runtime) .
    • 这不适用于 Eclipse 4.2。至少它对我不起作用。我的 ant 文件中已经有了这些东西。它在 3 系列日食中运行良好。但是现在我切换到 4.2 它不再工作了。
    猜你喜欢
    • 1970-01-01
    • 2013-07-05
    • 2012-05-29
    • 2017-06-28
    • 2011-09-13
    • 2014-10-03
    • 2011-01-29
    • 1970-01-01
    • 2017-03-04
    相关资源
    最近更新 更多