Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Multiplatform build: Rootfiles & eclipse-repository

Hi Jan,

I think I use the correct groupIds and artifactIds:
	<groupId>org.eclipse.tycho</groupId>
	<artifactId>target-platform-configuration</artifactId>
don't I?

Also the eclipse-repository POM inherits from my parent POM where this
target-platform-configuration is done, and help:effective-pom for the
eclipse-repository POM lists this target-platform-configuration.

I have setup a sample project to reproduce this. Maybe I can provide
it to you and you can have a look at it?

Thanks for your help,
Tobias.


2011/6/14 Sievers, Jan <jan.sievers@xxxxxxx>:
> could it be that your eclipse-repository POM does not inherit from the POM where you configured the environments?
> Also, did you double-check you are using the correct groupIds and artifactIds for configuring tycho?
>
> Otherwise the configuration may have no effect.
>
> Also see http://wiki.eclipse.org/Tycho_Release_Notes/0.12
>
> mvn help:effective-pom output may be useful.
>
> Not related to this problem, but
>
>                                        <source>1.6</source>
>                                        <target>1.6</target>
>
> doesn't make sense for target-platform-configuration.
>
> Regards,
> Jan
>
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Tobias Jenkner
> Sent: Dienstag, 7. Juni 2011 13:07
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] Multiplatform build: Rootfiles & eclipse-repository
>
> Hi all,
>
> I try to build a p2 repository
> (<packaging>eclipse-repository</packaging>) that contains features
> with rootfiles for multiple platforms.
> But so far the resulting repository only contains the rootfiles for
> the platform on which I run the build (win32,win32,x86_64).
>
> The target-platform-configuration looks like this:
>                                        <resolver>p2</resolver>
>                                        <pomDependencies>consider</pomDependencies>
>                                        <source>1.6</source>
>                                        <target>1.6</target>
>                                        <environments>
>                                                <environment>
>                                                        <os>linux</os>
>                                                        <ws>gtk</ws>
>                                                        <arch>x86</arch>
>                                                </environment>
>                                                <environment>
>                                                        <os>linux</os>
>                                                        <ws>gtk</ws>
>                                                        <arch>x86_64</arch>
>                                                </environment>
>                                                <environment>
>                                                        <os>win32</os>
>                                                        <ws>win32</ws>
>                                                        <arch>x86</arch>
>                                                </environment>
>                                                <environment>
>                                                        <os>win32</os>
>                                                        <ws>win32</ws>
>                                                        <arch>x86_64</arch>
>                                                </environment>
>
> I also tried to set <allowConflictingDependencies> to true but this
> also had no effect.
> Do you have any clues, what I do wrong?
>
> Thanks in advance,
> Tobias.
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>


Back to the top