| Update Manager acting weird in RC2 [message #302834] |
Sun, 30 April 2006 02:00  |
Eclipse User |
|
|
|
Hi,
I have a feature containing several plug-ins. I distribute in both archive
and online Update site forms.
My problem is when I update from the zip file everything is ok. But when I
update over the wire, one of the plugins is delivered ok but never gets
"activated". Since that plug-in contains all of the UI contributions the
installed feature does not do much of anything.
There are no messages to be found in the log but I was able to find one
difference in the configuration when comparing an archive update vs an
online update:
here is a snippet from the configuration (archive update):
com.iw.plugins.spindle.core (3.3.0) "Spindle Core Plugin" [Active]
com.iw.plugins.spindle.docs (3.3.0) "Spindle 3 Documentation" [Resolved]
com.iw.plugins.spindle.ui (3.3.0) "Spindle UI plugin" [Active]
In this config the UI contributions of "Spindle UI plugin" are valid (they
work).
and here is the same snippet, showing the results of an online (update):
com.iw.plugins.spindle.core (3.3.0) "Spindle Core Plugin" [Resolved]
com.iw.plugins.spindle.docs (3.3.0) "Spindle 3 Documentation" [Resolved]
com.iw.plugins.spindle.ui (3.3.0) "Spindle UI plugin" [Installed]
In this config, no UI contributions from "Spindle UI plugin" are available.
note that the "Spindle UI plugin" is [Active] in the first case but only
[Installed] in the second.
What is the significance of [Installed] vs. [Resolved] vs [Active]? And
why would the state of the plug-in be different based on how the update
was performed?
"Spindle UI plugin" is the only one in the entire list that is [Installed]
and not [Resolved] or [Active].
I'm removing the plugins and features each test pass and restarting with
the -clean argument.
The online update site is complicated (in the SourceForge File Release
System) but the jars are identical (I xfer the archived site to SF,
extract the jars and then insert them into the SF FRS).
Geoff
PS. I can supply manifests and links to the files and jars if needed. Also
follows is a complete diff of Eclipse configurations (static update vs
online update)
Compare: (<)C:\Documents and Settings\GLONGMAN.GLONGMAN\My
Documents\ConfigStatic.txt (33179 bytes)
with: (>)C:\Documents and Settings\GLONGMAN.GLONGMAN\My
Documents\ConfigOnline.txt (33185 bytes)
1c1
< *** Date: Sun Apr 30 01:46:57 EDT 2006
---
> *** Date: Sun Apr 30 01:55:24 EDT 2006
21c21
< 179c_84
---
> 734_84
27c27
< eclipse.startTime=1146375992031
---
> eclipse.startTime=1146376494953
130,135c130,135
< com.iw.plugins.spindle.core (3.3.0) "Spindle Core Plugin" [Active]
< com.iw.plugins.spindle.docs (3.3.0) "Spindle 3 Documentation" [Resolved]
< com.iw.plugins.spindle.ui (3.3.0) "Spindle UI plugin" [Active]
< com.jcraft.jsch (0.1.27) "JSch" [Resolved]
< net.sf.solareclipse.ui (0.4.0.spindle-dep-7) "SolarEclipse UI" [Resolved]
< net.sf.solareclipse.xml.ui (0.4.0.spindle-dep-7) "XML Development Tools
UI" [Resolved]
---
> com.iw.plugins.spindle.core (3.3.0) "Spindle Core Plugin" [Resolved]
> com.iw.plugins.spindle.docs (3.3.0) "Spindle 3 Documentation" [Resolved]
> com.iw.plugins.spindle.ui (3.3.0) "Spindle UI plugin" [Installed]
> com.jcraft.jsch (0.1.27) "JSch" [Resolved]
> net.sf.solareclipse.ui (0.4.0.spindle-dep-6) "SolarEclipse UI" [Resolved]
> net.sf.solareclipse.xml.ui (0.4.0.spindle-dep-6) "XML Development Tools UI"
[Resolved]
195c195
< org.eclipse.pde.runtime (3.2.0.v20060427-0800) "Plug-in Development
Environment Runtime" [Active]
---
> org.eclipse.pde.runtime (3.2.0.v20060427-0800) "Plug-in Development
Environment Runtime" [Resolved]
247c247
< #Sun Apr 30 01:46:57 EDT 2006
---
> #Sun Apr 30 01:55:24 EDT 2006
253c253
< /instance/org.eclipse.ui.ide/platformState=1146375992713
---
> /instance/org.eclipse.ui.ide/platformState=1146376495651
304,305c304,305
< ID: com.iw.features.spindle, Version: 3.3.0
< ID: org.eclipse.platform.source, Version:
3.2.0.v20060427-2000-6XCZjLWsTFwIKIR
---
> ID: org.eclipse.platform.source, Version:
3.2.0.v20060427-2000-6XCZjLWsTFwIKIR
> ID: com.iw.features.spindle, Version: 3.3.0
309,310c309,310
< ID: org.eclipse.sdk, Version: 3.2.0.v20060413-1200
< ID: org.eclipse.pde.source, Version:
3.2.0.v20060427-2000-6zXJJzJlY9-GOLG
---
> ID: org.eclipse.pde.source, Version: 3.2.0.v20060427-2000-6zXJJzJlY9-GOLG
> ID: org.eclipse.sdk, Version: 3.2.0.v20060413-1200
|
|
|
|
Powered by
FUDForum. Page generated in 0.04027 seconds