[
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
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
-----Original Message-----
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?
eg., https://github.com/jbosstools/jbosstools-server/blob/master/site/category.xml#L26
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:
https://wiki.eclipse.org/Minerva#Source
Hope that helps,
Nick
On Wed, Aug 30, 2017 at 12:23 PM, Luthiger Benno (ID SWS) <benno.luthiger@xxxxxxxxxx> wrote:
> Hello
>
>
>
> 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
> www.vogella.com/tutorials/EclipseTycho/article.html.
>
>
>
> Regards,
>
> Benno
>
>
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Nick Boldt :: Productization Lead :: JBoss Tools & Dev Studio :: Red Hat, Inc.
http://nick.divbyzero.com
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
Attachment:
smime.p7s
Description: S/MIME cryptographic signature