Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to export plugin as directory instead of zip using PDE headless
How to export plugin as directory instead of zip using PDE headless [message #513188] Tue, 09 February 2010 10:07 Go to next message
Lukas Zaruba is currently offline Lukas ZarubaFriend
Messages: 8
Registered: January 2010
Junior Member
I need to export one of the bundles as a directory in the similar manner that org.eclipse.platform is deployed in the SDK platform (and probably also on the other places). I have spent few hours googling but no result Sad
Can anybody please give me some advise what to add into the or other files to accomplish this goal?

P.S.: I am trying to override bug described here 234#msg_510234If while this happens only in one plugin (the biggest one)

Thanks in advanced
Re: How to export plugin as directory instead of zip using PDE headless [message #513297 is a reply to message #513188] Tue, 09 February 2010 11:58 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 863
Registered: July 2009
Location: Grenoble, France
Senior Member

There are several way of achieving it:
If you have a feature, you can check the "Unpack the plugin archive" for your bundle in the feature editor, where you can set the version and size for your bundle. This will simply add an unpack=true attribute to your plugin in the feature.xml
OR you can set the Eclipse-BundleShape to dir in your plugin's MANIFEST.MF. See shape/

Note that if you intend to add your plugin to a RCP that use a plugin-based definitions or to distribute it independently of a feature, you'll have to use the "Eclipse-BundleShape: dir", since you won't have a feature to rely on.

Mickael Istria - BonitaSoft S.A.
Previous Topic:Problems with p2 categorizing in headless build / Repository not modifiable
Next Topic:Open in new window option is working but title is shown as <unknown Label>
Goto Forum:

Current Time: Mon Aug 08 17:36:50 GMT 2022

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

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

Back to the top