Comment 18 for bug 134537

Revision history for this message
Adrian Weiler (0-launchpad-aweiler-com) wrote :

Hi...

The eclipse-cpp (Eclipse IDE for C/C++ developers) distribution has a broken ANT support at least since the Europa release.

Symptom: In Eclipse, under Window->Preferences, there is no category "Ant".

Diagnosis: only the the plugin "org.eclipse.ant.core" is provided. "org.eclipse.ant.ui" is missing.
I had this both on Linux (Debian) and Windows after installing eclipse-cpp.

Solution:
- Don't use the eclipse-cpp distribution. Take the "Eclipse Classic" distribution from http://www.eclipse.org/downloads/ instead and install the C/C++ support manually. Then you will have both C/C++ and a working ANT.

- if you don't want to replace your existing installation, you can still download the "classic" distribution (just 151MB ;-), and extract the JARs missing in the "cpp" distribution from there (version numbers apply to the current Ganymede release):

eclipse/plugins/org.eclipse.ant.ui_3.3.0.v20080529.jar
eclipse/plugins/org.eclipse.jdt.core_3.4.2.v_883_R34x.jar
eclipse/plugins/org.eclipse.jdt.debug.ui_3.3.1.v20080730_r341.jar
eclipse/plugins/org.eclipse.jdt.launching_3.4.1.v20080729_r341.jar
eclipse/plugins/org.eclipse.jdt.core.manipulation_1.2.0.v20080603-2000.jar
and the following directory
eclipse/plugins/org.eclipse.jdt.debug_3.4.0.v20080604/

The first JAR is what's obviously missing, and the others are it's dependencies.

Hope that helps for all those who had to say "does not work for me".

Cheers,
Adrian