Difference between revisions of "FAQ What is Ant?"

From Eclipsepedia

Jump to: navigation, search
m
(See Also:)
 
Line 11: Line 11:
 
*[[FAQ What is the use of the build.xml file?]]
 
*[[FAQ What is the use of the build.xml file?]]
  
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>
+
{{Template:FAQ_Tagline}}

Latest revision as of 14:04, 30 May 2013

Ant is a Java-based build tool created as part of the Apache open-source project. You can think of it as a Java version of make. Ant scripts have a structure and are written in XML. Similar to make, Ant targets can depend on other targets. For example, Ant is used in the context of plug-in development in the build.xml, created from a plugin.xml file for assembling a deployable version of your plug-in.

The Ant UI as provided in Eclipse comes with a first-class Ant build-file editor, including syntax highlighting, Content Assist, templates, and content formatting. This editor is automatically associated with files named build.xml and can be associated with other file names from the Workbench > File Associations preference page.

The Ant UI also has a wizard for running Ant scripts and a toolbar button for repeating previous builds.

For more details, such as how to run Ant scripts programmatically, refer to Platform Plug-in Developer Guide under Programmer’s Guide > Platform Ant Support.

[edit] See Also:


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.