Tuesday, September 14, 2010

How to make a Build.xml in Eclipse ?

Making a Build.xml in eclipse is very easy and it can be done in just a few button clicks.

After you have made the project and kept all the source files in the src folder do the following steps to make a build.xml .

  • Right click on the Project folder and click on Export.
  • Click on General which has a option Ant Buildfiles.
  • Click next and select the project for which you have to make a Build.xml .
  • This will create the Build.xml.
Now if you want to clean or build the project do the following steps:
  • Right Click on the the Build.xml file and click on Run As.
  • Click the Ant Build.. option which will take you to Edit configuration and launch.
  • You can select target to execute.
Video Reference : https://eclipse-tutorial.dev.java.net/visual-tutorials/generatingantbuildfile.html

No comments:

Post a Comment