Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "FAQ What is Ant?"

 
m
Line 1: Line 1:
Ant is a Java-based build tool created as part of the Apache
+
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 <tt>build.xml</tt>, created from a <tt>plugin.xml</tt> file for assembling a deployable version of your plug-in.
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 <tt>build.xml</tt>, created from a <tt>plugin.xml</tt> file for
+
assembling a deployable version of your plug-in.
+
  
The Ant UI as provided in Eclipse comes with a first-class
+
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 <tt>build.xml</tt> and can be associated with other file names from the '''Workbench &gt; File Associations''' preference page.
Ant build-file editor, including syntax highlighting, Content Assist, templates,  
+
and content formatting. This editor is automatically associated with files
+
named <tt>build.xml</tt> and can be associated with other file names
+
from the '''Workbench &gt; File Associations''' preference page.
+
  
The Ant UI also has a wizard for running Ant scripts and a toolbar button for  
+
The Ant UI also has a wizard for running Ant scripts and a toolbar button for repeating previous builds.
repeating previous builds.
+
  
For more details, such as how to run Ant scripts programmatically,  
+
For more details, such as how to run Ant scripts programmatically, refer to <i>Platform Plug-in Developer Guide</i> under '''Programmer&#146;s Guide &gt; Platform Ant Support'''.
refer to <i>Platform Plug-in Developer Guide</i> under
+
'''Programmer&#146;s Guide &gt; Platform Ant Support'''.
+
  
 
== See Also: ==
 
== See Also: ==
 
+
*[http://ant.apache.org Apache Ant]
Apache Ant,
+
*[[FAQ What is the use of the build.xml file?]]
[[FAQ_What_is_the_use_of_the_%3Ctt%3Ebuild.xml%3C%2Ftt%3E_file%3F]]
+
  
 
<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>
 
<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>

Revision as of 22:27, 29 May 2006

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&#146;s Guide > Platform Ant Support.

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.

Back to the top