Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Cross-Platform Building with Tycho

the content of the delta pack is also included in the release train repository
http://download.eclipse.org/releases/indigo/ 

rather than creating a feature and building it with tycho to assemble your project's target platform,
it may be more straightforward to use the p2 mirror ant task/mojo/commandline app for this
http://wiki.eclipse.org/Tycho/Additional_Tools 

if you don't explicitly specify a filter, it will mirror artifacts for all platforms.

BTW if all you want is a stable target platform (and not a local mirror for performance reasons), 
you just need a .target file defining the IUs and versions that make up your target platform. 

Regards
Jan

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Timo Rohrberg
Sent: Freitag, 30. September 2011 16:09
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Cross-Platform Building with Tycho

Hello everybody,

interestingly, I could not find a solution to the following problem even though I was searching the web for quite a while.

I try to build my own Eclipse P2 repository mirroring a subset of the plugins of the "Eclipse Platform SDK" feature from the official Eclipse Indigo download source. The result is meant to be used as a stable target platform for my organization's own development process.

To achieve this, I created a new feature project listing the desired Eclipse plugins (e.g. org.eclipse.core.runtime) in its feature.xml. For the Maven Tycho configuration, I used the attached pom.xml file.

Now, Tycho fails to resolve platform-specific plugins, such as "org.eclipse.equinox.launcher.win32.win32.x86" since my operating system on which Tycho runs is a Win64 platform.

Unfortunately, I cannot include the Eclipse Delta Pack since Tycho seems to be unable to resolve from local directories. And anyways, I don't want to manually deploy the delta pack on the server system running Maven in a Jenkins environment.

Is there a way to tell Tycho to include all environment versions of plugins when resolving from the p2 repository configured above as Eclipse can be told with the "Include all environment" switch?

Do you have any ideas how to solve that issue in an elegant way...

Thanks for any hints.
Timo


Back to the top