gwt-maven-plugin does not work with spaces in repo path
-------------------------------------------------------
Key: MOJO-1153
URL: http://jira.codehaus.org/browse/MOJO-1153
Project: Mojo
Issue Type: Bug
Components: gwt
Reporter: Maxim Gordienko
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