Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » removing require-bundle headers
removing require-bundle headers [message #27326] Thu, 12 March 2009 14:42 Go to next message
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 #27739 is a reply to message #27326] Thu, 12 March 2009 15:20 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
JUnit4 is part of the standard eclipse distribution.

-- Ketan

On 13/3/09 00:12, Ivica Loncar wrote:
>
> 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?
>
>
Re: removing require-bundle headers [message #27774 is a reply to message #27739] Thu, 12 March 2009 16:14 Go to previous messageGo to next message
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] Thu, 12 March 2009 22:41 Go to previous message
Ketan Padegaonkar is currently offline 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.
>
>
Previous Topic:test a combo in a table
Next Topic:Couldn't start the test
Goto Forum:
  


Current Time: Thu Apr 17 11:37:18 EDT 2014

Powered by FUDForum. Page generated in 0.02571 seconds