[英]Generating Ant build file for a project in eclipse
I have a project written in Java using eclipse and I would like to generate an Ant build file for it. 我有一个使用eclipse编写的Java项目,我想为它生成一个Ant构建文件。 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. 我浏览过论坛,但仍然没有运气。
Thanks in advance. 提前致谢。
I have accidentally discovered the way to do it. 我不小心发现了这样做的方法。 It's quite simple: Right click on the project -> Export -> Ant build file :) 这很简单:右键单击项目 - >导出 - > Ant构建文件:)
您可以创建Ant构建文件并将其附加到Eclipse http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.user/gettingStarted/qs-81_basics.htm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.