| PDE FileLocator [message #895412] |
Thu, 12 July 2012 14:46  |
Paul Christopher Messages: 5 Registered: August 2010 |
Junior Member |
|
|
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();
|
|
|
|
Powered by
FUDForum. Page generated in 0.02783 seconds