geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Feng" <enjoyj...@gmail.com>
Subject Re: [Fwd: Re: building geronimo-2.0-rc1]
Date Thu, 23 Aug 2007 19:24:24 GMT
Hi,

I ran into a similar problem before. Some classloaders doesn't encode the spaces for URL.
The trick we did is to use new URL(uri).toURI() instead of URI.create(uri).

Thanks,
Raymond

  ----- Original Message ----- 
  From: Vamsavardhana Reddy 
  To: dev@geronimo.apache.org 
  Sent: Thursday, August 23, 2007 12:15 PM
  Subject: Re: [Fwd: Re: building geronimo-2.0-rc1]


  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 <goyathlay.geronimo@gmail.com> wrote:
    The entire log is here
    http://rifers.org/paste/show/5314

    Cheers
    Prasad

    On 8/23/07, Prasad Kashyap <goyathlay.geronimo@gmail.com > 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 <dwoods@apache.org> 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 <hcunico@gmail.com> 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 <dwoods@apache.org> 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 < c1vamsi1c@gmail.com> 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 <a_kulshre@yahoo.com>
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 
    > > >>>>>>>         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.codehaus.mojo.groovy.util.AntBuilder.createProject(AntBuilder.jav
    > > >>>>>>> a:65)
    > > >>>>>>>         at
    > > >>>>>>> 
    > > >>>> org.codehaus.mojo.groovy.util.AntBuilder.<init>(AntBuilder.java:39)
    > > >>>>>>>         at
    > > >>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native
    > > >>>>>> Method)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstruct
    > > >>>>>>> orAccessorImpl.java:39)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingC
    > > >>>>>>> onstructorAccessorImpl.java:27)
    > > >>>>>>>         at
    > > >>>>>>> java.lang.reflect.Constructor.newInstance (Constructor.java:494)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaC
    > > >>>>>>> lassHelper.java:563)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> groovy.lang.MetaClassImpl.doConstructorInvoke (MetaClassImpl.java:1864
    > > >>>>>>> )
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> groovy.lang.MetaClassImpl.invokeConstructor (MetaClassImpl.java:804)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:734)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:
    > > >>>>>>> 143) 
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(Invoker
    > > >>>>>>> Helper.java:114)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBy
    > > >>>>>>> tecodeAdapter.java:214)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> org.codehaus.mojo.groovy.GroovyMojoSupport.getAnt(GroovyMojoSupport.g
    > > >>>>>>> roovy:42)
    > > >>>>>>>         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.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke
(Ref
    > > >>>>>>> lectionMetaMethod.java:52)
    > > >>>>>>>         at
    > > >>>>>>>
    > > >>>> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke
(MetaClassH
    > > >>>>>>> elper.java:714)
    > > >>>>>>>         at
    > > >>>>>>> groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java
:936)
    > > >>>>>>>         at
    > > >>>>>>> groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:2183)
    > > >>>>>>>         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 
    > > >>> === message truncated ===
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>> ____________________________________________________________________________________Ready
for the edge of your seat? 
    > > >>> Check out tonight's top picks on Yahoo! TV.
    > > >>> http://tv.yahoo.com/
    > > >>>
    > > >
    > > >
    > >
    > >
    >



Mime
View raw message