Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Plugin packaging with platform dependent file
Plugin packaging with platform dependent file [message #156258] Thu, 13 November 2003 07:32 Go to next message
Eclipse UserFriend
Hi,

I'm preparing the distribution of my feature/plugins using the Update
Manager and the tips taken from the article "How To Keep Up To Date"
( http://www.eclipse.org/articles/Article-Update/keeping-up-to -date.html).

One of my plugins uses a file that is platform dependent.
Actually it's a ".dll" for w32 or a ".so" (one for each supported
platforms).

How do I manage this in the distribution? There might be some clean way to
do this, as this also happens with eclipse distribution (i.e. swt).

Thanks
Danilo
Re: Plugin packaging with platform dependent file [message #156326 is a reply to message #156258] Thu, 13 November 2003 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

You have to decide if you want to go the route of a separate feature for
each platform, or do you just want to ship all (of most) of the
platforms at once in the same plugin.

The advantage of separate features is that each downloader only gets
what they need for that platform. The disadvantage is it is a little
more complicated to build and maintain. This would normally be done if
there are significant sizes or complexity involved.

The advantage of all at once in one plugin is that it is simple to
distribute. The disadvantage is that the downloader gets for all
platforms instead of just the one of interest.

You need to decide, and then you can go from there.


--
Thanks, Rich Kulp

Re: Plugin packaging with platform dependent file [message #156401 is a reply to message #156258] Thu, 13 November 2003 14:44 Go to previous message
Eclipse UserFriend
This is totally possible, open up your feature.xml in the manifest
editor and go to the content tab. There should be a list of the plugins
and fragments that you want to include in the feature. Put all of the
plugins/fragments from all platforms into here.

Let's say you have a plugin named foo. You then have two fragments
foo.linux and foo.windows. Right click on foo.linux and go to
properties. In the properties in the bottom select the correct
attributes such as x86, linux, gtk, etc.

Do the same for windows but select values such as x86, win32, win32, etc.

-Phil

Danilo Tuler wrote:
> Hi,
>
> I'm preparing the distribution of my feature/plugins using the Update
> Manager and the tips taken from the article "How To Keep Up To Date"
> ( http://www.eclipse.org/articles/Article-Update/keeping-up-to -date.html).
>
> One of my plugins uses a file that is platform dependent.
> Actually it's a ".dll" for w32 or a ".so" (one for each supported
> platforms).
>
> How do I manage this in the distribution? There might be some clean way to
> do this, as this also happens with eclipse distribution (i.e. swt).
>
> Thanks
> Danilo
>
>
Previous Topic:org.eclipse.core.internal.plugins.PluginDescriptor can not access a member of class com.ibm.xst.data
Next Topic:Ant reports error for javadoc tag
Goto Forum:
  


Current Time: Thu Apr 24 00:21:07 EDT 2025

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

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

Back to the top