Hi there, I've just started trying out the gwt-maven-plugin but the GWT compiler appears to not like spaces in the path. Running gwt:compile gives me:
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 See [1] for the relevant stack trace. I've found this issue which appears to describe the problem, although it was never fixed: http://code.google.com/p/google-web-toolkit/issues/detail?id=2007 Is there any known workaround for this? I'd rather not move my local repository to a path with no spaces if possible. Damn Windows.. Cheers, Mark [1] 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) ... 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
