Generating Ant build file for a project in eclipse

2019-03-26 08:32发布

问题:

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.

Thanks in advance.

回答1:

I have accidentally discovered the way to do it. It's quite simple: Right click on the project -> Export -> Ant build file :)



回答2:

You can create Ant build file and attach it to Eclipse http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.user/gettingStarted/qs-81_basics.htm



标签: java eclipse ant