tycho icon indicating copy to clipboard operation
tycho copied to clipboard

Features missing in product build with Tycho 4

Open svcacct-swup-build opened this issue 2 years ago • 12 comments

Tycho version: 4.0.3 Maven: 3.9.5

If I build my complete RCP project from the parent POM which contains several gits/modules and a product, the features folder will be contain all references features. Correct behaviour! Yeeey.

target\products\com.xxxxxxxx.swup.ma.client.deviceupdate.testclient.product\win32\win32\x86_64\features\

  • com.xxxxxxxx.cs.client.common.feature_23.12.1.202311020929\
  • com.xxxxxxxx.swup.ma.client.deviceupdate.testclient.feature_23.12.1.202311020929\
  • cs.device.io.mtp.feature_23.12.1.202311020929\

But! If I only build the product (com.xxxxxxxx.swup.ma.client.deviceupdate.testclient.product) I get the following folder contents

target\products\com.xxxxxxxx.swup.ma.client.deviceupdate.testclient.product\win32\win32\x86_64\features\

  • com.xxxxxxxx.swup.ma.client.deviceupdate.testclient.feature_23.12.1.202311020944

Two of the features are missing.

svcacct-swup-build avatar Nov 02 '23 11:11 svcacct-swup-build

Same issue in 4.0.4.

selundqma avatar Nov 09 '23 16:11 selundqma

Built with this command line:

mvn clean install -U -Dtycho.localArtifacts=ignore

selundqma avatar Nov 14 '23 08:11 selundqma

Please keep in mind that if you build an individual product instead of a full reactor the items Tycho can 'see' differ and you maybe can get a different result. More details would require a reproducing test-case.

laeubi avatar Nov 14 '23 09:11 laeubi

Same issue in 4.0.5.

rubivu avatar Feb 13 '24 11:02 rubivu

Can you provide an integration-test to demonstrate the issue? Its quite hard to guess whats wrong with incomplete information.

laeubi avatar Feb 13 '24 11:02 laeubi

This PR reproduces the issue

ivumwd avatar Mar 01 '24 15:03 ivumwd

Are there any news/workarounds to this issue?

ivumwd avatar Mar 27 '24 13:03 ivumwd

No but the provided PR suceeds here, so it is hard to tell if there is an issue at all.

laeubi avatar Mar 27 '24 13:03 laeubi

The test I added (TYCHO2983siteWithPubishedFeatures) has somehow not been executed !

ivumwd avatar Mar 27 '24 15:03 ivumwd

Make sure it ends in Test as it otherwhise is maybe not picked up e.g. TYCHO2983siteWithPubishedFeaturesTest.java

laeubi avatar Mar 27 '24 15:03 laeubi

Any information on when this issue will be addressed?

ivumwd avatar Apr 25 '24 12:04 ivumwd

Any information on when this issue will be addressed?

I have not had yet time to look into this, but if it is crucial to your business you can find dedicated support options for Tycho here: https://github.com/eclipse-tycho/tycho#getting-support

laeubi avatar Apr 25 '24 13:04 laeubi