Skip to main content


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 18:42 Go to next message
Eclipse UserFriend
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 19:20 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
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 20:14 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
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: Tue Mar 19 07:28:00 GMT 2024

Powered by FUDForum. Page generated in 0.03227 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top