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

Bug 350455

Summary: Multiplatform build: Rootfiles & eclipse-repository
Product: z_Archived Reporter: Tobias Jenkner <tobias.jenkner>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jan.sievers
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Sample projects to reproduce the behaviour none

Description Tobias Jenkner CLA 2011-06-27 10:57:42 EDT
Build Identifier: Tycho 0.13.0-SNAPSHOT (2011-06-27) & Maven 3.0.3

Rootfiles are not contained in an eclipse-repository maven artifact if they are defined for a platform that does not match the platform on that the build is executed.

This problem has been discussed on the tycho-user mailing-list: http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00349.html

Reproducible: Always

Steps to Reproduce:
1. Define a feature that contains rootfile definitions for multiple platforms (e.g. windows and linux)
2. Define an eclipse-repository maven project that contains this feature
3. Set the target platform configuration to include all platforms for which rootfiles are defined.
4. Execute mvn package
Comment 1 Tobias Jenkner CLA 2011-06-27 11:04:04 EDT
Created attachment 198657 [details]
Sample projects to reproduce the behaviour

Build com.example.parent (on windows) and have a look in com.example.repository\target\repository\binary where the (linux) rootfiles are missing.
Comment 2 Jan Sievers CLA 2011-07-15 07:47:46 EDT
you got the order os.ws.arch wrong in build.properties.

According to [1] it should read

root.linux.gtk.x86=rootfiles_linux

instead of

root.gtk.linux.x86=rootfiles_linux

[1] http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_rootfiles.htm