Can't help with that. From what I've observed, both approaches yield
identical results.
2014-11-21 11:38 GMT+02:00 lijiang <***@hotmail.com>:
> @anton
> I find a problem about the solution with p2.inf.
> By this solution the sub features can be installed (I use directly the
> 'install new softwares' to install, eclipse says that it exists already and
> it will be updated). It works right, but the icon is only 'feature' icon
> insteadof 'update' icon.
> If I use 'Check for Updates', eclipse says 'no update were found'.
>
> Did I something wrong?
>
> ------------------------------
> From: ***@hotmail.com
> To: tycho-***@eclipse.org
> Date: Thu, 20 Nov 2014 17:22:32 +0100
>
> Subject: Re: [tycho-user] Problem about installMode="root"
>
> @anton
> Thank you very much. I have tried your solution without 'installMode'. It
> works fine. [image: Emoji]
>
> regards
>
> ------------------------------
> From: ***@gmail.com
> Date: Thu, 20 Nov 2014 16:36:20 +0200
> To: tycho-***@eclipse.org
> Subject: Re: [tycho-user] Problem about installMode="root"
>
> Products built with features without installMode="root" will have a single
> root product feature and all installed features will be dependencies of
> this root feature.
> In order to update any of the dependencies, one would need to update the
> whole prooduct. I also struggled with this for some time and I didn't find
> a good way to manage such configuration.
>
> Before installMode="root" got implemented I used <product>.p2.inf which
> basically achieves the same result:
>
> requires.1.namespace = org.eclipse.equinox.p2.iu
> requires.1.name = org.eclipse.epp.package.jee.feature.feature.group
> requires.1.range = [1.4.2, 2.0.0)
>
> requires.2.namespace = org.eclipse.equinox.p2.iu
> requires.2.name =
> com.tetrade.eclipse.plugins.easyshell.feature.feature.group
> requires.2.range = [1.4.1, 2.0.0)
>
> requires.3.namespace = org.eclipse.equinox.p2.iu
> requires.3.name = org.eclipse.m2e.feature.feature.group
> requires.3.range = [1.3.0, 2.0.0)
>
> ...
>
>
> 2014-11-20 16:17 GMT+02:00 lijiang <***@hotmail.com>:
>
> @ anton
> What does "hard dependency" mean? Do you mean, that the old version
> products will never be supported by updating the sub features?
>
> ------------------------------
> From: ***@gmail.com
> Date: Thu, 20 Nov 2014 15:49:23 +0200
> To: tycho-***@eclipse.org
> Subject: Re: [tycho-user] Problem about installMode="root"
>
> Support of installMode means that product definition editor will retain it
> on consequent edits. Previously it removed them completely on save.
> There is no UI for adding this attribute since this is a tycho specific
> feature.
>
> Features installed without this attribute become a hard dependency of the
> root product feature.
>
> 2014-11-20 15:41 GMT+02:00 lijiang <***@hotmail.com>:
>
> hello eveyone,
>
> we have built our Product with Tycho 0.20.0 , but met a problem by
> updating the sub features. There are many issues about it in internet. We
> have also resolved this problem by manually inserting ' installMode="root"
> ' into the product definition. But I have still two questions:
>
> Question 1:
> Which eclipse version supports the 'installMode' directly in product
> definition editor? We won't edit the file manually everytimes.
> Google says from Luna M7. But we use the newest Luna SR1 (Build id:
> 20140925-1800) and it seems not to be supported. Do you know any solutions?
>
> Question 2:
> We have released some old version products. They were built without '
> installMode="root" '. How can they support the updating of sub features?
> Can we configure the 'installMode' anywhere within the product? Or any
> other solutions?
>
>
> best regards
>
> Jiang
>
> _______________________________________________
> tycho-user mailing list
> tycho-***@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
>
>
> --
> Regards,
> Anton.
>
> _______________________________________________ tycho-user mailing list
> tycho-***@eclipse.org To change your delivery options, retrieve your
> password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
> _______________________________________________
> tycho-user mailing list
> tycho-***@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
>
>
> --
> Regards,
> Anton.
>
> _______________________________________________ tycho-user mailing list
> tycho-***@eclipse.org To change your delivery options, retrieve your
> password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
> _______________________________________________ tycho-user mailing list
> tycho-***@eclipse.org To change your delivery options, retrieve your
> password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
> _______________________________________________
> tycho-user mailing list
> tycho-***@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
--
Regards,
Anton.