[ 
http://jira.codehaus.org/browse/MGWT-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MGWT-8.
---------------------------

         Assignee: Olivier Lamy
       Resolution: Fixed
    Fix Version/s: 1.1

fix in rev 8329

> gwt-maven-plugin does not work with spaces in repo path
> -------------------------------------------------------
>
>                 Key: MGWT-8
>                 URL: http://jira.codehaus.org/browse/MGWT-8
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>            Reporter: Maxim Gordienko
>            Assignee: Olivier Lamy
>             Fix For: 1.1
>
>         Attachments: spaces-in-path.patch
>
>
> On windows default location of maven repository is under the "C:/Documents 
> and Settings/<username>/.m2/repository" (put a correct drive letter).
> Note - there are spaces in the file names under it.
> if we run gwt-maven-plugin it fails with 
> ....
> Caused by: java.lang.IllegalArgumentException
>         at java.net.URI.create(URI.java:842)
>         at 
> com.google.gwt.util.tools.Utility.computeInstallationPath(Utility.jav
> a: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: f
> ile:/C:/Documents and 
> Settings/xx/.m2/repository/com/google/gwt/gwt-dev/1.5-RC1/
> gwt-dev-1.5-RC1-windows.jar
>         at java.net.URI$Parser.fail(URI.java:2809)
>         at java.net.URI$Parser.checkChars(URI.java:2982)
>         at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>         at java.net.URI$Parser.parse(URI.java:3014)
>         at java.net.URI.<init>(URI.java:578)
>         at java.net.URI.create(URI.java:840)
>         ... 29 more
> In the attachement is a patch fixing this issue (alternative way to obtain 
> compiler class is removed since the only way - is to encode url)

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