Goal "gwt:eclipse" generates buggy launch configuration
--------------------------------------------------------
Key: MGWT-284
URL: http://jira.codehaus.org/browse/MGWT-284
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 2.2.0
Environment: See text below.
Reporter: hp gisler
Environment:
GWT Plugin Version: 2.2
Eclipse: Helios
Platform: Win xp
Using non standard GWT directory structure. Instead using default maven
structure as is generated by archetype
mvn archetype:generate \
-DarchetypeRepository=repo1.maven.org \
-DarchetypeGroupId=org.codehaus.mojo \
-DarchetypeArtifactId=gwt-maven-plugin \
-DarchetypeVersion=2.2.0
I've got 2 issues (see below) when doing following (according to docu at
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/comfortable_debugging.html
):
mvn -Duse.google.eclipse.plugin=false gwt:eclipse
1 Issue:
--------
the generated file xy.launch file:
...
<listEntry value="<?xml version="1.0" encoding="UTF-8"
standalone="no"?> <runtimeClasspathEntry
externalArchive="/Users/nicolas/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar"
path="2" type="2"/> "/>
...
Note the part:
/Users/nicolas/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar"
This seems to be some hardcoded string from one of the developers / of course,
this will not work for most users (not named nicolas and not having Win7... :-)
)
Solution: I had to put my dirname in place
2. Issue
--------
In Debug Configuration: Arguments, the following was inserted into xy.launch by
gwt:eclipse goal:
-war target\xy-1.0-SNAPSHOT -startupUrl /xy/xy.html webclient.xy
instead of:
-war target\xy-1.0-SNAPSHOT -startupUrl xy.html webclient.xy
so the html file could not be found.
Solution had to change manually the configuration
--
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