Discussion:
[tycho-user] Install a feature into an existing product
l***@laeubi-soft.de
2018-07-03 06:41:31 UTC
Permalink
I have a product that is build by tycho for linux,mac and win.
I now want to install a feature from an updatesite into this product
that is not part of the build (and I can't include it in the target)
like it is possible with the director application, but I haven't found a
way yet to do so.

What would work is to unpack the archive, call the director and repack
the product but I'm searching for a more convinient way that avoids this
additional steps.

So ideally I specify somewhere the updatesite, the IU and all is set
then in the final product.

Any hint would be welcome.
Mickael Istria
2018-07-03 07:08:39 UTC
Permalink
Post by l***@laeubi-soft.de
and I can't include it in the target
Why?
Have you considered using an additional .target or <repository> just in
your product pom.xml?
--
Mickael Istria
Eclipse IDE <https://www.eclipse.org/downloads/eclipse-packages/>
developer, for Red Hat Developers <https://developers.redhat.com/>
l***@laeubi-soft.de
2018-07-03 07:18:06 UTC
Permalink
Post by Mickael Istria
Post by l***@laeubi-soft.de
and I can't include it in the target
Why?
Thanks for your reply, the problem is that the feature defines some p2
actions in the install phase so the target can't resolve inside of
eclipse, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=536467
Post by Mickael Istria
Have you considered using an additional .target or <repository> just in
your product pom.xml?
I haven't used this yet, but the problem then is that the product show
in the IDE that the product config is incomplete (because the feature is
missing) what confuses developers :-)

I already tried to solve this with a p2.inf next to the product, but I
can't find a way to specify an additional updatesite to contact for that
feature, so the product build fails with
'Installable unit contains no artifacts [my.product.id]'

Loading...