thilker
Oct 2nd, 2008, 05:48 PM
Hi!
1. I've a problem with developing Bundles in Eclipse.
Imagine you want to develop 2 or more bundles in Eclipse whitch depend on each other.
Ok. I created bundle "A" and implemented all the stuff that is needed (interfaces, implementations,MANIFEST.MF, modul-context, osgi-context)
Then I create bundle "B" whitch depends on bundle "A".
So I declared the package I exported in A to be imported in B.
But Eclipse tells me that the package I want to import does not exist.
Hmm. Do I have to deploy "A" to the DM-Server?
(How to deploy a normal bundle from Eclipse to the DM-Server?)
Do I've to press a magic key?
It should be very simple, but I can't resolve this problem.
(In the past you only had to add the project "A" to the build path of project "B" :)
Strange, what did I miss?
2. Is there a manual how to create UnitTests for bundles?
Or do you have a tip how to create UnitTests for bundles?
Thanks in advance!
Reagrads!
Thorsten
1. I've a problem with developing Bundles in Eclipse.
Imagine you want to develop 2 or more bundles in Eclipse whitch depend on each other.
Ok. I created bundle "A" and implemented all the stuff that is needed (interfaces, implementations,MANIFEST.MF, modul-context, osgi-context)
Then I create bundle "B" whitch depends on bundle "A".
So I declared the package I exported in A to be imported in B.
But Eclipse tells me that the package I want to import does not exist.
Hmm. Do I have to deploy "A" to the DM-Server?
(How to deploy a normal bundle from Eclipse to the DM-Server?)
Do I've to press a magic key?
It should be very simple, but I can't resolve this problem.
(In the past you only had to add the project "A" to the build path of project "B" :)
Strange, what did I miss?
2. Is there a manual how to create UnitTests for bundles?
Or do you have a tip how to create UnitTests for bundles?
Thanks in advance!
Reagrads!
Thorsten