- ANT - Listeners and Loggers
- ANT - Custom Components
- ANT - Using If Else arguments
- ANT - Using Command Line Arguments
- ANT - Using Token
- ANT - Extending Ant
- ANT - JUnit Integration
- ANT - Eclipse Integration
- ANT - Executing Java code
- ANT - Deploying Applications
- ANT - Packaging Applications
- ANT - Create WAR Files
- ANT - Creating JAR files
- ANT - Build Documentation
- ANT - Building Projects
- ANT - Data Types
- ANT - Property Files
- ANT - Property Task
- ANT - Build Files
- ANT - Environment Setup
- ANT - Introduction
- ANT - Home
Apache ANT Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Ant - Ecppse Integration
If you have downloaded and installed Ecppse already, you have very pttle to do to get started. Ecppse comes pre bundled with the Ant plugin, ready to use.
Follow the simple steps, to integrate Ant into Ecppse.
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 the one given below −
Cpcking on the targets, build / clean / usage will run Ant with the target.
Cpcking "fax" will execute the default target - usage.
The Ant Ecppse 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 cpck your build.xml (from the Project Explorer) and select Open with > Ant Editor. The Ant editor should look something similar to−
The Ant editor psts the targets on the right hand side. The target pst serves as a bookmark that allows you to jump straight into editing a particular target.
Advertisements