java - GWT_HOME does not exist (mac 10.8.3) -


i'm running eclipse juno on mac os 10.8.3. installed gwt (2.5.2) plugin eclipse, when try run project, there's error:

build failed  /../../${env.gwt_home} not exist. 

also on build file, in following line:

<taskdef resource="dml-ant.xml" classpathref="project.classpath"/> 

it shows error same thing.

now i've seen both this , this threads none of solutions worked.

outside of eclipse i've gwt_home defined in .profile file, this:

export gwt_home=/applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.5.1 

inside eclipse, have configurations:

- preferences->google->web toolkit-> gwt::2.5.1::[location of gwt-2.5.1 folder in plugins] - preferences->java->build path->classpath variables-> gwt_home [defined same place] 

in project:

- properties->google->web toolkit (only 1 selected)-> use default sdk (gwt - 2.5.1) - properties->java build path->order , export->gwt sdk [gwt - 2.5.1] on top (above maven libraries, @ least) 

i've tried stuff changing gwt-2.5.1 folder (and gwt_home path it), reinstalled several times , older versions, several restarts both eclipse , computer, etc. may missing obvious here, it's first i'm working gwt (and 1 of firsts eclipse).

thanks in advance :)

your project setup ant, isn't it?, if so:

it seems ant file build.xml not have line:

 <property environment=”env”/> 

it happenning when running eclipse not pick environment variables set in .profile, maybe have launch eclipse command-line.

eventually, quick fix edit ant.xml file , replace occurrences of ${env.gwt_home} /applications/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.5.1.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -