[
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,
Benno
-----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:
https://github.com/jbosstools/jbosstools-openshift/blob/master/site/category.xml
And the pom that builds it:
https://github.com/jbosstools/jbosstools-openshift/blob/master/site/pom.xml
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 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)?
>
> Regards,
> Benno
>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature