Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Error with plugin path when it contains spaces
Error with plugin path when it contains spaces [message #279825] Mon, 24 January 2005 14:35
Eclipse UserFriend
Originally posted by: noreply.noreply.com

I'm trying to a open a "resources" directory like this:

(1) URL url = Platform.asLocalURL(Platform.find(bundle, new
Path("resources")));
(2) fl = new File(new URI(url.toExternalForm()));

but I'm getting an error when the path has spaces (ej:
"C:\Eclipse\.....\Plugin Directory");
I guess that between (1) and (2) I have to do some encoding, but how?

Thanks
Previous Topic:Creating DOM/AST for other languages?
Next Topic:Weird behaviour in Tomcat projects in 3.0.1
Goto Forum:
  


Current Time: Mon Oct 13 20:36:35 EDT 2025

Powered by FUDForum. Page generated in 0.02958 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top