How to generate build.xml for a new java project?

kanap008 picture kanap008 · Jun 21, 2011 · Viewed 57.2k times · Source

I am learning about build.xml file for ant build. I have a simple "Hello World" project in Eclipse.

Is there any way to generate a build.xml file in Eclipse for this project?

Thanks in Advance.

Answer

lobster1234 picture lobster1234 · Jun 21, 2011

Yes - click on File -> Export -> General -> Ant Buildfiles and specify the file name, project, etc.