blob: d8ed2ae05973f9cafd88b9aff0c3599667c2cc94 [file] [log] [blame]
<!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">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script>
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Ant Templates Preference</title>
</head>
<body>
<h1>Ant Templates Preferences</h1>
<p>
The following preferences can be changed on the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ant.ui.TemplatesPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="command link"><strong>Ant &gt; Editor &gt; Templates</strong></a>
preference page.
</p>
<p>
You can use the Templates preferences to create, edit, remove, import existing templates, restore removed templates and revert
to the default templates. The preview pane enables you to see what your new or
edited template will look like before applying your changes.
</p>
<table border="1" cellspacing="0" width="80%">
<thead>
<tr>
<th width="25%">Option</th>
<th>Description</th>
<th width="8%">Default</th>
</tr>
</thead>
<tbody>
<tr>
<td>New...</td>
<td>Allows you to add a new template.</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>Edit...</td>
<td>Allows you to edit an existing template. Changes to a template can be viewed in the Preview Pane before they are applied.</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>Remove</td>
<td>Allows you to remove and existing template. A removed template can be restored by using Restore Removed or by re-importing the template (if
it was imported initially).</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>Restore Removed</td>
<td>Allows you to add a new classpath variable to the Ant Home and / or Global sections.</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>Revert to Default</td>
<td>Allows you to revert changes to a selected template back to their factory defaults</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>Import...</td>
<td>Allows you to import template(s) from a selected <code>*.xml</code> file.</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>Export...</td>
<td>Allows you to export the currently selected set of templates to an <code>xml</code> file in the local filesystem.</td>
<td align="center">&nbsp;</td>
</tr>
</tbody>
</table>
<p>
Here is what the Ant Templates preference page looks like:
</p>
<p>
<img src="../images/ant_templates.png" alt="Ant Templates preference page" border="0">
</p>
<p>
<img border="0" src="../images/ngrelc.png" alt="Related concepts"><br>
<a href="../concepts/concepts-antsupport.htm">Ant support</a>
</p>
<p>
<img border="0" src="../images/ngrelr.png" alt="Related reference"><br>
<a href="ref-anteditor.htm">Ant Editor preferences</a><br>
<a href="../reference/ref-antprefs.htm">General Ant preferences</a><br>
<a href="../reference/ref-anteditorprefs.htm">Ant editor preferences</a><br>
<a href="../reference/ref-antformatter.htm">Ant formatter preferences</a><br>
<a href="../reference/ref-antruntimeprefs.htm">Ant runtime preferences</a>
</p>
</body>
</html>