Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362894

Summary: Log warning noise: custom category p2 description property value is missing from generated content meta
Product: [Technology] CBI Reporter: Miles Daffin <miles.daffin>
Component: CBI p2 Repository AggregatorAssignee: CBI Inbox <cbi-inbox>
Status: RESOLVED WONTFIX QA Contact: David Williams <david_williams>
Severity: normal    
Priority: P3 CC: btickets, Ed.Merks, Kenn.Hussey, wayne.pascoe
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
B3 aggregation file which can be used to reproduce this issue. none

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