Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Exclude optional bundle dependencies

We had this problem a while ago but more with target platforms, where p2 would pull in the optional dependencies never the less they were optional. What we did is added a p2.inf file to the META-INF directory of each bundle with RAP dependencies with this content:

---------------
requires.0.namespace = osgi.bundle
requires.0.name = org.eclipse.rap.jface.databinding
requires.0.greedy = false
requires.0.optional = true

requires.1.namespace = osgi.bundle
requires.1.name = org.eclipse.rap.jface
requires.1.greedy = false
requires.1.optional = true

requires.2.namespace = osgi.bundle
requires.2.name = org.eclipse.rap.rwt
requires.2.greedy = false
requires.2.optional = true

requires.3.namespace = osgi.bundle
requires.3.name = org.eclipse.rap.ui.workbench
requires.3.greedy = false
requires.3.optional = true

requires.4.namespace = osgi.bundle
requires.4.name = org.pushingpixels.trident
requires.4.greedy = false
requires.4.optional = true

requires.5.namespace = osgi.bundle
requires.5.name = org.eclipse.rap.ui.forms
requires.5.optional = true
requires.5.greedy = false

requires.6.namespace = osgi.bundle
requires.6.name = org.eclipse.rap.ui
requires.6.optional = true
requires.6.greedy = false

requires.7.namespace = osgi.bundle
requires.7.name = org.eclipse.rap.ui.workbench
requires.7.optional = true
requires.7.greedy = false
---------------
Maybe that is also helpful for you

christian


-----Ursprüngliche Nachricht-----
Von: cross-project-issues-dev-bounces@xxxxxxxxxxx [mailto:cross-project-issues-dev-bounces@xxxxxxxxxxx] Im Auftrag von Markus Tiede
Gesendet: Mittwoch, 7. Dezember 2011 13:21
An: cross-project-issues-dev@xxxxxxxxxxx
Betreff: [cross-project-issues-dev] Exclude optional bundle dependencies

Hello Folks,

we, the Jubula team, are currently experiencing problems with the inclusion of optional bundles (RAP) dependencies when installing our feature into the IDE and / or packaging our feature for Juno "Eclipse for testers" (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=365865).

I am aware that there are multiple longish bugs filed on this topic but does any project actually have a working solution for this kind of problem?

With best regards,
MarkusT
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

-------------------------------------------------------------
compeople AG
Untermainanlage 8
60329 Frankfurt/Main
fon: +49 (0) 69 / 27 22 18 0
fax: +49 (0) 69 / 27 22 18 22
web: http://www.compeople.de/

Vorstand: Jürgen Wiesmaier
Aufsichtsratsvorsitzender: Christian Glanz

Sitz der Gesellschaft: Frankfurt/Main
Handelsregister Frankfurt HRB 56759
USt-IdNr. DE207665352
-------------------------------------------------------------



Back to the top