blob: c5f2785ce2b7c4d471cf69bd49e23ea871b22598 [file]
<!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>Creating Ant buildfiles</title>
</HEAD>
<BODY BGCOLOR="#ffffff">
<h3>Creating Ant buildfiles</h3>
<P CLASS="Para"> Ant buildfiles are just text files, so the most straightforward
way to create an Ant buildfile in Eclipse is:</P>
<ol>
<li><b>File &gt; New &gt; File</b>.</li>
<li>Enter any name for the file, but make sure it has a .xml extension.</li>
<li>Click <b>Finish</b>.</li>
</ol>
<p>As long as the file has a .xml extension, Eclipse will consider it to be a
possible Ant buildfile, and will enable Ant-related actions when it is selected.</p>
<p>As we will see in a later section, you can create an Ant buildfile for an Eclipse
plug-in that contains predefined targets related useful for deploying the plug-in.</p>
<P>
<a href="../hglegal2003.htm">
<img src="../images/ngibmcpy2003.gif" alt="Copyright IBM Corporation 2000, 2003. All Rights Reserved." border="0" width="324" height="14"></a>
</P>
</BODY>
</HTML>