[
http://jira.codehaus.org/browse/MGWT-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chuck Irvine reopened MGWT-246:
-------------------------------
Thanks for the quick response, but, sorry, this does not seem to be the same
problem as documented MGWT-233. Note that I explicitly point to
http://mojo.codehaus.org/gwt-maven-plugin on the mvn command line. Also, the
error message I get isn't the same one specified in MGWT-233.
> Can't use archetype to create working project
> ---------------------------------------------
>
> Key: MGWT-246
> URL: http://jira.codehaus.org/browse/MGWT-246
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 2.1.0
> Environment: windows xp / eclipse 3.6
> Reporter: Chuck Irvine
> Assignee: Olivier Lamy
> Priority: Blocker
>
> The default project created with version 2.1.0 of the plugin and imported
> into eclipse doesn't build. Error reported is:
> 11/29/10 11:22:30 AM CST: [ERROR] Error: Could not find the resource
> 'com/company/example/Messages.properties matching
> 'com.company.example.Messages'
> To reproduce problem:
> 1. Invoke the following command line:
> C:\tmp\oabroker>mvn archetype:generate \
> -DarchetypeRepository=http://org.codehaus.org/gwt-maven-plugin \
> -DarchetypeGroupId=org.codehaus.mojo \
> -DarchetypeArtifactId=gwt-maven-plugin \
> -DarchetypeVersion=2.1.0
> 2. Import project into eclipse using: Import.../Existing Projects into
> eclipse. The following error is generated:
> 11/29/10 11:22:30 AM CST: [ERROR] Error: Could not find the resource
> 'com/company/example/Messages.properties matching
> 'com.company.example.Messages' did you remember to add it to your classpath?
> 11/29/10 11:22:30 AM CST: [ERROR] Google Web Toolkit 2.1.0
> 11/29/10 11:22:30 AM CST: [ERROR] I18NSync [-out fileName]
> [-createConstantsWithLookup] [-createMessages] name of the Constants/Messages
> interface to create
> 11/29/10 11:22:30 AM CST: [ERROR]
> 11/29/10 11:22:30 AM CST: [ERROR] where
> 11/29/10 11:22:30 AM CST: [ERROR] -out
> Java source directory, defaults to the resource's class path.
> 11/29/10 11:22:30 AM CST: [ERROR] -createConstantsWithLookup
> Create scripts for a ConstantsWithLookup interface rather than a
> Constants one
> 11/29/10 11:22:30 AM CST: [ERROR] -createMessages
> Create scripts for a Messages interface rather than a Constants one
> 11/29/10 11:22:30 AM CST: [ERROR] and
> 11/29/10 11:22:30 AM CST: [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/29/10 11:22:30 AM CST: Build errors for test;
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.codehaus.mojo:gwt-maven-plugin:2.1.0:i18n (default) on project test:
> Command [[
> C:\Program Files\Java\jdk1.6.0_22\jre\bin\java -Xmx512m -classpath
> "C:\tmp\oabroker\test\src\main\java;C:\tmp\oabroker\test\src\main\resources;C:\tmp\oabroker\test\target\test-1.0-SNAPSHOT\WEB-INF\classes;C:\Documents
> and
> Settings\MN8850\.m2\repository\com\google\gwt\gwt-user\2.1.0\gwt-user-2.1.0.jar;C:\Documents
> and
> Settings\MN8850\.m2\repository\com\google\gwt\gwt-dev\2.1.0\gwt-dev-2.1.0.jar"
> com.google.gwt.i18n.tools.I18NSync -out
> C:\tmp\oabroker\test\target\generated-sources\gwt -createMessages
> com.company.example.Messages
> ]] failed with status 1
--
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