Hi,
it is a common maven problem and comes up in this mailing list almost
every month. Maven does not like spaces in the repository uri, in
example 'c:/docments and setting ..' .
Change the repository for ant to a repository with no spaces
Description and solution here:
http://javablog.info/2007/03/25/maven-2-javaneturisyntaxexception-illegal-character-in-path-at-index-18/
There are other solutions which let keep the repository at 'documents
and settings' and just use a sym link to refer to. You should search the
net!
regards
xamba schrieb:
Hi all,
I've a little problem, when I do "mvn appfuse:full-source" in the project
folder to get all the appfuse project code, it gives me the following error:
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
Illegal character in path at index 18: file:/C:/Documents and
Settings/Sergio.SE
RGIO-C1A992F6/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalArgumentException
at java.net.URI.create(URI.java:842)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162)
at
org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:11
9)
at
org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90)
at org.apache.tools.ant.Project.setAntLib(Project.java:313)
at org.apache.tools.ant.Project.initProperties(Project.java:309)
at org.apache.tools.ant.Project.init(Project.java:295)
at
org.appfuse.mojo.installer.AntUtils.createProject(AntUtils.java:47)
at
org.appfuse.mojo.installer.InstallSourceMojo.<init>(InstallSourceMojo
.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
the rest of commands it working well but I dont know what happend with that
one.
regards!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]