Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » problem FileLocator
problem FileLocator [message #538367] Mon, 07 June 2010 13:34
Zakarov is currently offline ZakarovFriend
Messages: 24
Registered: January 2010
Junior Member
hello every body ,

i developped an eclipse pluging in my workspace , containing the following code :
....
URL url = ResourcePlugin.getURL("config/myfile.properties",Activator.PLUGIN_ID);

try {
stream = FileLocator.resolve(url).openStream();
....
}

when i launch an Eclipse Application , the pluging works correctly ; but when i packaged my eclipse with my pluging
i got this error while i start it in headless mode :
exec] at org.eclipse.core.internal.runtime.Activator.getURLConverter( Activator.java:313)
[exec] at org.eclipse.core.runtime.FileLocator.resolve(FileLocator.jav a:227)

Any ideas

Thank you in advance


Zakarov
Previous Topic:Debugging a PDE with attached jar?
Next Topic:problem FileLocator
Goto Forum:
  


Current Time: Thu Apr 18 09:39:58 GMT 2024

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

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

Back to the top