Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Recognize changes to Install/Update site
Recognize changes to Install/Update site [message #115718] Sun, 24 August 2003 21:30 Go to next message
Eclipse UserFriend
I have created an Update site and I realize that if I change version
numbers in site.xml and feature.xml that this will cause the update
manager to recognize that there is an update to the site and allow me to
download it.
What if I just change 1 plugin from the site and it gets a new version
number? Do I still need to update my feature and my site.xml? I am
wondering what is the minimum I have to do to get the update manager to
recognize that there has been a change. It seems like a real hassle to
have to update version numbers all over the place if something small in
one plugin changes. I have this problem because I have 1 plugin that
houses data and will change all of the time while the rest of the plugins
should basically go unchanged.


Thank you,
Greg Roberts
Re: Recognize changes to Install/Update site [message #115914 is a reply to message #115718] Mon, 25 August 2003 08:32 Go to previous messageGo to next message
Eclipse UserFriend
With the setup you currently have, the minumum you need to do is update
the data,plugin.xml,feature.xml and site.xml. Using a plugin to house
data that frequently changes usually means that it shouldn't be a
plugin. You'd have multple versions of the plugin on the filesystem. So
if your data was 1 MB in size then with 10 changes you'd be taking up 10
MB worth of disk space.

You could use a separate feature instead, using a data tag and an
installhandler to place it into the filesystem. Then you would only have
to update the data, feature.xml and the site.xml. And it would save space.


Peter
Greg wrote:
> I have created an Update site and I realize that if I change version
> numbers in site.xml and feature.xml that this will cause the update
> manager to recognize that there is an update to the site and allow me to
> download it.
> What if I just change 1 plugin from the site and it gets a new version
> number? Do I still need to update my feature and my site.xml? I am
> wondering what is the minimum I have to do to get the update manager to
> recognize that there has been a change. It seems like a real hassle to
> have to update version numbers all over the place if something small in
> one plugin changes. I have this problem because I have 1 plugin that
> houses data and will change all of the time while the rest of the plugins
> should basically go unchanged.
>
>
> Thank you,
> Greg Roberts
>
Re: Recognize changes to Install/Update site [message #116373 is a reply to message #115914] Mon, 25 August 2003 13:55 Go to previous message
Eclipse UserFriend
Peter,
Thank you very much. That is exactly what I was looking for. I am going
to go ahead and put the data in another feature.

Thank you,
Greg Roberts

Peter Manahan wrote:

> With the setup you currently have, the minumum you need to do is update
> the data,plugin.xml,feature.xml and site.xml. Using a plugin to house
> data that frequently changes usually means that it shouldn't be a
> plugin. You'd have multple versions of the plugin on the filesystem. So
> if your data was 1 MB in size then with 10 changes you'd be taking up 10
> MB worth of disk space.

> You could use a separate feature instead, using a data tag and an
> installhandler to place it into the filesystem. Then you would only have
> to update the data, feature.xml and the site.xml. And it would save space.


> Peter
> Greg wrote:
> > I have created an Update site and I realize that if I change version
> > numbers in site.xml and feature.xml that this will cause the update
> > manager to recognize that there is an update to the site and allow me to
> > download it.
> > What if I just change 1 plugin from the site and it gets a new version
> > number? Do I still need to update my feature and my site.xml? I am
> > wondering what is the minimum I have to do to get the update manager to
> > recognize that there has been a change. It seems like a real hassle to
> > have to update version numbers all over the place if something small in
> > one plugin changes. I have this problem because I have 1 plugin that
> > houses data and will change all of the time while the rest of the plugins
> > should basically go unchanged.
> >
> >
> > Thank you,
> > Greg Roberts
> >
Previous Topic:Activating "print" button and menu selection
Next Topic:help me,thank you very much
Goto Forum:
  


Current Time: Mon May 05 16:14:30 EDT 2025

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

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

Back to the top