removing require-bundle headers [message #27326] |
Thu, 12 March 2009 18:42  |
Eclipse User |
|
|
|
Originally posted by: iloncar.mlIQTEST.gmail.com
Hi,
There are dependencies on log4j and junit4 bundles. Could those Require-Bundle:
headers be replaces with import-packages?
We woud like to use swtbot with our target platform and since we use springsource
bundle repo there is no org.apache or org.junit bundles
Also, where can one download junit4 bundle?
--
Ivica Loncar
|
|
|
|
Re: removing require-bundle headers [message #27774 is a reply to message #27739] |
Thu, 12 March 2009 20:14   |
Eclipse User |
|
|
|
Originally posted by: iloncar.mlIQTEST.gmail.com
Hello Ketan,
> JUnit4 is part of the standard eclipse distribution.
My question is: is there a reason to use require-bundle headers instead of
import-package headers? At least for bundles that aren't eclipse specific
like junit, commons, and log4j.
I would like to use our target platform for running junit tests - we already
have log4j (actually slf4j), commons and junit - all with required versions
- but bundles are named differently since they don't come eclispe repository.
If swtbot would use import-package instead of require-bundle we wouldn't
have to change anything, we could reuse those bundles and we could use the
same target platform that we deploy on for testing purposes also.
--
Ivica Loncar
|
|
|
Re: removing require-bundle headers [message #27850 is a reply to message #27774] |
Fri, 13 March 2009 02:41  |
Ketan Padegaonkar Messages: 873 Registered: July 2009 |
Senior Member |
|
|
Hi Ivica,
Please file a bug and I'll have a look at it, in the meanwhile please
use the bundles used by swtbot and things should work fine.
If you're very much in a hurry, you can always build from source, it
takes less than 10 minutes to build from source.
-- Ketan
On 13/3/09 01:44, Ivica Loncar wrote:
> Hello Ketan,
>
>> JUnit4 is part of the standard eclipse distribution.
>
> My question is: is there a reason to use require-bundle headers instead
> of import-package headers? At least for bundles that aren't eclipse
> specific like junit, commons, and log4j.
>
> I would like to use our target platform for running junit tests - we
> already have log4j (actually slf4j), commons and junit - all with
> required versions - but bundles are named differently since they don't
> come eclispe repository.
>
> If swtbot would use import-package instead of require-bundle we wouldn't
> have to change anything, we could reuse those bundles and we could use
> the same target platform that we deploy on for testing purposes also.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02227 seconds