Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Don't pack Plug-In when deploying
Don't pack Plug-In when deploying [message #536076] Wed, 26 May 2010 17:34 Go to next message
Kai Schlamp is currently offline Kai Schlamp
Messages: 344
Registered: July 2009
Senior Member
Hi.

I export my RCP product by using the "Eclipse product export wizard". One of my Plug-Ins has some resource that is not functional when inside a packed jar. Can I specify somewhere that this Plug-In is not to be packed/jared?

Best regards,
Kai
Re: Don't pack Plug-In when deploying [message #536125 is a reply to message #536076] Thu, 27 May 2010 03:39 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 744
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi,

This may help: http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundle shape/
Comments on the blog post can also be useful.

--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Re: Don't pack Plug-In when deploying [message #536155 is a reply to message #536076] Thu, 27 May 2010 05:35 Go to previous messageGo to next message
Patrick Roumanoff is currently offline Patrick Roumanoff
Messages: 19
Registered: July 2009
Junior Member
the old way of doing this is to declare a feature containg your plugin. when you add a plugin to a feature there is an option (a checkbox entitled "Unpack this plugin archive after installation")

This is an option you can set or unset for each plugin in the feature.

I have used this capabilities succesfully a number of time.

as mentioned above using the Eclipse-BundleShape manifest header seems to be a newer option to achieve the same at the plugin level which is compatible with p2.

cheers,
p.
Re: Don't pack Plug-In when deploying [message #536626 is a reply to message #536125] Fri, 28 May 2010 19:02 Go to previous messageGo to next message
Alex Ignácio da Silva is currently offline Alex Ignácio da Silva
Messages: 23
Registered: July 2009
Junior Member
Hi all,

The Eclipse-BundleShape manifest header is not working for me, as well
as for other users who have made some comments in the blog post below.

So I opened the following bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=314962

Alex

On 05/27/2010 04:39 AM, Mickael Istria wrote:
> Hi,
>
> This may help:
> http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundle shape/
> Comments on the blog post can also be useful.
>
> --
> Mickael Istria - BonitaSoft S.A.
> http://www.bonitasoft.com/products/downloads.php
Re: Don't pack Plug-In when deploying [message #536825 is a reply to message #536626] Mon, 31 May 2010 03:52 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 744
Registered: July 2009
Location: Grenoble, France
Senior Member
Is your product feature-based?

--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Re: Don't pack Plug-In when deploying [message #536962 is a reply to message #536825] Mon, 31 May 2010 12:51 Go to previous messageGo to next message
Alex Ignácio da Silva is currently offline Alex Ignácio da Silva
Messages: 23
Registered: July 2009
Junior Member
Hi all,

> Is your product feature-based?

No, it's based on plug-ins.

Alex
Re: Don't pack Plug-In when deploying [message #537060 is a reply to message #536962] Tue, 01 June 2010 04:28 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 744
Registered: July 2009
Location: Grenoble, France
Senior Member
HI,

>> Is your product feature-based?
>
> No, it's based on plug-ins.

Do you use a recent version of Eclipse?
Another old-fashion way to skip packing is to create a META-INF/eclipse.inf file in your plugin, which contains a jarprocesor.exclude=true line.

--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Re: Don't pack Plug-In when deploying [message #537113 is a reply to message #537060] Tue, 01 June 2010 07:18 Go to previous messageGo to next message
Alex Ignácio da Silva is currently offline Alex Ignácio da Silva
Messages: 23
Registered: July 2009
Junior Member
Hi,

> Do you use a recent version of Eclipse?

I'm on 3.5.2.

> Another old-fashion way to skip packing is to create a
> META-INF/eclipse.inf file in your plugin, which contains a
> jarprocesor.exclude=true line.

Unfortunately neither jarprocesor.exclude=true nor
jarprocessor.exclude=true work for me. My plug-ins always end up being
exported as jar files...

Alex
Re: Don't pack Plug-In when deploying [message #537278 is a reply to message #537113] Tue, 01 June 2010 14:22 Go to previous message
Andrew Niefer is currently offline Andrew Niefer
Messages: 990
Registered: July 2009
Senior Member
Alex Ignácio da Silva wrote:

> Hi,
>
>> Do you use a recent version of Eclipse?
>
> I'm on 3.5.2.
>
>> Another old-fashion way to skip packing is to create a
>> META-INF/eclipse.inf file in your plugin, which contains a
>> jarprocesor.exclude=true line.
>
> Unfortunately neither jarprocesor.exclude=true nor
> jarprocessor.exclude=true work for me. My plug-ins always end up being
> exported as jar files...
>
> Alex

The jarprocessor options refer to pack200 processing which is unrelated to
this problem. (http://wiki.eclipse.org/Pack200)
Previous Topic:Deploy resources outside jars
Next Topic:Logging to a Console in an application
Goto Forum:
  


Current Time: Wed Aug 27 17:08:53 EDT 2014

Powered by FUDForum. Page generated in 0.02287 seconds