i18n fails under Eclipse with m2eclips
--------------------------------------

                 Key: MGWT-223
                 URL: http://jira.codehaus.org/browse/MGWT-223
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 2.1.0
         Environment: eclipse Helios, m2eclipse
            Reporter: nicolas de loof


m2eclipse project configuration fails with stacktrace when i18n is configured
{{
06/10/10 17:43:14 CEST: [ERROR] Exception in thread "main" 
java.lang.NoClassDefFoundError: com/google/gwt/i18n/tools/I18NSync
06/10/10 17:43:14 CEST: [ERROR] Caused by: java.lang.ClassNotFoundException: 
com.google.gwt.i18n.tools.I18NSync
06/10/10 17:43:14 CEST: [ERROR]         at 
java.net.URLClassLoader$1.run(URLClassLoader.java:202)
06/10/10 17:43:14 CEST: [ERROR]         at 
java.security.AccessController.doPrivileged(Native Method)
06/10/10 17:43:14 CEST: [ERROR]         at 
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
06/10/10 17:43:14 CEST: [ERROR]         at 
java.lang.ClassLoader.loadClass(ClassLoader.java:307)
06/10/10 17:43:14 CEST: [ERROR]         at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
06/10/10 17:43:14 CEST: [ERROR]         at 
java.lang.ClassLoader.loadClass(ClassLoader.java:248)
06/10/10 17:43:14 CEST: Build errors for gwitter; 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:gwt-maven-plugin:2.1-SNAPSHOT:i18n (default) on project 
gwitter: Command [[
/bin/sh -c 
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java 
-Xmx512m -classpath '/Users/nicolas/Documents/formations/GWT/TP 
CH5/gwitter/src/main/java:/Users/nicolas/Documents/formations/GWT/TP 
CH5/gwitter/src/main/resources:/Users/nicolas/Documents/formations/GWT/TP 
CH5/gwitter/src/main/webapp/WEB-INF/classes:/Users/nicolas/.m2/repository/com/google/gwt/gwt-dev/2.1-SNAPSHOT/gwt-dev-2.1-SNAPSHOT.jar'
 com.google.gwt.i18n.tools.I18NSync -out 
'/Users/nicolas/Documents/formations/GWT/TP 
CH5/gwitter/target/generated-sources/gwt' -createMessages 
com.orange.gwt.client.Messages
]] failed with status 1
}}

Using debugger, I notice project.dependencies Set is not set.
Running gwt:i18n inside Eclipse using m2eclipse launcher works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to