If you have 2 separate artifacts at the end anyway, why don’t you simply create an update site with the sources features, instead of a second version of the product? To me that
seems much more easy to consume for extenders of your product, or who else might need the source features.
Mit freundlichen Grüßen / Best regards
Michael Keppler
Engineering Application Software - Chapter CI/CD and Common Infrastructure Components
T +49 711 3423-2429
F +49 711 89661-0
Michael.Keppler@xxxxxxxx
ETAS GmbH, ETAS/ESW-CI
Borsigstraße 24, 70469 Stuttgart, Germany
www.etas.com
ETAS – Driving Embedded Excellence
Managing Directors: Christoph Hartung, Günter Gromeier, Götz Nigge
Chairman of the Supervisory Board: Dr. Walter Schirm
Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB 19033
Von: tycho-user <tycho-user-bounces@xxxxxxxxxxx>
Im Auftrag von stephane.fournier@xxxxxxxxxxxxxxx
Gesendet: Dienstag, 13. Juli 2021 14:52
An: tycho-user@xxxxxxxxxxx
Betreff: Re: [tycho-user] How to include generated source feature and bundle in a RCP app zip
Hi Mickael,
My .product file is not containing those source features. In the past with PDE, it was my application's feature that included its related source feature.
Then I had only one product file, through a property it was easy to build with or without source code generation.
With Tycho, it seems a feature that includes an optional feature corresponding to its source feature is not supported. Do you confirm ?
Because I want to build develop (includes source code) or release version (without source code) from the same product file through a maven property or profile.
I also tried tycho-packaging:product-export to change includeSources to true without success.
Do you have an idea how to manage that please ?
De : Mickael Istria <mistria@xxxxxxxxxx>
À : Tycho user list <tycho-user@xxxxxxxxxxx>
Sujet : Re: [tycho-user] How to include generated source feature and bundle in a RCP app zip
Date : 13/07/2021 14:13:33 Europe/Paris
It works fine for an update-site, but for an RCP app based on .product file, generated source feature & bundles are not included in produced zip file even if generated under target directories
Is your .product file containing references to those source features and bundles for inclusion? The product zips are built by resolving dependencies of the product, using p2 director; so if those source artifacts are not dependencies (either
directly or transitively), there is no reason that p2 director would decide to include them in the zips.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user