Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features missing in product build with Tycho 4 #2983

Open
svcacct-swup-build opened this issue Nov 2, 2023 · 12 comments
Open

Features missing in product build with Tycho 4 #2983

svcacct-swup-build opened this issue Nov 2, 2023 · 12 comments

Comments

@svcacct-swup-build
Copy link

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.

@selundqma
Copy link
Contributor

Same issue in 4.0.4.

@selundqma
Copy link
Contributor

Built with this command line:

mvn clean install -U -Dtycho.localArtifacts=ignore

@laeubi
Copy link
Member

laeubi commented Nov 14, 2023

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.

@rubivu
Copy link

rubivu commented Feb 13, 2024

Same issue in 4.0.5.

@laeubi
Copy link
Member

laeubi commented Feb 13, 2024

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

ivumwd added a commit to ivumwd/tycho that referenced this issue Mar 1, 2024
@ivumwd
Copy link

ivumwd commented Mar 1, 2024

This PR reproduces the issue

ivumwd added a commit to ivumwd/tycho that referenced this issue Mar 1, 2024
@ivumwd
Copy link

ivumwd commented Mar 27, 2024

Are there any news/workarounds to this issue?

@laeubi
Copy link
Member

laeubi commented Mar 27, 2024

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

@ivumwd
Copy link

ivumwd commented Mar 27, 2024

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

@laeubi
Copy link
Member

laeubi commented Mar 27, 2024

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

@ivumwd
Copy link

ivumwd commented Apr 25, 2024

Any information on when this issue will be addressed?

@laeubi
Copy link
Member

laeubi commented Apr 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants