|
11.4. Using the Ant View Eclipse comes with a dedicated view for working with Antcalled the Ant viewwhich is a window that gives you an overview of the targets in build files. To open this view, select Window Figure 11-12. The Ant view![]() The toolbar in this view contains these buttons (from left to right):
To add a build file to the Ant view, click the Add Build Files button, opening the Choose Location dialog. In the left box, select the Eclipse project you want to use, and in the right box, select the build file you want to add to the Ant view. Click OK, adding the build file to the Ant view.
Besides giving you an overview of a build file, the Ant view lets you run build files. Select a build file in the Ant view and click the Run the Default Target button. Or right-click a target and select the Run item in the context menu that appears. Double-clicking a build file in the Ant view opens it in the Ant editor (as does right-clicking the build file and selecting the Open With Using Ant with Eclipse is a potent combination. Eclipse allows you to develop and debug code, and Ant lets you build and deploy it. Both of these tools are free for the downloading. It's a combination I recommend. |
|