Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to generate update site containing source code?

Hello Nick

This worked!
I had to understand that the empty subfolder /sourceTemplateFeature does the trick.

Thanks a lot,

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Nick Boldt
Sent: Donnerstag, 31. August 2017 23:43
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] How to generate update site containing source code?

If you simply add both the feature and the source feature, you'll get both on the site.

Here's an example with both:

And the pom that builds it:

On Thu, Aug 31, 2017 at 6:48 AM, Luthiger  Benno (ID SWS) <benno.luthiger@xxxxxxxxxx> wrote:
> Hello
> 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 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 ""
> tycho-source-feature-plugin: source-feature creates a jar file " -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 -sources-feature.jar (and not
> Regards,
> Benno

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Back to the top