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?
[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 1.2.6.201605052035 (com.nd.feature.platform.feature.group 1.2.6.201605052035)
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: com.nd.feature.platform.feature.group [1.2.6.201605052035]
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