I'm running Eclipse Juno on a mac os 10.8.3. I installed GWT (2.5.2) plugin with eclipse, but when I try to run my project, there's always this error:
BUILD FAILED
/../../${env.GWT_HOME} does not exist.
Also on my build file, in the following line:
<taskdef resource="dml-ant.xml" classpathref="project.classpath"/>
It shows an error with the same thing.
Now I've seen both THIS and THIS threads but none of the solutions worked.
Outside of eclipse I've GWT_HOME defined in the .profile file, as this:
export GWT_HOME=/Applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.5.1
Inside Eclipse, I have this configurations:
- Preferences->Google->Web Toolkit-> GWT::2.5.1::[Location of the gwt-2.5.1 folder in plugins]
- Preferences->Java->Build Path->Classpath Variables-> GWT_HOME [defined to the same place]
In my project:
- Properties->Google->Web Toolkit (only one selected)-> Use default SDK (GWT - 2.5.1)
- Properties->Java Build Path->Order and Export->GWT SDK [GWT - 2.5.1] almost on top (above maven libraries, at least)
I've tried some stuff like changing the gwt-2.5.1 folder (and the GWT_HOME path with it), reinstalled several times and with older versions, several restarts both to eclipse and the computer, etc. I may be missing something obvious here, it's the first I'm working with GWT (and one of the firsts with Eclipse).
Thanks in advance for all your help :)