Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Building an update site for multiple OS/WS/Arch combinations

Hello,

 

We have a product, which consist of many plugins and features. This is available from an update site. Up till now, it has been built with Tycho on a Windows platform for win32 only.

We want to gradually make the product available for non-win32 platforms as well. We want to create an update site where the product can be downloaded on win32, linux and macosx.

 

The basic pattern that we use is to have one base plugin that defines an extension point. Then we have multiple plugins that contribute to that extension point, one for each supported platform.

These contributing plugins have their platform filter set and their pom.xml also have their environments set appropriately.

These platform specific plugins are referred in platform specific features. They also have their filter set and pom.xml configured.

Finally, there is an update site definition which points to the respective platform specific features.

 

To make it easier to test, I created a small set of plugins, features, etc… for only win32 and linux, just to get my head around how everything should be configured.

But when I build that on a win32.win32.x86_64 platform, the update site part of the build produces this error:

 

[INFO] ------------------------------------------------------------------------

[INFO] Building com.example.updatesite 1.0.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ com.example.updatesite ---

[INFO] Deleting D:\RMOB-1483\WorkspaceTestMultiplatform\com.example.updatesite\target

[INFO]

[INFO] --- tycho-packaging-plugin:0.20.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ com.example.updatesite ---

[INFO] The project's OSGi version is 1.0.0.201507300932

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @ com.example.updatesite ---

[INFO]

[INFO] --- tycho-p2-publisher-plugin:0.20.0:publish-products (default-publish-products) @ com.example.updatesite ---

[INFO] Cannot complete the request.  Generating details.

[INFO] Cannot complete the request.  Generating details.

[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true}

[ERROR] Cannot resolve project dependencies:

[ERROR]   Software being installed: com.example.updatesite raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT

[ERROR]   Missing requirement: com.example.updatesite raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT requires 'com.example.feature.application.win32.feature.group [1.0.0,1.0.1)' but it could not be found

[ERROR]

 

 

So it looks like it cannot find a win32-specific feature when it is resolving for linux?

 

My questions are:

-          Is it possible what we want: have one Tycho build build one update site which can be used for multiple OS/WS/Arch combinations?

-          Are there examples on how to accomplish that? (I looked, but I could not find them)

 

If necessary, I can make my set of example plugins, features, etc… available.

 

Thanks!

 

Marcel Romijn
Software Engineer
Rocket Software
Korte Parallelweg 1 • 3311 JN Dordrecht • Netherlands
Tel: +31 78 6322800 • Fax: +31 78 6138134
Email: mromijn@xxxxxxxxxxxxxxxxxx
Web: seagull.rocketsoftware.com

Twitter FacebookYouTube LinkedIn

 

 

================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ +1 800.966.3270 ■ +1 781.577.4321
Unsubscribe From Commercial Email – unsubscribe@xxxxxxxxxxxxxxxxxx
Manage Your Subscription Preferences - http://info.rocketsoftware.com/GlobalSubscriptionManagementEmailFooter_SubscriptionCenter.html
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================


This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you.

Back to the top