feature shows as (disabled) in the install/update manager [message #56220] |
Fri, 25 July 2003 11:56 |
Eclipse User |
|
|
|
Originally posted by: no.spam.com
I have a feature with several plugins which I have installed as a
primary feature into a copy of 2.1.1 of Eclipse.
When I use the update manager to try to update this feature, when I
browse the Feature Updates view to my update site, it will not show any
versions to update unless I uncheck the "Show Matching Features Only"
option. How can I debug why it is deciding that my features don't match?
After unchecking that option, and clicking on the newer version I would
like to update to, the preview view shows my current version - 0.1.3 -
but it also says (disabled) next to the version. How do I figure out
why it is saying this? If I click the Update Now button, it later has
errors and fails - and I've been told its probably because it thinks its
disabled.
Here is part of the text from Help -> About -> Configuration details
(the lexgrid stuff is my feature):
*** Features:
lexgrid.org.ui.plugin (0.1.3) "lexgrid.org.ui.plugin"
org.eclipse.emf (1.1.0) "org.eclipse.emf"
org.eclipse.jdt (2.1.1) "org.eclipse.jdt"
org.eclipse.jdt.source (2.1.1) "org.eclipse.jdt.source"
org.eclipse.pde (2.1.0) "org.eclipse.pde"
org.eclipse.platform (2.1.1) "org.eclipse.platform"
org.eclipse.platform.source (2.1.1) "org.eclipse.platform.source"
org.eclipse.platform.win32 (2.1.1) "org.eclipse.platform.win32"
org.eclipse.platform.win32.source (2.1.1)
"org.eclipse.platform.win32.source"
org.eclipse.sdk.win32 (2.1.1) "org.eclipse.sdk.win32"
*** Plug-in Registry:
lexgrid-ui-extensions (0.1.3) "lexgrid-ui-extensions Plug-in"
lexgrid-ui-extensions.win32 (0.1.3) "Lexgrid Extensions Win32 Plug-in"
lexgrid-ui-model (0.1.3) "LexgridSchema_v21 Model"
lexgrid-ui-model.edit (0.1.3) "LexgridSchema_v21 Edit Support"
lexgrid-ui-model.editor (0.1.3) "LexgridSchema_v21 Editor"
lexgrid-ui-model.persistence (0.1.3) "Persistence"
lexgrid-ui-xmledit (0.1.3) "Lexgrid XMLEditor Plug-in"
lexgrid.org.ui.plugin (0.1.3) "LexGrid"
mir-base (0.1.3) "mir-base"
org.apache.ant (1.5.3) "Apache Ant"
org.apache.lucene (1.2.1) "Apache Lucene"
........
And this feature works correctly - except for not being able to update it.
Here is most of the feature.xml file from the version I have installed
(I stripped out things like the <copyright>..... etc.
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="lexgrid.org.ui.plugin"
label="Lexgrid"
version="0.1.3"
provider-name="Lexgrid.org"
plugin="lexgrid.org.ui.plugin"
os=""
ws=""
nl=""
image="lexgrid_update_120.jpg"
primary="true">
<description>
This plugin is for editing and creating terminologies.
</description>
<url>
<update label="Lexgrid" url="http://172.22.19.15/lexgrid/update"/>
<discovery label="Lexgrid" url="http://172.22.19.15/lexgrid/update"/>
</url>
<requires>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.pde.ui"/>
<import plugin="org.eclipse.emf.edit"/>
<import plugin="org.eclipse.emf.edit.ui"/>
<import plugin="org.eclipse.emf"/>
<import plugin="org.eclipse.emf.ecore"/>
<import plugin="org.eclipse.jface"/>
<import plugin="org.eclipse.emf.ecore.xmi"/>
<import plugin="org.eclipse.emf.common"/>
<import plugin="org.eclipse.emf.common.ui"/>
</requires>
<plugin
id="lexgrid.org.ui.plugin"
download-size="0"
install-size="0"
version="0.1.3"/>
<plugin
id="lexgrid-ui-extensions"
download-size="0"
install-size="0"
version="0.1.3"/>
<plugin
id="lexgrid-ui-extensions.win32"
download-size="0"
install-size="0"
version="0.1.3"/>
<plugin
id="lexgrid-ui-model"
download-size="0"
install-size="0"
version="0.1.3"/>
<plugin
id="lexgrid-ui-model.edit"
download-size="0"
install-size="0"
version="0.1.3"/>
<plugin
id="lexgrid-ui-model.editor"
download-size="0"
install-size="0"
version="0.1.3"/>
<plugin
id="lexgrid-ui-model.persistence"
download-size="0"
install-size="0"
version="0.1.3"/>
<plugin
id="lexgrid-ui-xmledit"
download-size="0"
install-size="0"
version="0.1.3"/>
<plugin
id="mir-base"
download-size="0"
install-size="0"
version="0.1.3"/>
</feature>
And finally, here is my site.xml file from my update site:
<?xml version="1.0" encoding="UTF-8"?>
<site>
<description url="172.22.19.15/update">
The Lexgrid Update Site
</description>
<feature url="features/lexgrid.org.ui.plugin_0.1.4.jar"
id="lexgrid.org.ui.plugin" version="0.1.4">
<category name="Lexgrid"/>
</feature>
<category-def name="Lexgrid" label="Lexgrid Update Site">
<description>
Where to update your lexgrid stuff
</description>
</category-def>
</site>
Can anyone give me some more tips about how to fix this? I've gone
around with it for a while, and can't find the piece I'm missing.
Thanks,
Dan
|
|
|
Powered by
FUDForum. Page generated in 0.02753 seconds