Eclipse ==> Ant plugin?

Viewed 71256

Can anybody please tell me how i can add the ant plugin to eclipse? Thanks

5 Answers

Ant core is part of every Eclipse install but not the UI, that's part of the JDT package. However we can install the Ant UI (view + editor) component directly using Eclipse's P2 director through the command line as follows:

    $ cd <your eclipse install folder>
    $ ./eclipse -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/releases/kepler -installIU org.eclipse.ant.ui
    Installing org.eclipse.ant.ui 3.5.400.v20130514-1341.
    Operation completed in 19162 ms.

Note: make sure you adjust the '-repository' argument in the command to match your Eclipse release. The above will install the version from the Kepler release, even when running with Luna or Mars. If you accidentally installed the wrong version, uninstall it first by replacing '-installIU' with '-uninstallIU'. Otherwise installing the newer version will fail.

Ant UI Installed

First Open Eclipse...then Follow steps...

  1. Go to Help --> Install New Software...
  2. You find Field ... Work With ... Paste Below Link and Press Enter... http://www.apache.org/dist/ant/ivyde/updatesite
  3. Now You Got : 1. Apache Ivy library and 2. Apache IvyDE Eclipse plugins ... choose select all option.

  4. click Next and Agree and Finish

Enjoy Ant Apache Plugin...

Related