Andrew Niefer wrote:
FileLocator#find(Bundle bundle, IPath path, Map override)
will return a URL for the entry in your bundle.
Then
FileLocator.toFileURL(URL)
will extract the entry to a cache (normally under the
configuration/org.eclipse.osgi directory) and return the URL to the
location on disk.
Andrew, how long is this cache alive for? Will the file be deleted
automagically or...?
> Stanley Hillner wrote:
>> if not, how can i export a plugin as a directory so that eclipse is
>> able to load the plugin like a jar (I just tried to extract the
>> contents of the exportet jar and add the directory to the
>> eclipse-plugin folder but as IÂve expected eclipse didnÂt load the
>> plugin).
There should be a way to export as a directory through the regular
export wizard, I've done it before (and continue to do it on occasions
when I need to update my application). I'm not sure how to do it through
pdebuild though.
Rem