It does appear that File.toURL() produces a URL with spaces, while File.toURI().toURL() correctly encodes the spaces with %20. Seems very odd that File.toURL() doesn't do that internally, but eh...

--jason


On Aug 23, 2007, at 3:48 PM, Anita Kulshreshtha wrote:

   I am seeing this error on trunk:
http://issues.apache.org/jira/browse/GERONIMO-3424
   I had to change buildsupport-maven-plugin to NOP (edit
CopyXMLBeansSchemaMojo.groovy) to be able to build from C:\Documents
And Settings\...

Thanks
Anita

--- Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote:

Problem occurs when there is a space in the M2REPO directory, in this
case
"C:\Documents And Settings\...".  Work around is to use an M2REPO dir
without any spaces in it.  We will still have to investigate the
cause.

Vamsi

On 8/24/07, Prasad Kashyap <[EMAIL PROTECTED]> wrote:

The entire log is here
http://rifers.org/paste/show/5314

Cheers
Prasad

On 8/23/07, Prasad Kashyap <[EMAIL PROTECTED]> wrote:
I have begun to see this same error at another location now.

On windows, run mvn from server/testsuite directory and you will
get
this

[INFO] [selenium:start-server {execution: start-server}]
[INFO] Starting Selenium server...
[INFO]


---------------------------------------------------------------------- --
[ERROR] FATAL ERROR
[INFO]


---------------------------------------------------------------------- --
[INFO] null
Illegal character in path at index 18: file:/C:/Documents and

Settings/Administrator/.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(
DelegatingMethodAccessorImpl.java:25)


http://rifers.org/paste/show/5312

Cheers
Prasad




On 8/14/07, Donald Woods <[EMAIL PROTECTED]> wrote:
This should now be fixed in Rev565885.

Should this be pulled into 2.0.1?


-Donald

Prasad Kashyap wrote:
The changes that Donald Woods is doing (svn commit: r565837)
is
supposed to fix this.

However, as you can see from the latest build error, this
needs to
be
fixed further.

Cheers
Prasad

On 8/14/07, Hernan Cunico <[EMAIL PROTECTED]> wrote:
So, how is this Jedi hand waving thingy?

What is the file that needs to be replaced and where do I
get it
from? I don't see any on my repo with that timestamp.

What other files need to be modified

Cheers!
Hernan

Anita Kulshreshtha wrote:
    yup, copying alpha-1-20070806.170854-1.jar over alpha-1
(and
modifying plugin.xml and the pom file) works. A new release
would
be
nice otherwise we can put it in the repo.

Thanks
Anita

--- Donald Woods <[EMAIL PROTECTED]> wrote:

The jspc-maven-plugin-2.0-alpha-1.jar is to blame.
I still had a copy of the last alpha-1-SNAPSHOT laying
around
(jspc-maven-plugin-2.0-alpha-1-20070806.170854-1.jar) and
copied
it
over the
released alpha-1.jar from 8/8 and my builds starting
working
again on
WinXP....

Should we place this in the repo for 2.0.1-SNAPSHOT or ask
them
to
fix it
before we release 2.0.1?



-Donald

Anita Kulshreshtha wrote:
    I have not been so lucky. I have tried branches/2.0.0
also.
I
have
tried deleting org.codehaus.mojo.jspc and ant from .m2
repo
without
any
success (The trunk builds fine).

Thanks
Anita

--- Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote:

I am not exactly building from geronimo-2.0-src.zip, but
from
branches\2.0.0.  If that still counts as if I built from
src
zip... I
have
not run into this problem.  I have tried after removing
jspc-compiler-tomcat6-2.0-alpha-1.jar from my M2REPO so
that it
downloads a
fresh.

--vamsi


On 8/9/07, Anita Kulshreshtha <[EMAIL PROTECTED]>
wrote:
   Is anyone else seeing this in geronimo-welcome.. I
am
building
from



http://people.apache.org/~hogstrom/geronimo-2.0-rc1/geronimo-2.0- src.zip
Thanks
Anita

Downloading:


http://repository.codehaus.org/org/codehaus/mojo/jspc/jspc-compiler

-tomcat6/2.0-alpha-1/jspc-compiler-tomcat6-2.0-alpha-1.jar
4K downloaded
[INFO] [jspc:compile {execution: default}]
[INFO]




---------------------------------------------------------------------- --
[ERROR] FATAL ERROR
[INFO]




---------------------------------------------------------------------- --
[INFO] null
Illegal character in path at index 18:
file:/C:/Documents and
Settings/Anita/.m2
/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
[INFO]




---------------------------------------------------------------------- --
[INFO] Trace
java.lang.IllegalArgumentException

=== message truncated ===



______________________________________________________________________ ______________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

Reply via email to