Eclipse ==> Ant plugin?

前端 未结 5 1497
攒了一身酷
攒了一身酷 2021-01-01 12:17

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

5条回答
  •  情歌与酒
    2021-01-01 12:44

    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 
        $ ./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

提交回复
热议问题