Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I force an Eclipse plug-in to be unpacked?

My eclipse plug-in must be unpacked.

How can I enforce the installer to unpack it?

Will it be unpacked if the jar file is simply dropped into the plugins folder?

like image 794
user101725 Avatar asked May 28 '09 17:05

user101725


People also ask

Where are plugins stored in Eclipse?

As far as I know, Eclipse stores its plugins in its installation directory ( eclipse ). They might reside in eclipse/plugins or eclipse/dropins . You can copy the whole eclipse directory from your old box.

What is the use of plugins in Eclipse?

Plugins are the smallest deployable and installable software components of Eclipse. Each plugin can define extension-points which define possibilities for functionality contributions (code and non-code) by other plugins. Non-code functionality contributions can, for example, provide help content.


2 Answers

This can be chosen when configuring the feature including the plugin. Go to the plugin list, select your plugin and check "Unpack the plug-in archive after installation".

Arguably, this property should be defined by the plugin itself. There's a bug report about that https://bugs.eclipse.org/bugs/show_bug.cgi?id=157562

regards, Vlad

like image 53
Vlad Dumitrescu Avatar answered Jan 01 '23 22:01

Vlad Dumitrescu


You can set the Eclipse-BundleShape value in your MANIFEST.MF file to either jar (the default) or dir. If set to dir, it is deploy unpacked.

Eclipse-BundleShape: dir

http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundleshape

like image 29
Joseph Jaquinta Avatar answered Jan 01 '23 21:01

Joseph Jaquinta