Apache Ant Tutorial - Eclipse Integration
Tutorial Name: Apache Ant Tutorial - Eclipse Integration
Category: PC Miscellaneous
Submitted By: Mooneye
If you have downloaded and installed Eclipse already, you have very little to do to get started. Eclipse comes pre bundled with the Ant plugin, ready to use.
Follow the simple steps, to integrate Ant into Eclipse.
Make sure that the build.xml is a part of your java project, and does not reside at a location that is external to the project.
Enable Ant View by following Window > Show View > Other > Ant > Ant.
Open Project Explorer, drag the build.xml into the Ant View.
Your Ant view looks similar to
Clicking on the targets, build / clean / usage will run Ant with the target.
Clicking "fax" will execute the default target - usage.
The Ant Eclipse plugin also comes with a good editor for editing build.xml files. The editor is aware of the build.xml schema and can assist you with code completion.
To use the Ant editor, right click your build.xml (from the Project Explorer) and select Open with > Ant Editor. The Ant editor should look something similar to
The Ant editor lists the targets on the right hand side. The target list serves as a bookmark that allows you to jump straight into editing a particular target.
- 01. Apache Ant Tutorial - Introd... (137)
- 02. Apache Ant Tutorial - Enviro... (135)
- 03. Apache Ant Tutorial - Creati... (159)
- 04. Apache Ant Tutorial - Buildi... (121)
- 05. Apache Ant Tutorial - Proper... (112)
- 06. Apache Ant Tutorial - Proper... (118)
- 07. Apache Ant Tutorial - Data T... (112)
- 08. How to format a SD Card on Wi... (98)
- 09. How to format a SD Card on M... (109)
- 10. Apache POI PPT Tutorial - Sl... (105)
- 11. Apache POI PPT Tutorial - In... (141)
- 12. Apache POI PPT Tutorial - Ja... (155)
- 13. Apache POI PPT Tutorial - Cl... (255)
- 14. Apache POI PPT Tutorial - Pr... (143)
- 15. Apache Ant Tutorial - JUnit... (117)