Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE FileLocator(FileLocator.resolve(url).toURI();)
PDE FileLocator [message #895412] Thu, 12 July 2012 14:46 Go to next message
Eclipse UserFriend
I am having an issue when deploying my plugin.

I have code written below to find a build.xml file. Locally it works fine because the there are no white spaces in the absolute path but when deployed it has "Program Files" in the path so it fails with a URLSyntaxException from the FileLocator. How do I get around this problem?

Bundle bundle = Platform.getBundle("_WSDL_GENERATOR");
url = bundle.getResource("build.xml");
uri = FileLocator.resolve(url).toURI();
Re: PDE FileLocator [message #898569 is a reply to message #895412] Thu, 26 July 2012 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Nobody has encountered this issue during PDE development?
Re: PDE FileLocator [message #1715467 is a reply to message #898569] Mon, 23 November 2015 16:14 Go to previous message
Eclipse UserFriend
I encountered this issue - it doesn't appear to happen in all cases of an Eclipse instance being installed under the 'Program Files' directory.

Was there ever a good solution found for this?

Previous Topic:How to add Image to the toolbar
Next Topic:PDEBuild - help customizing feature build's .zip archive name
Goto Forum:
  


Current Time: Wed Jul 23 10:37:07 EDT 2025

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

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

Back to the top