| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en-us" xml:lang="en-us"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ --> |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wtp.doc.user/common.css" /> |
| |
| <title>Ant support</title> |
| </head> |
| <body id="cjant"><a name="cjant"><!-- --></a> |
| <h1 class="topictitle1">Ant support</h1> |
| <div><p>This topic provides an overview of the Ant support provided in |
| the workbench.</p> |
| <p>Ant is a Java-based build tool that is a project of the Jakarta Apache |
| project. It is similar to Make, except that instead of using operating system |
| shell-based commands, it uses Java™ classes to perform its operations. |
| The build scripts are XML files containing targets and specifying the tasks |
| (operations) required for each. Ant comes with a large number of built-in |
| tasks sufficient to perform many common build operations. You can learn about |
| them in the <a href="http://jakarta.apache.org/ant/manual/index.html" target="_blank">Ant user manual</a> on the Jakarta Apache Web site.</p> |
| <p>Because Ant is Java-based, it is platform-independent. It is well suited |
| for building Java applications, but can be used for other build tasks |
| as well. One of its important features is that you can use Java to |
| write new Ant tasks to extend production build capabilities. </p> |
| <p>The com.ibm.etools.j2ee.ant plugin contains the following resources:</p> |
| <ul><li>A <samp class="codeph">readme.htm</samp> file</li> |
| <li>An example <samp class="codeph">runAnt.bat</samp> file. Use this file to start a |
| "headless" workspace and run the Ant build script.</li> |
| <li>An <samp class="codeph">example.xml</samp> file. This file shows examples of some |
| of the J2EE tasks included in the plugin.</li> |
| </ul> |
| <p>Several sources of Ant information are available from the Jakarta Apache |
| Ant Project. To learn more about Ant, follow the links below:</p> |
| <ul><li><a href="http://jakarta.apache.org/ant/manual/index.html" target="_blank">Ant user manual</a></li> |
| <li><a href="http://jakarta.apache.org/site/mail.html" target="_blank">Ant |
| user mail list</a></li> |
| <li><a href="http://marc.theaimsgroup.com/?l=ant-user" target="_blank">Ant |
| user mail list archives</a></li> |
| <li><a href="http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg246134.pdf" target="_blank">WebSphere<sup>®</sup> Version 4.0 Application Development Handbook</a>: |
| Chapter 9 explains how to use Ant to build a WebSphere application.</li> |
| <li><a href="http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-ant_p.html" target="_blank">Automate your build process using Java and Ant</a>: JavaWorld™ article</li> |
| <li><a href="http://www.onjava.com/pub/a/onjava/2001/02/22/open_source.html" target="_blank">Open Source Java: Ant</a>: onjava.com article</li> |
| </ul> |
| <p>More information about Ant and how to use it with the workbench can be |
| found in the following series of articles:</p> |
| <ul><li><a href="http://www7b.software.ibm.com/wsdd/library/techarticles/0203_searle/searle1.html" target="_blank">Using Ant with WebSphere Studio Application Developer: |
| Part 1 of 3</a></li> |
| <li><a href="http://www7b.software.ibm.com/wsdd/library/techarticles/0203_searle/searle2.html" target="_blank">Using Ant with WebSphere Studio Application Developer: |
| Part 2 of 3</a></li> |
| <li><a href="http://www7b.software.ibm.com/wsdd/library/techarticles/0203_searle/searle3.html" target="_blank">Using Ant with WebSphere Studio Application Developer: |
| Part 3 of 3</a></li> |
| </ul> |
| </div> |
| <div> |
| <div class="familylinks"> |
| <div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/tjant.html">Working with Ant</a></div> |
| </div> |
| </div></body> |
| </html> |