Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321341 - subsequent Build All fail to show categories
Summary: subsequent Build All fail to show categories
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Ian Bull CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 321285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-30 09:25 EDT by Liviu Ionescu CLA
Modified: 2019-08-29 11:28 EDT (History)
6 users (show)

See Also:


Attachments
side to side comparison of good/bad generated files (4.59 KB, application/zip)
2010-07-30 09:32 EDT, Liviu Ionescu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liviu Ionescu CLA 2010-07-30 09:25:35 EDT
Build Identifier: 20100617-1415

The first Build All for an update site project works just fine, but subsequent builds damage the categories. This means that the generated update site is correct only after the first build. Cleaning it and running Build All for the second/third/etc time generates different content/artifacts.xml, making Eclipse not recognize the categories.



Reproducible: Always

Steps to Reproduce:
1. create an update site project, add a category and a feature
2. build the project
3. use it as an update site; the category will be visible
4. clear the project (remove the .jar files from features/*.jar, plugins/.jar, artifacts.jar, content.jar)
5. build again the project
6. use it as an update site; the category will NOT be visible
7. clear the project (remove the .jar files from features/*.jar, plugins/.jar, artifacts.jar, content.jar)
8. in the site.xml graphical window, remove the feature below the category
9. add again the feature
10. build the project
11. use it as an update site; the category will again be visible!!!
Comment 1 Liviu Ionescu CLA 2010-07-30 09:32:12 EDT
Created attachment 175575 [details]
side to side comparison of good/bad generated files

the archive contains artifacts.xml/content.xml for the first and second build.

there are obvious differences between them, from the order of elements to more complex differences.
Comment 2 Ian Bull CLA 2010-08-04 18:06:17 EDT
*** Bug 321285 has been marked as a duplicate of this bug. ***
Comment 3 Ian Bull CLA 2010-08-05 13:07:17 EDT
Let me see what's going on here.  I'm not sure if this is a PDE thing or a p2 thing.
Comment 4 John Arthorne CLA 2011-01-24 10:31:27 EST
Ian please update the target milestone.
Comment 5 Ian Bull CLA 2011-02-25 18:44:15 EST
Sorry, I've not had a chance to look at this.
Comment 6 Sam Davis CLA 2011-09-12 19:27:31 EDT
When creating update sites in this way, I find that the categories show up only occasionally, and not necessarily the first time I build the site.
Comment 7 Mat Vidal CLA 2013-05-24 13:49:01 EDT
This bug make me crazy ... how "update site" project can be used ???!!!
Comment 8 Sam Davis CLA 2013-05-24 14:19:03 EDT
Yeah, this is a serious bug IMO.
Comment 9 Eclipse Genie CLA 2019-08-29 11:18:08 EDT
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.
Comment 10 Liviu Ionescu CLA 2019-08-29 11:28:53 EDT
I'm not able to test it right now due to a reinstalling blues... :-(

Perhaps someone else can check?