| Summary: | Category missing when trying to install plugin through update site | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Branko Drevensek <branko.drevensek> | ||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | pascal | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Branko Drevensek
I did the following: - Create a feature - Create a site - Add a category - Add the feature to the category - Build - look at the site everything was fine Then I: - Updated the version of the feature (from 1.0.0 to 1.2.0) - Added the feature to the category - Build the site - look at the site. Only the old content was shown, this is a known issue. - Restarted eclipse - look at the site everything was fine. I suspect the pb is that you are not adding again the feature to the category. Created attachment 204448 [details]
projects to show a problem
>Then I:
>- Updated the version of the feature (from 1.0.0 to 1.2.0)
>***- Added the feature to the category***
This way it also works for me. This fixes problems.
But update site definitely can become missing.
1) For my next test, I added dummy plugin into a feature.
2) Then rebuild site.
3) Restart.
4) Everything fine.
5) Bump plug-in version.
6) Rebuild site.
7) Restart.
8) Try to install. Feature in category is older version. New version only
visible if "group items by category" is cleared.
What I did, that completely removed category was: Delete all jars from features
& plugins subdirectory (in updatesite package explorer), and remove
artifacts.jar & contents.jar. Rebuild site. Now features are there, category
not.
I'm attaching my projects (above).
1) Just import them, then do "Build all" in "Update site map". Restart. Try to
install. No categories.
2) Remove features from side. Re-add. Rebuild. Restart. Install. Category is
fine.
3) Bump plug-in version. "Build all" in "Update site map". Restart. Try to
install. Old versions under category, new ones if you clear "group items".
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |