[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: How to execute an external program from a plugin
|
- From: Remy Chi Jian Suen <remy.suen@xxxxxxxxx>
- Date: Fri, 31 Oct 2008 07:19:27 +0100
- Newsgroups: eclipse.platform
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
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