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

Bug 365553

Summary: Selection on "Content" tab of target files is silently ignored
Product: z_Archived Reporter: Tobias Oberlies <t-oberlies>
Component: TychoAssignee: Tobias Oberlies <t-oberlies>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: a_mergey
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Tobias Oberlies CLA 2011-12-05 04:04:49 EST
When interpreting target files, Tycho does not take the selection on the Content tab of the target editor into account. In case the selection is not the default, there should be a warning in the build log.

Supporting the selection on the Content tab is out of scope for this bug report. The use case of filtering content from the overall target platform is also covered by bug 356579.
Comment 1 Arnaud MERGEY CLA 2012-03-09 05:16:58 EST
"Supporting the selection on the Content tab is out of scope for this bug
report"

I understand it is not the scope of this bug to fix this, but are there any plan to have filtering throught target content tab selection ? (Even with 0.14 target platform filtering, having it supported, could avoid to define filters twice, in target file and pom file).
Comment 2 Tobias Oberlies CLA 2012-03-09 05:25:46 EST
Do you really manage to work with the content tab selection? I only tried it once, and the editor got totally out of step when I changed something else in the target platform... 

If you still think this would be useful feature, feel free to open a new enhancement request. I don't think that this will be implemented by the current Tycho committers though.
Comment 3 Arnaud MERGEY CLA 2012-03-09 08:07:09 EST
Yes I am using content tab selection, and I guess I am not the only one as there is a note about this in http://wiki.eclipse.org/Tycho/Target_Platform 
And even there is now a workaround I am sill thinking it would be useful.
I have created 373776 enhancement
Thanks.
Comment 4 Tobias Oberlies CLA 2012-05-25 04:59:47 EDT
There is now [1] a warning, if someone uses a target file and has de-selected some bundles on the Content tab of the Target Editor:

[WARNING] De-selecting bundles in a target definition file is not supported. See http://wiki.eclipse.org/Tycho_Messages_Explained#Target_File_Include_Bundles for details.

[1] http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=44acbe4b324dffe2f28d31a2f857da37fdcf232c