Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362894 - Log warning noise: custom category p2 description property value is missing from generated content meta
Summary: Log warning noise: custom category p2 description property value is missing f...
Status: RESOLVED WONTFIX
Alias: None
Product: CBI
Classification: Technology
Component: CBI p2 Repository Aggregator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: CBI Inbox CLA
QA Contact: David Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 08:16 EDT by Miles Daffin CLA
Modified: 2022-09-01 09:49 EDT (History)
4 users (show)

See Also:


Attachments
B3 aggregation file which can be used to reproduce this issue. (1.60 KB, text/plain)
2011-11-04 08:18 EDT, Miles Daffin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Daffin CLA 2011-11-04 08:16:15 EDT
Build Identifier: 

See lots of warnings like this in the log:

Error in file:/Q:/eclipseide/eval/checkstyle/build/final/content.jar at line 256, column 62: Missing required attribute in "property": value

The error seems to come consistently from XML describing custom categories. If these lack a description the org.eclipse.equinox.p2.description property element is added anyway with no value (see below for an example).

    <unit id='Checkstyle' version='0.0.0.530cJVvvE31221_2_3148'>
      <properties size='3'>
        <property name='org.eclipse.equinox.p2.name' value='Checkstyle'/>
        <property name='org.eclipse.equinox.p2.description'/>
        <property name='org.eclipse.equinox.p2.type.category' value='true'/>
      </properties>



Reproducible: Always

Steps to Reproduce:
1. Build the attached Aggregator model.
2. Add the resulting repo to your P2 UI and press reload..
3. Check the log for a property warning.
Comment 1 Miles Daffin CLA 2011-11-04 08:18:13 EDT
Created attachment 206461 [details]
B3 aggregation file which can be used to reproduce this issue.
Comment 2 David Williams CLA 2016-09-16 15:43:30 EDT
[Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI.]
Comment 3 Ed Merks CLA 2022-09-01 09:49:33 EDT
This is old the example no longer works.

New update sites are listed here in the readme:

https://github.com/eclipse-cbi/p2repo-aggregator#-p2-repository-aggregator

Issues should be reported here:

https://github.com/eclipse-cbi/p2repo-aggregator/issues