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

Bug 323837

Summary: root.feature does not have a name
Product: [Eclipse Project] PDE Reporter: Ben Vitale <bvitale3002>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer
Version: 3.6   
Target Milestone: 3.7 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch none

Description Ben Vitale CLA 2010-08-27 10:50:58 EDT
Build Identifier: 20100617-1415

After building my product against 3.6.0, I noticed there is a new nested feature listed in Installation Details called <yada yada>.root.feature.feature.group. As far as I can tell, this is intended and is from the work in bug 277824.

The problem is that the generated feature does not have a name or description so it just appears as an empty line in the dialog.

Reproducible: Always

Steps to Reproduce:
1. Build a product with PDE build.
2. Check the metadata for the .root.feature.feature.group IU.
Comment 1 Andrew Niefer CLA 2010-08-27 16:53:31 EDT
Created attachment 177647 [details]
patch

Patch takes gives the root feature a label based on the product name + " Root Files".

Alternatively, you can specify "generatedFeatureLabel" in the build.properties you are providing using the "generatedBuildProperties" property.

There is not a super story for externalizing this for translation, but you could specify a generatedFeatureLabel=%featureName and then arrange to copy a feature.properties file into the generated folder features/product.id.root.feature
during customTargets.xml/preGenerate
Comment 2 Andrew Niefer CLA 2010-08-27 16:54:04 EDT
done