gwt:compile fails under Windows with default local repo location
----------------------------------------------------------------

                 Key: MGWT-7
                 URL: http://jira.codehaus.org/browse/MGWT-7
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Windows XP, Cygwin, Maven 2.0.9, Java 1.5.0_16
            Reporter: Mark Hobson
            Priority: Blocker


Running {{gwt:compile}} under Windows with the default local repository 
location, which has spaces in, results in:

{noformat}java.lang.ExceptionInInitializerError
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       at java.lang.Class.newInstance0(Class.java:350)
       at java.lang.Class.newInstance(Class.java:303)
       at 
org.codehaus.mojo.gwt.compile.CompileMojo.getGwtCompilerInstance(CompileMojo.java:212)
       at org.codehaus.mojo.gwt.compile.CompileMojo.execute(CompileMojo.java:86)
       <snip>
Caused by: java.lang.IllegalArgumentException
       at java.net.URI.create(URI.java:842)
       at 
com.google.gwt.util.tools.Utility.computeInstallationPath(Utility.java:288)
       at com.google.gwt.util.tools.Utility.getInstallPath(Utility.java:224)
       at com.google.gwt.util.tools.ToolBase.<clinit>(ToolBase.java:55)
       ... 26 more
Caused by: java.net.URISyntaxException: Illegal character in path at index 18: 
file:/C:/Documents and 
Settings/mark/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-windows.jar
       at java.net.URI$Parser.fail(URI.java:2816)
       at java.net.URI$Parser.checkChars(URI.java:2989)
       at java.net.URI$Parser.parseHierarchical(URI.java:3073)
       at java.net.URI$Parser.parse(URI.java:3021)
       at java.net.URI.<init>(URI.java:578)
       at java.net.URI.create(URI.java:840)
       ... 29 more{noformat}

It appears to be related to this GWT issue, which was never fixed:

http://code.google.com/p/google-web-toolkit/issues/detail?id=2007

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