Re: [tycho-user] How to generate update site containing source code?
I had to understand that the empty subfolder /sourceTemplateFeature does the trick.
Thanks a lot,
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:
> 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)?
Description: S/MIME cryptographic signature