Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用以下内容:
<fileset dir="C:\Program Files\eclipse\plugins\myplugin"> <include name="extraStuff.jar" /> </fileset>
但这会破坏未将 eclipse 安装到默认文件夹中的其他人的 PC 上的构建文件。
在我的情况下,如果没有硬文件夹引用,我就不能使用basedir 。
Eclipse 安装文件夹是否有“快捷方式”,我可以从 Eclipse 中运行的 ant 中使用它?
您可以使用 getOutputPath。看看这个。