1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<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>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
</head>
<body>
<h1> Ant View</h1>
<p>
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>
Here is what the Ant view looks like:
</p>
<p>
<img align="top" border="0" src="../images/ant_view.png" alt="Ant View">
</p>
<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>
<p>
To add the Ant view to the current perspective, click
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ant.ui.views.AntView)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="command link">
<b>Window > Show View > Other... > Ant > Ant</b></a>.
</p>
<table border="1" cellpadding="5" cellspacing="0" summary="The commands available in the Ant View">
<caption>Ant View Commands</caption>
<thead>
<tr>
<th width="1%" colspan="1" rowspan="1"> <p> Command </p></th>
<th width="20%" colspan="1" rowspan="1"> <p> Name </p></th>
<th colspan="1" rowspan="1"> <p> Description </p></th>
<th width="15%" colspan="1" rowspan="1"> <p> Availability </p></th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/clcl16/add_co.png" alt="Add Buildfiles view and context menu command"></td>
<td colspan="1" valign="top" align="left">Add Buildfiles</td>
<td colspan="1" valign="top" align="left">Allows you to add buildfile(s) to the view.</td>
<td colspan="1" valign="top" align="left">View action and context menu</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/clcl16/search.png" alt="Add Buildfiles with Search view toolbar command"></td>
<td colspan="1" valign="top" align="left">Add Buildfile with Search</td>
<td colspan="1" valign="top" align="left">Allows you to add buildfile(s) to the view using searching tools.</td>
<td colspan="1" valign="top" align="left">View action</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/clcl16/filter_internal_targets.png" alt="Hide Internal Targets view toolbar command"></td>
<td colspan="1" valign="top" align="left">Hide Internal Targets</td>
<td colspan="1" valign="top" align="left">Allows you to hide / filter all internal targets from the view.</td>
<td colspan="1" valign="top" align="left">View action</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/clcl16/run_tool.png" alt="Run Selected Target view toolbar command"></td>
<td colspan="1" valign="top" align="left">Run Selected Target</td>
<td colspan="1" valign="top" align="left">Allows you to run the selected target in the view.</td>
<td colspan="1" valign="top" align="left">View action</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/clcl16/remove_co.png" alt="Remove Selected Buildfile view toolbar and context menu command"></td>
<td colspan="1" valign="top" align="left">Remove Selected Buildfile</td>
<td colspan="1" valign="top" align="left">Allows you to remove the selected buildfile from the view.</td>
<td colspan="1" valign="top" align="left">View action and context menu</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/clcl16/removeAll_co.png" alt="Remove All Buildfiles view toolbar and context menu command"></td>
<td colspan="1" valign="top" align="left">Remove All Buildfiles</td>
<td colspan="1" valign="top" align="left">Allows you to quickly remove all buildfiles from the view.</td>
<td colspan="1" valign="top" align="left">View action and context menu</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"> </td>
<td colspan="1" valign="top" align="left">Open With ></td>
<td colspan="1" valign="top" align="left">Allows you to open an editor on the selected buildfile.</td>
<td colspan="1" valign="top" align="left">Context menu</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/clcl16/refresh.png" alt="Refresh Buildfiles context menu command"></td>
<td colspan="1" valign="top" align="left">Refresh Buildfiles</td>
<td colspan="1" valign="top" align="left">Refreshes the contents of the view to reflect the current state of all the represented buildfiles.</td>
<td colspan="1" valign="top" align="left">Context menu</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/obj16/ant.png" alt="Run As > Ant Build context menu command"></td>
<td colspan="1" valign="top" align="left">Run As > Ant Build</td>
<td colspan="1" valign="top" align="left">Launches an Ant build for the selected buildfile or for a specific selected target of the buildfile in Run mode.</td>
<td colspan="1" valign="top" align="left">Context menu</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/obj16/ant.png" alt="Run As > Ant Build... context menu command"></td>
<td colspan="1" valign="top" align="left">Run As > Ant Build...</td>
<td colspan="1" valign="top" align="left">Brings up the launch configuration dialog to edit the configuration associated with the selected buildfile in Run mode.</td>
<td colspan="1" valign="top" align="left">Context menu</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/obj16/ant.png" alt="Debug As > Ant Build context menu command"></td>
<td colspan="1" valign="top" align="left">Debug As > Ant Build</td>
<td colspan="1" valign="top" align="left">Launches an Ant build for the selected buildfile or for a specific selected target of the buildfile in Debug mode.</td>
<td colspan="1" valign="top" align="left">Context menu</td>
</tr>
<tr>
<td colspan="1" valign="top" align="left"><img src="../images/org.eclipse.ui.externaltools/obj16/ant.png" alt="Debug As > Ant Build... context menu command"></td>
<td colspan="1" valign="top" align="left">Debug As > Ant Build...</td>
<td colspan="1" valign="top" align="left">Brings up the launch configuration dialog to edit the configuration associated with the selected buildfile in Debug mode.</td>
<td colspan="1" valign="top" align="left">Context menu</td>
</tr>
</tbody>
</table>
<p>
<img border="0" src="../images/ngrelc.png" alt="Related concepts"><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.png" alt="Related tasks"><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.png" alt="Related reference"><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>
</body>
</html>
|