Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Update site--plugin.xml problem
Update site--plugin.xml problem [message #152816] Tue, 04 November 2003 12:38 Go to next message
Eclipse UserFriend
Hello,

I've been working on deploying a set of plugins as a feature that can be
downloaded from an update site. I used an "Update Site" project to build the
update site and gather all of the plugins. Everything seems to work fine
there. However, when I try to use the Update Manager on another installation
of Eclipse (both are 2.1.1), something strange happens with one of my
plugin.xml files. For some reason, the name of the file gets changed to
plugin{randome digits}.xml--something like plugin9830034321.xml. I checked
the jar file that the file is packaged in, and everything seems fine there.
Is this a known bug, or what?
Re: Update site--plugin.xml problem [message #152839 is a reply to message #152816] Tue, 04 November 2003 14:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Del" <delmyers@cs.uvic.ca> wrote in message
news:bo8nd3$qc8$1@eclipse.org...
> Hello,
>
> I've been working on deploying a set of plugins as a feature that can be
> downloaded from an update site. I used an "Update Site" project to build
the
> update site and gather all of the plugins. Everything seems to work fine
> there. However, when I try to use the Update Manager on another
installation
> of Eclipse (both are 2.1.1), something strange happens with one of my
> plugin.xml files. For some reason, the name of the file gets changed to
> plugin{randome digits}.xml--something like plugin9830034321.xml. I checked
> the jar file that the file is packaged in, and everything seems fine
there.
> Is this a known bug, or what?

When a plugin is installed, its plugin.xml is first renamed to something
like you describe above. When everything went fine, during the commit phase,
the temp file name is renamed to plugin.xml.
I think this was a choice made in order to not let partially installed
plugins to break an existing configuration.

In your case, perhaps you have a plugin that is included by two features
nested in the same hierarchy.

-Dorian

>
>
Re: Update site--plugin.xml problem [message #152876 is a reply to message #152839] Tue, 04 November 2003 16:15 Go to previous messageGo to next message
Eclipse UserFriend
See below:

>
> "Del" <delmyers@cs.uvic.ca> wrote in message
> news:bo8nd3$qc8$1@eclipse.org...
> > Hello,
> >
> > I've been working on deploying a set of plugins as a feature that can be
> > downloaded from an update site. I used an "Update Site" project to build
> the
> > update site and gather all of the plugins. Everything seems to work fine
> > there. However, when I try to use the Update Manager on another
> installation
> > of Eclipse (both are 2.1.1), something strange happens with one of my
> > plugin.xml files. For some reason, the name of the file gets changed to
> > plugin{randome digits}.xml--something like plugin9830034321.xml. I
checked
> > the jar file that the file is packaged in, and everything seems fine
> there.
> > Is this a known bug, or what?
>
> When a plugin is installed, its plugin.xml is first renamed to something
> like you describe above. When everything went fine, during the commit
phase,
> the temp file name is renamed to plugin.xml.
> I think this was a choice made in order to not let partially installed
> plugins to break an existing configuration.
>
> In your case, perhaps you have a plugin that is included by two features
> nested in the same hierarchy.

No, I installed the feature on a fresh installation of Eclipse. I don't know
where the problem could be coming from.
Re: Update site--plugin.xml problem [message #153065 is a reply to message #152876] Wed, 05 November 2003 10:17 Go to previous message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Del" <delmyers@cs.uvic.ca> wrote in message
news:bo943c$a3e$1@eclipse.org...
>
>
> No, I installed the feature on a fresh installation of Eclipse. I don't
know
> where the problem could be coming from.
>

If you think this is a problem with update, please open a bug report and
provide all the info, including an update site that can be used to reproduce
the problem.

Thanks!
-dorian
Previous Topic:Creating a custom install handler
Next Topic:Mulitple module tabs in editor
Goto Forum:
  


Current Time: Tue Jul 15 03:38:53 EDT 2025

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

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

Back to the top