在 Eclipse 中为项目生成 Ant 构建文件 [英] Generating Ant build file for a project in eclipse
问题描述
我有一个使用 Eclipse 用 Java 编写的项目,我想为它生成一个 Ant 构建文件.怎么做到呢?我经常需要保持它与源代码同步,以便在修改项目结构时可以将它与代码一起推送到公共存储库.
I have a project written in Java using eclipse and I would like to generate an Ant build file for it. How can it be done? I constantly need to keep it synchronized with the source code, so that I could promote it along with the code to the common repository when with the project structure is modified.
我很抱歉问这样一个愚蠢的问题.我浏览了论坛,但仍然没有运气.
I'm sorry for a stupid question like this. I've browsed across the forums, but still no luck.
提前致谢.
推荐答案
我无意中发现了这样做的方法.这很简单:右键单击项目 -> 导出 -> Ant 构建文件 :)
I have accidentally discovered the way to do it. It's quite simple: Right click on the project -> Export -> Ant build file :)
这篇关于在 Eclipse 中为项目生成 Ant 构建文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!