| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" | |
| content="text/html; charset=ISO-8859-1"> | |
| <meta http-equiv="Content-Style-Type" content="text/css"> | |
| <link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" | |
| type="text/css"> | |
| <title>Ant view</title> | |
| </head> | |
| <body bgcolor="#ffffff"> | |
| <h1> Ant view</h1> | |
| <p class="Para">The Ant view provides a place to view Ant buildfiles and makes it | |
| easy to execute a buildfile or a given target within a buildfile. You can add files | |
| to the view and expand buildfiles to reveal the targets defined within them.</p> | |
| <p>The pop-up menu for this view also allows you to open an editor on a | |
| buildfile, execute the selected target or buildfile, and configure the launch | |
| configuration used when executing.</p> | |
| <p class="Para"> Here is what the Ant view looks like:</p> | |
| <p class="Para"> <img align="top" border="0" | |
| src="../images/ant-view.gif" alt="Ant View"> | |
| </p> | |
| <div class="Topic"> | |
| <p>Like other views in the Workbench, the Ant view has its own | |
| toolbar. Toolbar buttons are provided for adding buildfiles to the view and for | |
| executing them.</p> | |
| <h2>Titlebar</h2> | |
| <h3>Add Buildfile</h3> | |
| <p class="Para">This command prompts you to select a buildfile in the workspace to be added to the view.</p> | |
| </div> | |
| <div class="Topic"> | |
| <h3>Add Buildfiles with Search</h3> | |
| <p class="Para">This command searches for buildfiles and adds them to the Ant view. You can | |
| specify a file name pattern to search for and limit the scope of the search.</p> | |
| </div> | |
| <div class="Topic"> | |
| <h3>Run the Default Target of the Selected Buildfile</h3> | |
| <p class="Para">This command runs the default target of the selected buildfile or the selected target. | |
| The buildfile is executed using the launch configuration associated with the buildfile. Note that the | |
| target execution is based on the selection in the view; the targets selected | |
| in the launch configuration are ignored.</p> | |
| </div> | |
| <div class="Topic"> | |
| <h3> Refresh View</h3> | |
| <p class="Para"> This command refreshes the contents of the Repositories view.</p> | |
| <h3>Collapse All</h3> | |
| <p class="Para"> This command collapses all expanded entries in the Repositories | |
| view.</p> | |
| </div> | |
| <h3 class="Para">Remove Selected Buildfile</h3> | |
| <p class="Para">This command removes the selected buildfiles from the view.</p> | |
| <h3 class="Para">Remove All Buildfiles</h3> | |
| <p class="Para">This command removes all buildfiles from the view.</p> | |
| <h2 class="Para">Context menu </h2> | |
| <p class="Para">The context menu contains a few actions in addition to the actions | |
| available in the toolbar. </p> | |
| <h3>Properties... </h3> | |
| <p class="Para"> This command brings up the launch configuration dialog to edit the | |
| configuration associated with the selected buildfile.</p> | |
| <h3>Open With > </h3> | |
| <p class="Para">This menu allows you to open an editor on the selected buildfile.</p> | |
| <p><img border="0" src="../images/ngrelc.gif" alt="Related concepts" | |
| width="159" height="27"> | |
| <br> | |
| <a href="../concepts/concepts-antsupport.htm">Ant support</a><br> | |
| <a href="../concepts/concepts-exttools.htm">External tools</a></p> | |
| <p><img border="0" src="../images/ngrelt.gif" alt="Related tasks" | |
| width="159" height="27"><br> | |
| <a href="../tasks/tasks-ant-running.htm">Running Ant buildfiles</a><br> | |
| <a href="../tasks/tasks-ant-classpath.htm">Modifying the Ant classpath</a><br> | |
| <a href="../tasks/tasks-ant-addtasksandtypes.htm">Adding new Ant tasks and types</a><br> | |
| <a href="../tasks/tasks-ant-version.htm">Using a different version of Ant</a></p> | |
| <p><img border="0" src="../images/ngrelr.gif" alt="Related reference" | |
| width="159" height="27"> | |
| <br> | |
| <a href="ref-antruntimeprefs.htm">Ant runtime preferences</a><br> | |
| <a href="ref-anteditor.htm">Ant Editor</a><br> | |
| <a href="ref-anticons.htm">External Tools and Ant icons</a> | |
| </p> | |
| <p><br> | |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" | |
| alt="Copyright IBM Corporation and others 2000, 2003" border="0" width="324" height="14"> | |
| </a> </p> | |
| </body> | |
| </html> |