Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho build with 2 target platforms?

Hi all,

I’m guessing mixing target platforms is an unusual scenario and not something Tycho supports.

A parallel parent pom isn’t an option as the bundle poms reference a single parent pom; and presumably we can’t combine separate p2 repos with different Eclipse versions due the version conflict I’m already getting.

Seems like we’ll have to branch for the carbon build and abandon that platforms p2 update for hit-and-miss email notification. And all this brought on due to 3.7 osgi not coping with RSA signed jars!


On 10 May 2016, at 15:21, Justin Dolezy <justin.dolezy@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi all,

We need to do a final 3.x release before we release on e4 later this year however as we also have (a soon to be defunct) OSX carbon build we need to build again 3.7 for that and 3.8 for all other platforms.

I’ve just been trying to do this 2 <repositories> in the master pom and specifying specific versions in my own core feature where necessary (mainly for org.eclipse.equinox.launcher) however it’s failing at the end of the product build saying there’s a conflict with the equinox launcher plugin versions and that 'Only one of the following can be installed at once’, log pasted below.

- It sounds to me like it’s trying to tell me that this isn’t something I can do and that I’ll need to separate out the carbon build into it’s own pom? Is this the case or should it be possible to build using two targets at once?

- If I do need to separate it, I’m going to end up with 2 different p2 repos so unless I can combine the 2 I won’t be able to update the existing carbon user installs as we’ve been using the same update URL for all builds.. If I can recombine them how do I do this - will FeaturesAndBundlesPublisher with ‘-append’ do the trick?

Many thanks,
Justin Dolezy

[INFO] Installing product com.nd.main.product for environment win32/win32/x86 to /Volumes/ND Development/nd/ND1-trunk/java/ndeditor/plugins/com.nd.main.product/target/products/com.nd.main.product/win32/win32/x86
Installing com.nd.main.product 1.11.0.
Operation completed in 16414 ms.
[INFO] Installing product com.nd.main.product for environment macosx/cocoa/x86 to /Volumes/ND Development/nd/ND1-trunk/java/ndeditor/plugins/com.nd.main.product/target/products/com.nd.main.product/macosx/cocoa/x86
Installing com.nd.main.product 1.11.0.
Operation completed in 13053 ms.
[INFO] Installing product com.nd.main.product for environment macosx/carbon/x86 to /Volumes/ND Development/nd/ND1-trunk/java/ndeditor/plugins/com.nd.main.product/target/products/com.nd.main.product/macosx/carbon/x86
Installing com.nd.main.product 1.11.0.
Installation failed.
Cannot complete the install because of a conflicting dependency.
 Software being installed: ND 1.11.0 (com.nd.main.product 1.11.0)
 Only one of the following can be installed at once: 
  Equinox Launcher 1.3.0.v20120522-1813 (org.eclipse.equinox.launcher 1.3.0.v20120522-1813)
  Equinox Launcher 1.2.0.v20110502 (org.eclipse.equinox.launcher 1.2.0.v20110502)
 Cannot satisfy dependency:
  From: Base Platform Feature (
  To: org.eclipse.equinox.launcher [1.2.0.v20110502]
 Cannot satisfy dependency:
  From: ND 1.11.0 (com.nd.main.product 1.11.0)
  To: []
 Cannot satisfy dependency:
  From: ND 1.11.0 (com.nd.main.product 1.11.0)
  To: toolingcom.nd.main.product.application [1.11.0]
 Cannot satisfy dependency:
  From: toolingcom.nd.main.product.application 1.11.0
  To: toolingorg.eclipse.equinox.launcher [1.3.0.v20120522-1813]
 Cannot satisfy dependency:
  From: toolingorg.eclipse.equinox.launcher 1.3.0.v20120522-1813
  To: bundle org.eclipse.equinox.launcher 1.3.0.v20120522-1813
Application failed, log file location: /private/var/folders/_9/8jj1dbb16jv2j7lt466lxyh80000gn/T/config817211496874680013equinox/1462871740609.log

Back to the top