Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » update site with multiple jars per plugin?
update site with multiple jars per plugin? [message #269909] Thu, 02 September 2004 22:56 Go to next message
Eclipse UserFriend
Originally posted by: jruud.parafora.com

One of our plugins consists mostly of 3rd party libraries (dozens of jars),
while our own code make up only ~10% of the total size. The problem is that
only one 15MB jar is created for the plugin when doing an update site build,
and the complete jar needs to be downloaded every time our code or one of
the 3rd party jars change.

Is there a way to set up an update site/build so that multiple jars are
created per plugin? We're looking for one jar for our stuff (built from
source) plus one per 3rd party jar.

Thanks, John
Re: update site with multiple jars per plugin? [message #269917 is a reply to message #269909] Fri, 03 September 2004 00:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

You'd better be creating one plugin by third party library and make your
plugin require those.

PaScaL

John Ruud wrote:

> One of our plugins consists mostly of 3rd party libraries (dozens of jars),
> while our own code make up only ~10% of the total size. The problem is that
> only one 15MB jar is created for the plugin when doing an update site build,
> and the complete jar needs to be downloaded every time our code or one of
> the 3rd party jars change.
>
> Is there a way to set up an update site/build so that multiple jars are
> created per plugin? We're looking for one jar for our stuff (built from
> source) plus one per 3rd party jar.
>
> Thanks, John
>
>
Re: update site with multiple jars per plugin? [message #270058 is a reply to message #269917] Fri, 03 September 2004 16:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jruud.parafora.com

Thanks Pascal, that would help (somewhat), but we would still need to
download 13.5MB every time any of the 33 3rd party libraries change. These
can probably be combined into ~20 plugin projects, but I won't try to set up
and maintain this unless I got no other choice. I guess the question is: do
update sites currently support a project being stored as more than one jar?

Thanks, John

"Pascal Rapicault" <pascal@ibm.canada> wrote in message
news:ch8eai$jq1$1@eclipse.org...
> You'd better be creating one plugin by third party library and make your
> plugin require those.
>
> PaScaL
>
> John Ruud wrote:
>
> > One of our plugins consists mostly of 3rd party libraries (dozens of
jars),
> > while our own code make up only ~10% of the total size. The problem is
that
> > only one 15MB jar is created for the plugin when doing an update site
build,
> > and the complete jar needs to be downloaded every time our code or one
of
> > the 3rd party jars change.
> >
> > Is there a way to set up an update site/build so that multiple jars are
> > created per plugin? We're looking for one jar for our stuff (built from
> > source) plus one per 3rd party jar.
> >
> > Thanks, John
> >
> >
Re: update site with multiple jars per plugin? [message #270075 is a reply to message #270058] Fri, 03 September 2004 18:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: manahan.NOSPAM.ca.ibm.com

John Ruud wrote:
> Thanks Pascal, that would help (somewhat), but we would still need to
> download 13.5MB every time any of the 33 3rd party libraries change. These
> can probably be combined into ~20 plugin projects, but I won't try to set up
> and maintain this unless I got no other choice. I guess the question is: do
> update sites currently support a project being stored as more than one jar?

If you are using 3.0 there is a new install handler called
org.eclipse.update.core.DeltaInstallHandler(I think thats the name). It
allows you to just provide a delta change to a plugin. So if only 3 of
the 33 jars changed you'd only have to download those three.

They seemed to have missed it from the API docs although the mention it
the feature manifest docs, am not sure why that is.


Peter
Re: update site with multiple jars per plugin? [message #270135 is a reply to message #270075] Fri, 03 September 2004 21:21 Go to previous message
Eclipse UserFriend
Originally posted by: jruud.parafora.com

Thanks, I'll check it out.

JR
"Peter Manahan" <manahan@NOSPAM.ca.ibm.com> wrote in message
news:chac6n$3sr$1@eclipse.org...
>
>
> John Ruud wrote:
> > Thanks Pascal, that would help (somewhat), but we would still need to
> > download 13.5MB every time any of the 33 3rd party libraries change.
These
> > can probably be combined into ~20 plugin projects, but I won't try to
set up
> > and maintain this unless I got no other choice. I guess the question is:
do
> > update sites currently support a project being stored as more than one
jar?
>
> If you are using 3.0 there is a new install handler called
> org.eclipse.update.core.DeltaInstallHandler(I think thats the name). It
> allows you to just provide a delta change to a plugin. So if only 3 of
> the 33 jars changed you'd only have to download those three.
>
> They seemed to have missed it from the API docs although the mention it
> the feature manifest docs, am not sure why that is.
>
>
> Peter
>
Previous Topic:Marker deletion problem
Next Topic:visibility - disable for certain extensions
Goto Forum:
  


Current Time: Thu Apr 25 04:42:42 GMT 2024

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

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

Back to the top