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

Bug 273625

Summary: Mysterious feature jar files
Product: [Tools] GEF Reporter: Anthony Hunter <ahunter.eclipse>
Component: RelEngAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: clin, nboldt
Version: unspecified   
Target Milestone: 3.5.0 (Galileo) M7   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2009-04-24 14:29:03 EDT
When working on Bug 253852 , all of a sudden I started getting extra featre jar files in addition to the jar directories.

% ls -1d eclipse/features/org.eclipse.draw2d.*
eclipse/features/org.eclipse.draw2d.sdk_3.5.0.v20090422-2346-7A7E-8yD4DH8EAJ4EEGH5BC98x42/
eclipse/features/org.eclipse.draw2d.sdk_3.5.0.v20090422-2346-7A7E-8yD4DH8EAJ4EEGH5BC98x42.jar
eclipse/features/org.eclipse.draw2d.source_3.5.0.v20090422-2346-44-7w311A153303457/
eclipse/features/org.eclipse.draw2d.source_3.5.0.v20090422-2346-44-7w311A153303457.jar

I have no idea why this is and cannot identify any reason why this started.
Comment 1 Anthony Hunter CLA 2009-04-24 14:42:07 EDT
I could not figure this one out.

All I did to fix the issue in the zip files was to add these erroneous feature jar files to the exclude list in the ant tasks in the buildAll.xml

As in:

<zipfileset src="${buildDirectory}/${buildLabel}/${allZip}" dirmode="775" filemode="664" excludes="**/features/org.eclipse.*.jar">
 

Comment 2 Nick Boldt CLA 2009-04-24 15:06:32 EDT
I would guess they're generated as part of creating the jars for the p2 repo / update site zip. 

As I'm not clear which zip(s) prompted this bug report, you should verify that all 4 possibly-affected zips don't contain more than you expect:

+ GEF-ALL*.zip
+ the SDK zips (GEF, Draw2D, Zest)

Comment 3 Anthony Hunter CLA 2009-04-24 15:41:31 EDT
Yes, I cleaned out the feature jars out of *all* of the zips.