Re: [tycho-user] How to generate update site containing source code?
Thanks a lot for the fast response and the valuable hints.
I’ve made some progress but I’m still not done. I’ve create a feature for the sources as described on https://wiki.eclipse.org/Minerva#Source. I’ve created a feature.xml and added the bundles whose source code I’d like to be distributed. Running Maven, I see two jar files created while the feature project is processed:
tycho-packaging-plugin: package-feature creates a jar file "feature.name-1.0.0-SNAPSHOT.jar"
tycho-source-feature-plugin: source-feature creates a jar file "feature.name-1.0.0-SNAPSHOT -sources-feature.jar"
The latter seems the one I’m interested in.
How do I add the feature to the update site’s category.xml in a way the tycho build process creates the update site using feature.name-1.0.0-SNAPSHOT -sources-feature.jar (and not feature.name-1.0.0-SNAPSHOT.jar)?
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Nick Boldt
Sent: Mittwoch, 30. August 2017 18:50
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] How to generate update site containing source code?
Have you tried adding the source features to the update site's category.xml?
If you're not generating source features, you can add <bundle>s to the update site directly.
If you ARE generating source features, make sure you've done all the steps here:
Hope that helps,
On Wed, Aug 30, 2017 at 12:23 PM, Luthiger Benno (ID SWS) <benno.luthiger@xxxxxxxxxx> wrote:
> How can I build a Plug-in/Feature based product with Tycho that
> generates an update site containing the bundles’ source code?
> I’ve configured both the “tycho-source-plugin” and the
> “tycho-source-feature-plugin”. The jars containing the bundles’ source
> code are created (in the Plug-in projects’ target directory). However,
> they are not assembled in the update site’s target directory.
> Note: I’ve set up a Tycho project structure as proposed on
> tycho-user mailing list
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
Nick Boldt :: Productization Lead :: JBoss Tools & Dev Studio :: Red Hat, Inc.
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
Description: S/MIME cryptographic signature