blob: ab8b27e9bc79c5561eeddf52964c0511d5bbee59 [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">
<link rel="STYLESHEET" href="../book.css" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script>
<title>General Ant Preferences</title>
</head>
<body>
<h1>General Ant Preferences</h1>
<p>
You can change the following preferences on the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ant.ui.AntPreferencePage)")'><img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="command link"><strong>Ant</strong></a> preference page.
</p>
<table border="1" cellspacing="0" cellpadding="5" width="80%">
<thead>
<tr>
<th width="25%">Option</th>
<th>Description</th>
<th width="8%">Default</th>
</tr>
</thead>
<tbody>
<tr >
<td>Names</td>
<td>Configures the buildfiles that Ant's "-find" emulation searches for.</td>
<td align="center">build.xml</td>
</tr>
<tr >
<td>Separate JRE Timeout</td>
<td>The time in milliseconds to wait for communication with the Java virtual machine when running an Ant build in a separate Java runtime environment.</td>
<td align="center">20000</td>
</tr>
<tr >
<td>Documentation URL</td>
<td>Enables you to browse for the applicable documentation URL.</td>
<td align="center"><a href="http://ant.apache.org/manual" target="_blank">http://ant.apache.org/manual</a></td>
</tr>
<tr >
<td>Always run new Ant configurations in the same JRE as the workspace</td>
<td>Allows you to automatically always have all new Ant launch configurations set to run in the same JRE as the workspace.</td>
<td align="center">Off</td>
</tr>
<tr >
<td>Warn when tools.jar is not on the classpath</td>
<td>Displays a warning when tools.jar is not on the classpath.</td>
<td align="center">On</td>
</tr>
<tr >
<td>Show error dialog when Ant build fails</td>
<td>Displays an error message when the Ant build fails.</td>
<td align="center">On</td>
</tr>
<tr >
<td>Create problem markers from <code>javac</code> results</td>
<td>Create warning and error markers from the build results of an Ant <code>javac</code> task. Marker creation requires that a console is allocated for the build and that the <code>listfiles</code> attribute of the <code>javac</code> task be set to true.</td>
<td align="center">Off</td>
</tr>
<tr >
<td>Ant Color Options</td>
<td>Configures the colors of the Ant build output.</td>
<td align="center">Varies by Ant output</td>
</tr>
</tbody>
</table>
<p>
The Ant preference page:
<br><br>
<img src="../images/ant_prefs.png" alt="Ant preference page" border="0">
</p>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0"><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="../reference/ref-antruntimeprefs.htm">Ant runtime 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-anttemplates.htm">Ant templates preferences</a>
</p>
</body>
</html>