The file touri tourl work around did not result in 100% success for udig. We did contribute the work around and the instructions are in the developers guide.
Jody On 29/06/2009, at 1:21 AM, Andrea Aime <aa...@opengeo.org> wrote: > Jody Garnett ha scritto: >> Andrea we have a similar class in uDig called URLUtils that handles a >> lot of these issues; I would love to compare implementations etc... >> So >> yes the issue is very real; in particular the Java File classes do >> not >> have any great way of dealing with the "root" items: >> - C: D: on windows - ie drive letters >> - \\host.port\share on windows - wacka wacka paths >> - / on unix - root > > Then do compare and let us know. The patch provided that the user > is the very mechanical: file.toURL() --> file.toURI().toURL() > > What does your class offer more? > I'm also disappointed that the uDig community did not contribute > back this one earlier if the problem was already known. > > Cheers > Andrea > > -- > Andrea Aime > OpenGeo - http://opengeo.org > Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel