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 #605937] 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


Zakarov
Previous Topic:problem FileLocator
Next Topic:Export plugin containg its own executable jar in its classpath
Goto Forum:
  


Current Time: Fri Apr 26 13:01:37 GMT 2024

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

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

Back to the top