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 #604532] Tue, 09 February 2010 10:07 Go to next message
Lukas Zaruba is currently offline Lukas ZarubaFriend
Messages: 8
Registered: January 2010
Junior Member
Hi,
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 :(
Can anybody please give me some advise what to add into the build.properties or other files to accomplish this goal?

P.S.: I am trying to override bug described here http://www.eclipse.org/forums/index.php?t=rview&goto=510 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 #604558 is a reply to message #604532] Tue, 09 February 2010 16:47 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
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 http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundle 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.

Regards,
--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Previous Topic:Open in new window option is working but title is shown as <unknown Label>
Next Topic:Using JARs in Projects
Goto Forum:
  


Current Time: Thu Mar 28 23:01:23 GMT 2024

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

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

Back to the top