One supplement:
If I do not include the platform-specific feature in the .target file but as a p2-repository entry in my pom.xml, the target platform can be resolved.
Having that I can build my P2 repository with the help of Mickael's link.
So the root issue is that the target platform cannot be resolved, if it includes a platform-specific feature and at least one environment in the target-platform-configuration doesn't match that platform filter.
Kind regards
Oliver
Von: "Oliver Libutzki" <oliver@xxxxxxxxxxx>
An: "tycho-user" <tycho-user@xxxxxxxxxxx>
Gesendet: Donnerstag, 12. Juli 2018 14:04:23
Betreff: Re: [tycho-user] Target platform with platform specific features
Hi Mickael,
thanks for documenting this feature. Unfortunately my problem is a little bit different.
I have a problem resolving my target platform, because one of the ius in my .target file is platform specific (Windows). Whenever at least one non-win32 environment is configured in target-platform-configuration, the build fails.
I just would like to ignore the iu, if the platform filter doesn't match. Any ideas?
Kind regards
Oliver
Von: "Mickael Istria" <mistria@xxxxxxxxxx>
An: "tycho-user" <tycho-user@xxxxxxxxxxx>
Gesendet: Donnerstag, 12. Juli 2018 10:30:12
Betreff: Re: [tycho-user] Target platform with platform specific features
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user