Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Are reproducible installs possible?
Are reproducible installs possible? [message #1782613] Tue, 27 February 2018 07:12 Go to next message
Christian Sl is currently offline Christian SlFriend
Messages: 3
Registered: February 2018
Junior Member
After installing a new Eclipse installation with a known working setup I noticed that my Maven Project(s) didn't import as before.
Its a multi module Maven Project with a hierarchical directory layout.
The Root Module got imported as an Eclipse Project but the submodules have been ignored.
Prior to that install all Maven Modules got imported by the "maven:MavenImportTask" setupTask as Eclipse Projects (all jar and web modules as seperate Eclipse Projects with enabled Maven integration).

During debugging I noticed something, both Eclipse installations did indeed still share the same none-Oomph related features in the same Version (as requested by the requirements):
Eclipse Platform                        4.7.2.v20171130-0510    org.eclipse.platform.feature.group                          Eclipse.org
Eclipse Platform                        4.7.2.M20171130-0510    org.eclipse.platform.ide                                    Eclipse.org
Eclipse RCP                             4.7.2.v20171130-0510    org.eclipse.rcp.feature.group                               Eclipse.org
JST Server Adapters                     3.2.400.v201711301708   org.eclipse.jst.server_adapters.feature.feature.group       Eclipse Web Tools Platform
JST Server Adapters Extensions          3.3.601.v201711301708   org.eclipse.jst.server_adapters.ext.feature.feature.group   Eclipse Web Tools Platform
m2e - Maven Integration for Eclipse...  1.8.2.20171007-0217     org.eclipse.m2e.feature.feature.group                       Eclipse.org - m2e
m2e-wtp - Maven Integration for WTP     1.3.3.20170823-1905     org.eclipse.m2e.wtp.feature.feature.group                   Eclipse.org - m2e-wtp


But they did differ in terms of their Oomph feature versions, as the older installation uses:
Oomph Setup JDT         1.9.0.v20171202-1121    org.eclipse.oomph.setup.jdt.feature.group       Eclipse Oomph Project
Oomph Setup Maven       1.9.0.v20171202-1121    org.eclipse.oomph.setup.maven.feature.group     Eclipse Oomph Project
Oomph Setup Projects    1.9.0.v20171202-1121    org.eclipse.oomph.setup.projects.feature.group  Eclipse Oomph Project
Oomph Setup SDK         1.9.0.v20171212-1515    org.eclipse.oomph.setup.sdk.feature.group       Eclipse Oomph Project


the newer one is using:

Oomph Setup JDT         1.9.0.v20171221-1140    org.eclipse.oomph.setup.jdt.feature.group       Eclipse Oomph Project
Oomph Setup Maven       1.9.0.v20171222-0933    org.eclipse.oomph.setup.maven.feature.group     Eclipse Oomph Project
Oomph Setup Projects    1.9.0.v20171221-1140    org.eclipse.oomph.setup.projects.feature.group  Eclipse Oomph Project
Oomph Setup SDK         1.9.0.v20171226-0549    org.eclipse.oomph.setup.sdk.feature.group       Eclipse Oomph Project


At first I didn't even notice that my Oomph feature versions had changed (as they still started with 1.9.0).
So, I tried to be smart and set those Features with their old version in my Oomph Product Setup Model (as additional requirements).
But alas the installer didn't care and continued to use the "latest" version of those features.
Using the "offline" mode after removing those versions from my local pool did not help because this got ignored by the installer (it still downloaded them again).

Right now it seems that any working setup model can break at any time in the future without changes to the model due to changes in the upstream repositories.

This leads me to the following question: "Is it possible to use Oomph for reproducible installs and if so, how?"

Any insight to this is highly appreciated.
Re: Are reproducible installs possible? [message #1782705 is a reply to message #1782613] Wed, 28 February 2018 07:05 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29545
Registered: July 2009
Senior Member
Likely you're just affected by the change to https://bugs.eclipse.org/bugs/show_bug.cgi?id=527388 and you could deal with that by changing your source locator's "located nested projects" feature to true, which would then continue to behave as before with any version of Oomph. And yes, we generally install the latest version of Oomph, but we do so using the value of the system property oomph.update.url with the default value http://download.eclipse.org/oomph/updates/milestone/latest
Re: Are reproducible installs possible? [message #1782782 is a reply to message #1782705] Thu, 01 March 2018 10:50 Go to previous message
Christian Sl is currently offline Christian SlFriend
Messages: 3
Registered: February 2018
Junior Member
Quote:
Likely you're just affected by the change to https://bugs.eclipse.org/bugs/show_bug.cgi?id=527388 and you could deal with that by changing your source locator's "located nested projects" feature to true

You are totally correct. After adding the attribute it did work as before. Thanks!
Previous Topic:How to set Workspce as default Oopmh Preference Recorder location from product catalog
Next Topic:Would like a eclipse-inst-win64.zip
Goto Forum:
  


Current Time: Sat Sep 22 18:57:11 GMT 2018

Powered by FUDForum. Page generated in 0.03615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top