### Generating the build.xml file

Open one of the navigation views and locate your new plug-in project.

1. Select the file 'plugin.xml' underneath your new project and right-click PDE Tools > Create Ant Build File.
2. A new file, 'build.xml' will be created underneath your project.
3. Open the Ant editor on the build.xml file by double clicking it in one of the navigation views. Notice that for this file, the Ant editor is the default editor. This is because by default, there is a file association in the general preferences associating files named 'build.xml' with the Ant editor.

The build.xml file is a default Ant buildfile with many targets useful for deploying your plug-in. For example, there are individual targets to build all necessary jars for your plug-in, create a .zip file containing everything in your plug-in, cleanup any .zip files that may have been created and so on.

Now that we have the build.xml file, we will use it to build a .jar file for our plug-in.