Hello Richard,
Thank you for your answer.
I actually tried it.
I have a directory where I put all my bundles in and which I use as the
repository.
I then start the OSGi runtime (in my case equinox) plus the necessary bundles
for OBR handling
within eclipse with the help of a run configuration.
By saying
"If your local system bundle exports javax.swing"
do you mean that if I would start felix with a configuration file that includes
org.osgi.framework.system.packages=
${jre-${java.specification.version}}
plus all java platform package export properties like
jre-1.3=, \
javax.accessibility; \
javax.accessibility.resources; \
javax.naming; \
.....
Then the OBR Resolver should find it from the system bundle?
Thank you again for your help,
Michael
-----------------------------------------------------------------------------------
"The man saying it cannot be done should not stop the man doing it!"
Michael Hampel mailto:[EMAIL PROTECTED]
Siemens IT Solutions and Services http://www.pse.siemens.at
Program and System Engineering, PSE KB C4
Wolfgang Pauli-Straße 2 Phone: +43 (0) 51707-65235
A-4020 Linz, Austria Fax: +43 (0) 51707-59647
Company Name: Siemens Aktiengesellschaft Österreich
Legal Form: Stock Corporation
Company Seat: Vienna
Register Number: FN 60562 m
Registered at: Commercial Court Vienna
DVR-Number: 0001708
Important Note: This e-mail may contain trade secrets or privileged,
undisclosed or otherwise confidential information. If you have received this
e-mail in error, you are hereby notified that any review, copying or
distribution of it is strictly prohibited. Please inform us immediately and
destroy the original transmittal. Thank you for your cooperation.
-----Ursprüngliche Nachricht-----
Von: Richard S. Hall [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 20. März 2008 11:08
An: [email protected]
Betreff: Re: obr resolving and system packages
Did you actually try this or are you just making an assumption?
OBR treats the locally installed bundles as a repository too. So, if
your local system bundle exports javax.swing, then it should resolve the
package correctly...at least that is how it is supposed to work.
-> richard
Hampel, Michael wrote:
> Hello,
>
> how do I deal with system package dependencies like javax.swing - that
> an OSGi runtime would be able to resolve from the system classpath -
> in the OBR resolving process.
> If a resource in my repository.xml has a require element for javax.swing
> the Resolver tries to find the dependency in one of my specified
> repositories
> but will not find it - so the OBR resolving for this resource will fail
> although it would resolve in the runtime.
> Is there a way to add system packages to the OBR resolving process or do
> I have to specify all aof these packages as optional or do I see
> this completely wrong?
>
> Thanx in advance for any help,
>
> Michael
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]