1

我可以使用以下内容:

<fileset dir="C:\Program Files\eclipse\plugins\myplugin">
    <include name="extraStuff.jar" />
</fileset>

但这会破坏未将 eclipse 安装到默认文件夹中的其他人的 PC 上的构建文件。

在我的情况下,如果没有硬文件夹引用,我就不能使用basedir 。

Eclipse 安装文件夹是否有“快捷方式”,我可以从 Eclipse 中运行的 ant 中使用它?

4

1 回答 1

4

您可以使用 getOutputPath。看看这个

于 2008-11-06T07:58:08.743 回答