Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to include generated source feature and bundle in a RCP app zip
  • From: "Keppler Michael (ETAS/ESW-CI)" <Michael.Keppler@xxxxxxxx>
  • Date: Wed, 14 Jul 2021 07:27:01 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; 1; spf=pass (sender ip is; dmarc=pass (p=reject sp=none pct=100) action=none; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CzbqRsQ2wUpVou2hXxY7rtp9rPx6kI7Tb495QLEpdqM=; b=XJ47vMv1JLYwjmnBVu2KRHQCRsdECmI0uFFS+HMzXr5RBLcP7bgveSelEeyvzmvyVBFC9Tv6H28Ry737PpGyNWsorNuwBR5H6Hl72UYH6x3QW18fLNSDajXMT82lIlGxAoswZ1FdGo8uD8noD9dAhef00psJQ5ZR1UzaKj3oqIjevlUt7ChEG2zzFaSCFwkiHwu829zP1i6PL4tqWQ2jGZTGicncItErLVoZVNSY2hD9gGCxlV6kVg5dQrZl6tOOlnKqJ7nakgosfYpW8Ntbpkh5iu2wVvhChjzU3pApmrTHXE31y6HYbLacRlFGdy/Sd/HOv26GYVAMChiJN0wIPQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=Kr1vIdwXYpratix8sUzcjGAUFoeDNPA6K8kHP5b0szUmhGGYNtpqebqPe9mQf3c+1KA99mKi3YU5Udext5xXdo59vxsWfx92V5JVHiYO/6nf5AkZVDkjEl5RUXpWxKerStuffkL15mh38RjxAlKxQgeeP+GY5qvx+MtN2gZx9JNEP4LXMsg62ro76ZvJTH31JDDBtqMtfH2QK39hV6ghPjmGIQztnJPxuijV7WCO1xIQMbF1AgzD0xuCgjzQa4u4fx6THcY2PZKfpjTLG/jcB2PHE3OmyfWqKGkDOsdv0bfi5SNMlCu/ylHz2NjIVCJULCoDUMJE3Es9d3L1J6tQuA==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Thread-index: AQHXd9fQi3r+dSmW20mmTAx8trp3Y6tAr8iAgAAKtoCAAVi2AA==
  • Thread-topic: [tycho-user] How to include generated source feature and bundle in a RCP app zip

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

Borsigstraße 24, 70469 Stuttgart, Germany

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



On Tue, Jul 13, 2021 at 1:10 PM <stephane.fournier@xxxxxxxxxxxxxxx> wrote:

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
To unsubscribe from this list, visit

Back to the top