I thought it was supposed to be simpler with the new gwt-maven-plugin
2.1.0-1 with eclipse etc.. :P

On Dec 22, 5:57 pm, Frank Bølviken <frank.bolvi...@gmail.com> wrote:
> When i tried that, I get:
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 18.320s
> [INFO] Finished at: Wed Dec 22 17:55:54 CET 2010
> [INFO] Final Memory: 7M/77M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-
> archetype-plugin:2
> .0:generate (default-cli) on project standalone-pom: Template 'src/
> main/resource
> s/layer.xml' not in directory 'src/main/java' -> [Help 1]
> [ERROR]
>
> On Dec 22, 5:42 pm, "Metronome / Basic"
>
>
>
>
>
>
>
> <metronome.ba...@worldonline.fr> wrote:
> > You can create a simple project with the mvn achetype:generate
> > # 232 with maven 3
>
> > ----- Original Message -----
> > From: "Frank B lviken" <frank.bolvi...@gmail.com>
> > To: "Google Web Toolkit" <google-web-toolkit@googlegroups.com>
> > Sent: Wednesday, December 22, 2010 5:33 PM
> > Subject: gwt-maven-plugin 2.1.0-1 compilation error
>
> > > Hi,
>
> > > I dont know if there is anyting I have missed. But I'm trying to
> > > create a simple GWT project with the new gwt-maven-plugin.
> > > I run the following command:
> > > mvn archetype:generate
> > > -DarchetypeRepository=repo1.maven.org
> > > -DarchetypeGroupId=org.codehaus.mojo
> > > -DarchetypeArtifactId=gwt-maven-plugin
> > > -DarchetypeVersion=2.1.0-1
>
> > > I input the following text:
> > > Define value for property 'groupId': : com.test.hello
> > > Define value for property 'artifactId': : gwt
> > > Define value for property 'version': 1.0-SNAPSHOT:
> > > Define value for property 'package': com.test.hello:
> > > Define value for property 'module': : gwt
>
> > > The project is created successfully. But when I try to gwt:compile it,
> > > the following error arrives:
> > > [INFO] Compiling module com.test.hello.gwt
> > > [INFO]    Validating newly compiled units
> > > [INFO]       [ERROR] Errors in 'file:/C:/<PATH>/gwt/src/main/java/com/
> > > test/hello/client/gwt.java'
> > > [INFO]          [ERROR] Line 35: GreetingServiceAsync cannot be
> > > resolved to a type
> > > [INFO]          [ERROR] Line 35: No source code is available for type
> > > GreetingServiceAsync; did you forget to inherit a
> > > required module?
> > > [INFO]          [ERROR] Line 35: The method create(Class<?>) from the
> > > type GWT refers to the missing type GreetingServic
> > > eAsync
> > > [INFO]          [ERROR] Line 37: Messages cannot be resolved to a type
> > > [INFO]          [ERROR] Line 37: No source code is available for type
> > > Messages; did you forget to inherit a required mod
> > > ule?
> > > [INFO]          [ERROR] Line 37: The method create(Class<?>) from the
> > > type GWT refers to the missing type Messages
> > > [INFO]          [ERROR] Line 37: Messages cannot be resolved to a type
> > > [INFO]          [ERROR] Line 43: Messages cannot be resolved to a type
> > > [INFO]          [ERROR] Line 45: Messages cannot be resolved to a type
> > > [INFO]          [ERROR] Line 123: GreetingServiceAsync cannot be
> > > resolved to a type
> > > [INFO]    Finding entry point classes
> > > [INFO]       [ERROR] Unable to find type 'com.test.hello.client.gwt'
> > > [INFO]          [ERROR] Hint: Previous compiler errors may have made
> > > this type unavailable
> > > [INFO]          [ERROR] Hint: Check the inheritance chain from your
> > > module; it may not be inheriting a required module o
> > > r a module may not be adding its source path entries properly
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
>
> > > What am I missing here?
>
> > > --
> > > 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.
>
> > > -----
> > > Aucun virus trouv dans ce message.
> > > Analyse effectu e par AVG -www.avg.fr
> > > Version: 10.0.1170 / Base de donn es virale: 426/3331 - Date: 22/12/2010

-- 
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