| Summary: | manually created source feature FAILURE | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] CBI | Reporter: | Paul Webster <pwebster> | ||||||
| Component: | build help | Assignee: | CBI Inbox <cbi-inbox> | ||||||
| Status: | RESOLVED INVALID | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | benjamin.schwertfeger, igor, thanh.ha | ||||||
| Version: | 1.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 389985 | ||||||||
| Bug Blocks: | 386884 | ||||||||
| Attachments: |
|
||||||||
The manually created feature is at http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/tree/eclipse.platform.releng.tychoeclipsebuilder/org.eclipse.platform.source?h=R4_2_maintenance PW The feature.xml it's trying to create contains 3rd party orbit plugins, like:
<plugin id="com.jcraft.jsch.source" version="0.1.46.v201205102330" unpack="false"/>
Maybe tycho is failing on that.
PW
I removed the jsch plugin with the qualifier it didn't like. It still fails with the message:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator (default-build-qualifier-aggregator) on project org.eclipse.platform.source: Execution default-build-qualifier-aggregator of goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator failed: Feature /opt/pwebster/git/cbi/r4/eclipse.platform.releng.aggregator/eclipse.platform.releng/features/org.eclipse.rcp with id org.eclipse.rcp is not part of the project build target platform -> [Help 1]
Our feature.xml also has 2 feature includes:
<includes id="org.eclipse.rcp.source" version="0.0.0"/>
<includes id="org.eclipse.equinox.p2.user.ui.source" version="0.0.0" optional="true"/>
It appears to be failing on that.
PW
Created attachment 221406 [details] integration test to demonstrate the problem I've attached a small/standalone project that shows the problem. The problem has to do with including source features in other features and update sites. This currently does not work and there is no easy way to make this work due to the way tycho calculates project dependencies. See bug 353889 and comment in source feature metadata provider [1] for more info. Thanh, did we remove the manual source features in the end? So this isn't holding up our build transition? PW (In reply to comment #6) > Thanh, did we remove the manual source features in the end? So this isn't > holding up our build transition? > > PW Correct we use the automatic generation now and the manual ones were reverted. We don't have a usecase for this any more. PW |
Created attachment 221287 [details] mvn -X output for Building org.eclipse.platform.source. While trying to build org.eclipse.platform.source it fails during the aggregator build with: Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-build-qualifier-aggregator of goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator failed: Feature /home/paul/git-storage/git/cbi/r4/eclipse.platform.releng.aggregator/eclipse.platform.releng/features/org.eclipse.rcp with id org.eclipse.rcp is not part of the project build target platform In the -X output, it includes this just before it gives the failure summary: /eclipse.platform.releng.tychoeclipsebuilder/org.eclipse.platform.source [DEBUG] (f) execution = org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator {execution: default-build-qualifier-aggregator} [DEBUG] (s) format = 'v'yyyyMMdd-HHmm [DEBUG] (f) packaging = eclipse-feature [DEBUG] (f) project = MavenProject: org.eclipse.platform-feature:org.eclipse.platform.source:4.2.1-SNAPSHOT @ /home/paul/git-storage/git/cbi/r4/eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder/org.eclipse.platform.source/pom.xml [DEBUG] (f) session = org.apache.maven.execution.MavenSession@35213521 [DEBUG] (f) timestampProvider = jgit [DEBUG] -- end configuration -- [DEBUG] Could not parse qualifier timestamp v201205102330