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

Bug 341654

Summary: Tycho repositories enables if target-platform-configuration is omitted
Product: z_Archived Reporter: Tobias Oberlies <t-oberlies>
Component: TychoAssignee: Tobias Oberlies <t-oberlies>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Demostrate bug
none
Potential fix none

Description Tobias Oberlies CLA 2011-04-01 13:43:05 EDT
Created attachment 192372 [details]
Demostrate bug

The defaults are defined redundantly, and an empty target-platform-configuration yields a different result that no target-platform-configuration.

The latter is wrong: If the target-platform-configuration plug-in is not configured in the build section, ignoreTychoRepositories defaults to "false".
Comment 1 Tobias Oberlies CLA 2011-04-01 13:45:44 EDT
Created attachment 192374 [details]
Potential fix

This should fix the problem, although I haven't verified this. (Too late for me.) Also I would like to see this fixed more thouroghly: I would like to avoid that the defaults are specified redundantly.
Comment 2 Igor Fedorenko CLA 2011-04-02 00:51:19 EDT
Applied to master and tycho-0.11.x branches. For 0.12, we should consider getting rid of tycho repositories altogether.
Comment 3 Tobias Oberlies CLA 2011-05-17 03:49:35 EDT
I did some more refactorings to prevent this class of problems in the future. Closing the issue.