Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-source-feature plugin should not force binary inclusion

main.sdk-feature will include main.feature, it will not include
main.plugin. The goal is to guarantee that only matching
main.feature/main.sdk-feature pair can be installed.

--
Regards,
Igor



On 12-02-03 4:48 AM, Max Rydahl Andersen wrote:

How do you guarantee main and sources features match if there is no
dependency between them?

Implemented solution makes sources feature *require* matching main
feature, but the two otherwise do not overlap. It is possible to install
just the main feature or both main+sources. If you believe there are
cases when this is going to cause installation failures, please provide
an example project that demonstrates the problem and I'll have a look.

what I understand from the bugzilla entry is that two features will be generated:

main.feature
     include main.plugin

main.sdk-feature
     include main.plugin
     include main-src.plugin

Correct ?

As I recall EPP did similar things and when it said it required main.feature
then when you tried installing main.sdk-feature then it would only allow one of them to be installed.

Maybe the problem was that only the latest -sdk feature was available so no matching setup found ?

/max

And, in any case, this is a stop-gap solution until proper source code
lookup is implemented in PDE. It really should not be necessary to
produce 'SDK' builds, sources bundles should be downloaded from artifact
repositories on as needed basis, like we do this in m2e.

--
Regards,
Igor

On 12-02-02 7:48 PM, Max Rydahl Andersen wrote:
Hi guys,

Just saw https://bugs.eclipse.org/bugs/show_bug.cgi?id=345234#c20
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=345234#c24

Please do *not* force binary inclusion.

The eclipse SDK's are evil and almost impossible to get to align up.

You really want to be able to install just the source features onto an existing installation.

With the current solution don't you get the dreadful "you can only install either feature A v1.2 as opposed to A.sdk v1.2" ?

/max
http://about.me/maxandersen



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

/max
http://about.me/maxandersen



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top