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

Bug 312636

Summary: Export installable features to zip file fails to create metadata for all exported features
Product: [Eclipse Project] PDE Reporter: Juergen Kindler <jkindler>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, curtis.windatt.public, pascal
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Juergen Kindler CLA 2010-05-12 10:34:15 EDT
When exporting multiple features as installable features to a zip file the generation metadata fails when this is done from the Eclipse IDE.

Only metadata for one feature is generated in the zip file.

Metadata generation works when the destination is a directory.

It looks like the feature export gets confused by the multiple parameters that it gets from the PDE UI.
Comment 1 Andrew Niefer CLA 2010-05-12 11:47:28 EDT
This probably belongs in UI but I will keep it here for now.
On export of multiple features, PDE/UI actually calls us on each feature seperately and the results are all appended into the same archive. 

Here, the last feature to go generates it own content.xml/artifacts.xml, which would then overwrite the previous feature's metadata in the archive.

Work arounds are export to a directory, or export a single feature that includes all the other features you are interested in.
Comment 2 Lars Vogel CLA 2018-12-03 09:07:02 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.