I just dont understund why I cant use the gwt-maven-plugin 2.1.0-1,
which comes with gwt 2.1.0 and is easily integrated with eclipse etc?
Can you please try and run that command, and give me your findings?

Frank

On Dec 22, 6:54 pm, "Coelho" <[email protected]> wrote:
> Somehow the plugin tha generates the 232 has been changed
> ( it asket for a version after the 232 and doesn't ask anymore )
>
> You can build webapp for gwt with "mvn archetype:generate"
> # 15
> # 276
> # 60
> but 232 was the only one to generate a pom with gwt 2.1
>
> you can probably change the version in 15 60 and 276
>
> Patrick
>
>
>
>
>
>
>
> ----- Original Message -----
> From: "Coelho" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, December 22, 2010 6:38 PM
> Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error
>
> though I don't know why but I 'v used this command with succes several times
> but I'v just tried it on 2 Pcs ( linux debian and windows xp ) with
> the same error ?
>
> I can still mvn package on existin projects !
>
> Patrick
>
> ----- Original Message -----
> From: "Frank B lviken" <[email protected]>
> To: "Google Web Toolkit" <[email protected]>
> Sent: Wednesday, December 22, 2010 6:13 PM
> Subject: Re: gwt-maven-plugin 2.1.0-1 compilation error
>
> 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 <[email protected]> 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"
>
> > <[email protected]> wrote:
> > > You can create a simple project with the mvn achetype:generate
> > > # 232 with maven 3
>
> > > ----- Original Message -----
> > > From: "Frank B lviken" <[email protected]>
> > > To: "Google Web Toolkit" <[email protected]>
> > > 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
> > > > [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected].
> > > > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group 
> athttp://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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group 
> athttp://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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to