Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350455 - Multiplatform build: Rootfiles & eclipse-repository
Summary: Multiplatform build: Rootfiles & eclipse-repository
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 10:57 EDT by Tobias Jenkner CLA
Modified: 2021-04-28 16:55 EDT (History)
1 user (show)

See Also:


Attachments
Sample projects to reproduce the behaviour (4.21 KB, multipart/x-zip)
2011-06-27 11:04 EDT, Tobias Jenkner CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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