Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » some troubles with JUnit 4.5 dependency
some troubles with JUnit 4.5 dependency [message #23922] Tue, 24 February 2009 16:45 Go to next message
Vincent MAHE is currently offline Vincent MAHEFriend
Messages: 129
Registered: July 2009
Senior Member
Hello

I'm back on tests with SWTBot
I switched to org.eclipse.swt... easily, using the SWTBot Eclipse update
site. But the features packaged there have a dependency to org.junit4 in
version 4.5.0.
It is impossible to add any other soft after SWTBot using update sites
because of a requirement error:

>Cannot find a solution where both Match[requiredCapability:
>osgi.bundle/org.junit4/[4.3.1,4.4.0]] and Match[requiredCapability:
>osgi.bundle/org.junit4/4.5.0] can be satisfied.

As I need to generate an archive with my tests AND SWTBot plug-ins using
the "Export" facility, it fails on the same requirement.

Is it possible to make the dependency "optional" in SWTBot features ??
--
Cordialement

Vincent MAHÉ

Ingénieur Plate-forme OpenEmbeDD - http://openembedd.org
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71
Re: some troubles with JUnit 4.5 dependency [message #24745 is a reply to message #23922] Fri, 27 February 2009 05:03 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Welcome back!

There have been some issues reported with junit4 dependencies, I hope to
resolve them soon. I'll mark these dependencies as optional, and perhaps
even package them as fragments to make things easier.

-- Ketan

On 24/2/09 22:15, Vincent Mahe wrote:
> Hello
>
> I'm back on tests with SWTBot
> I switched to org.eclipse.swt... easily, using the SWTBot Eclipse update
> site. But the features packaged there have a dependency to org.junit4 in
> version 4.5.0.
> It is impossible to add any other soft after SWTBot using update sites
> because of a requirement error:
>
> >Cannot find a solution where both Match[requiredCapability:
> >osgi.bundle/org.junit4/[4.3.1,4.4.0]] and Match[requiredCapability:
> >osgi.bundle/org.junit4/4.5.0] can be satisfied.
>
> As I need to generate an archive with my tests AND SWTBot plug-ins using
> the "Export" facility, it fails on the same requirement.
>
> Is it possible to make the dependency "optional" in SWTBot features ??
Previous Topic:Compiler Error
Next Topic:Need help for using swtbot for automating an exe flow
Goto Forum:
  


Current Time: Thu Apr 25 11:24:17 GMT 2024

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

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

Back to the top