Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Recognize changes to Install/Update site
Recognize changes to Install/Update site [message #115718] Mon, 25 August 2003 01:30 Go to next message
Greg Roberts is currently offline Greg RobertsFriend
Messages: 88
Registered: July 2009
Member
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 12:32 Go to previous messageGo to next message
Peter Manahan is currently offline Peter ManahanFriend
Messages: 131
Registered: July 2009
Senior Member
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 17:55 Go to previous message
Greg Roberts is currently offline Greg RobertsFriend
Messages: 88
Registered: July 2009
Member
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: Thu Dec 26 14:49:35 GMT 2024

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

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

Back to the top