Your current problem is due to the Messages directory being specified
incorrectly in the pom file. The latter most package component should
be "client" as I recall. Unfortunately, you will encounter additional
problems. For example, there is a generated class dir that doesn't get
included in the eclipse classpath. My feeling is that gwt-maven-plugin
2.1 is not yet ready for general use. Not sure that it's been
officially released.

On Nov 10, 4:09 am, Alex Nederlof <a...@nederlof.com> wrote:
> Hi all,
>
> I can't get Maven to work. When I make a new Maven project from
> eclipse of from the command line it gives me:
>
> 11/10/10 11:08:42 AM CET: Collecting project info '/pom.xml' /Users/
> alex/Development/webapps/tralala/pom.xml
> 11/10/10 11:08:42 AM CET: Generating sources /tralala/pom.xml
> 11/10/10 11:08:42 AM CET: Adding source folder /tralala/src/main/java
> 11/10/10 11:08:42 AM CET: Adding resource folder /tralala/src/main/
> resources
> 11/10/10 11:08:42 AM CET: Adding source folder /tralala/src/test/java
> 11/10/10 11:08:42 AM CET: Adding resource folder /tralala/src/test/
> resources
> 11/10/10 11:08:42 AM CET: Project import completed 0 sec
> 11/10/10 11:08:42 AM CET: Refreshing [/tralala/pom.xml]
> 11/10/10 11:08:44 AM CET: Maven Builder: FULL_BUILD requireFullBuild
> 11/10/10 11:08:44 AM CET: [ERROR] Error: Could not find the resource
> 'com/alexnederlof/tralala/Messages.properties matching
> 'com.alexnederlof.tralala.Messages' did you remember to add it to your
> classpath?
> 11/10/10 11:08:44 AM CET: [ERROR] Google Web Toolkit 2.1.0
> 11/10/10 11:08:44 AM CET: [ERROR] I18NSync [-out fileName] [-
> createConstantsWithLookup] [-createMessages] name of the Constants/
> Messages interface to create
> 11/10/10 11:08:44 AM CET: [ERROR]
> 11/10/10 11:08:44 AM CET: [ERROR] where
> 11/10/10 11:08:44 AM CET: [ERROR]   -
> out                                                Java source
> directory, defaults to the resource's class path.
> 11/10/10 11:08:44 AM CET: [ERROR]   -
> createConstantsWithLookup                          Create scripts for
> a ConstantsWithLookup interface rather than a Constants one
> 11/10/10 11:08:44 AM CET: [ERROR]   -
> createMessages                                     Create scripts for
> a Messages interface rather than a Constants one
> 11/10/10 11:08:44 AM CET: [ERROR] and
> 11/10/10 11:08:44 AM CET: [ERROR]   name of the Constants/Messages
> interface to create  Identifies the Constants/Messages class to be
> created.  For example com.google.sample.i18n.client.Colors
> 11/10/10 11:08:44 AM CET: Build errors for tralala;
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.codehaus.mojo:gwt-maven-plugin:2.1.0:i18n (default)
> on project tralala: Command [[
> /bin/sh -c /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/
> Home/bin/java -Xmx512m -classpath /Users/alex/Development/webapps/
> tralala/src/main/java:/Users/alex/Development/webapps/tralala/src/main/
> resources:/Users/alex/Development/webapps/tralala/target/tralala-0.0.1-
> SNAPSHOT/WEB-INF/classes:/Users/alex/.m2/repository/com/google/gwt/gwt-
> user/2.1.0/gwt-user-2.1.0.jar:/Users/alex/.m2/repository/com/google/
> gwt/gwt-dev/2.1.0/gwt-dev-2.1.0.jar com.google.gwt.i18n.tools.I18NSync
> -out /Users/alex/Development/webapps/tralala/target/generated-sources/
> gwt -createMessages com.alexnederlof.tralala.Messages
> ]] failed with status 1
>
> Does anyone have any id? I tried everything I know

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to