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="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; 
standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry 
externalArchive=&quot;/Users/nicolas/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar&quot;
 path=&quot;2&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
...

Note the part: 
/Users/nicolas/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar&quot

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


Reply via email to