You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Max Pfingsthorn <m....@hippo.nl> on 2006/03/22 12:05:17 UTC

jdk 5 needed to build trunk?

Hi!

I have a problem building trunk right now, o.a.c.blocks.BlockConnection uses the java.net.URL API from Java 5. URL.toURI() doesn't exist in 1.4.2. Can I replace it by "new URI(url.toString())"?

Best regards,

Max Pfingsthorn

Hippo  

Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
m.pfingsthorn@hippo.nl / www.hippo.nl
-------------------------------------------------------------

Re: jdk 5 needed to build trunk?

Posted by Daniel Fagerstrom <da...@nada.kth.se>.
Max Pfingsthorn skrev:
> Hi!
>
> I have a problem building trunk right now, o.a.c.blocks.BlockConnection uses the java.net.URL API from Java 5. URL.toURI() doesn't exist in 1.4.2. Can I replace it by "new URI(url.toString())"?
>
>   
Sure. I used an Eclipse 3.2 for developing the OSGi stuff, and forgot to 
set the right Java version I guess.

/Daniel