开发者

Getting ANT view for Eclipse IDE for JavaScript Web Developers

I use the Eclipse IDE for JavaScript Web Developers from the Eclipse downloads page, but I just discovered that it doesn't include an ANT view, which the Eclipse classic v开发者_开发百科ersion provides. So how do I get the ANT view for the "Eclipse IDE for JavaScript Web Developers" version of Eclipse?


I just installed Eclipse Classic, then added the Eclipse Web Tools Platform as a plugin.


If you don't want to reinstall eclipse, you can instead install "Java Development Tools"

  1. In Eclipse go to Help -> Software Updates -> Available Software
  2. Select Java Development Tools and install it
  3. Restart Eclipse

source: http://www.christian-kalmar.com/activating-missing-ant-plugin-in-pdt-eclipse/


Rather than installing the entire JDT package we can install the ANT UI 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.

Getting ANT view for Eclipse IDE for JavaScript Web Developers


I've noticed that some of the builds don't include all of the Ant tools. I'm not sure how to install them manually. So I usually just get the J2EE build (which has them) and install everything else I need from the update sites.


Right click file. Choose Open As. In Show View Choose Ant.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜