| Summary: | The product IU qualifier is not updated | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] CBI | Reporter: | Paul Webster <pwebster> | ||||||
| Component: | prototype | Assignee: | CBI Dummy user <cbi.prototype-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | igor, jan.sievers, t-oberlies, thanh.ha | ||||||
| Version: | 1.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 392716 | ||||||||
| Bug Blocks: | 372792 | ||||||||
| Attachments: |
|
||||||||
|
Description
Paul Webster
You can override the automatically computed qualifier by setting the parameter forceContextQualifier on the tycho-packaging-plugin. This is not as nice as an automatically computed qualifier based on the included products (requiring Tycho bug 392716), but it should be good as an intermediate solution. hmm... probably have to disable the jgit buildtimestamp provider and use the default instead (just for the product module).
Maybe something like
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<timestampProvider>default</timestampProvider>
</configuration>
</plugin>
(In reply to comment #3) > hmm... probably have to disable the jgit buildtimestamp provider and use > the default instead (just for the product module). > > Maybe something like > > <plugin> > <groupId>org.eclipse.tycho</groupId> > <artifactId>tycho-packaging-plugin</artifactId> > <version>${tycho-version}</version> > <configuration> > <timestampProvider>default</timestampProvider> > </configuration> > </plugin> Do we need the forceContextQualifier in addition to this or is just this is enough? No, just re-enabling the default timestampProvider should be enough. Created attachment 223723 [details]
product patch
Attached patch adds Jan's suggestion to the product pom files.
Created attachment 223963 [details]
product patch v2
I discussed with Paul this morning and we decided since buildId is being used to override the build qualifier in many parts of the build we should be using it to override here as well.
With this new patch we use "<format>'${buildId}</format>" to override the qualifier instead of calling the timestamp. ${buildId} is defined in eclipse-parent/pom.xml and can be overridden by passing -DbuildId=somebuildid on the commandline.
(In reply to comment #7) > Created attachment 223963 [details] > product patch v2 I've released this to 4.2.2, and started a test build PW |