As an alternative, you could add the missing plugins to your packaged install of eclipse. Below you can see how I did that on my ubuntu feisty. Make sure to check the version numbers in the plugin's names.
1. Download eclipse and copy the org.eclipse.jdt.apt.core and org.eclipse.jdt.apt.ui to /usr/lib/eclipse/plugins
2. Add the sections below to /usr/lib/eclipse/features/org.eclipse.jdt_3.2.2.r322_v20070104-R4CR0Znkvtfjv9-/features.xml
<plugin
id="org.eclipse.jdt.apt.core"
download-size="0"
install-size="0"
version="3.2.1.R32x_v20060822-2100"
unpack="false"/>
<plugin
id="org.eclipse.jdt.apt.ui"
download-size="0"
install-size="0"
version="3.2.1.R32x_v20060822-2100"
unpack="false"/>
That should do it for a regular install using eclipse gui. If you want to install the hibernate tools plugin using the command line, read on.
To use the command line plugin installer, presence of dependency plugins in /usr/lib/eclipse/plugins is not sufficient. All dependency plugins must be in /usr/lib/eclipse/features as well. Copy an existing dir in the features directory and rename it to the plugin's full name (including version). Next, edit feature.xml and feature.properties to match the plugin.
Hibernate tools dependencies:
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.gef (3.2.0)", or later version.
http://www.eclipse.org/gef/
*** Add draw2d (comes with gef) plugin to features directory as gef depends on it! ***
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.common.project.facet.core (1.1.0)", or later version.
http://www.eclipse.org/webtools/wst/main.php
*** Pay attention to dependencies! Download small (around 37Mb) file under "Web Tools Platform Complete" ***
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.common.project.facet.core (1.1.0)", or later version.
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.common.project.facet.ui (1.1.0)", or later version.
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.xml.core (1.1.0)", or later version.
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.sse.core (1.1.0)", or later version.
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.xml.ui (1.0.100)", or later version.
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.sse.ui (1.0.101)", or later version.
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.dtd.core (1.1.0)", or later version.
Hibernate Tools (3.2.0.beta8) requires plug-in "org.eclipse.wst.common.ui (1.1.0)", or later version.
Finally install using the command (watch the versions again):
java -cp /usr/lib/eclipse/startup.jar org.eclipse.core.launcher.Main -application org.eclipse.update.core.standaloneUpdate -command install -from
http://download.jboss.org/jbosside/updates/development -featureId org.hibernate.eclipse.feature -version 3.2.0.beta8 -Declipse.home=/usr/lib/eclipse/
Grtz!