Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Swtbot still depends on org.junit4?
Swtbot still depends on org.junit4? [message #1060489] Sat, 25 May 2013 10:29 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1390
Registered: July 2009
Senior Member
Hi

I was trying to mirror swtbot features with the b3 aggregator (I had
already done that a few months ago), using
http://download.eclipse.org/technology/swtbot/releases/latest/

but this morning I get this error

Missing requirement: SWTBot for Eclipse Testing (incubation)
2.1.0.201302221524 (org.eclipse.swtbot.eclipse.feature.group
2.1.0.201302221524) requires 'org.junit4 0.0.0' but it could not be found

InstallableUnit(org.junit4) is required by:
ValidationSet(main)
Contribution(SWTBot)

MappedRepository(http://download.eclipse.org/technology/swtbot/releases/latest)
Feature(org.eclipse.swtbot.eclipse.feature.group)

I thought that swtbot had already been fixed by removing dependencies on
org.junit4...

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Re: Swtbot still depends on org.junit4? [message #1060776 is a reply to message #1060489] Tue, 28 May 2013 12:10 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 769
Registered: July 2009
Location: Grenoble, France
Senior Member
> I thought that swtbot had already been fixed by removing dependencies on
> org.junit4...

Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=401716 for details.
SWTBot 2.1.0 was not correctly fixed so there are some remaining
dependencies to org.junit4.
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Swtbot still depends on org.junit4? [message #1060857 is a reply to message #1060776] Tue, 28 May 2013 16:45 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1390
Registered: July 2009
Senior Member
On 05/28/2013 02:10 PM, Mickael Istria wrote:
>> I thought that swtbot had already been fixed by removing dependencies on
>> org.junit4...
>
> Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=401716 for
> details.
> SWTBot 2.1.0 was not correctly fixed so there are some remaining
> dependencies to org.junit4.

OK, thanks!

in the meantime, waiting for 2.1.1 release, to correctly aggregate it is
enough to take org.junit4 from Juno

<contributions description="Juno (just for org.junit4)" label="Juno
(just for org.junit4)">
<repositories location="http://download.eclipse.org/releases/juno">
<bundles name="org.junit4"/>
</repositories>
</contributions>

hope this helps
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Re: Swtbot still depends on org.junit4? [message #1061165 is a reply to message #1060857] Thu, 30 May 2013 10:38 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 769
Registered: July 2009
Location: Grenoble, France
Senior Member
You can use a snapshot form
http://download.eclipse.org/technology/swtbot/snapshots which has a good
enough quality for the moment.
In order to get something stable, you could either mirror one of those
snapshots to a stable URL, or use 0.0.0 for version in the .target.

HTH

--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Previous Topic:SWTBot with tycho - no context menu
Next Topic:how to integrate cobertura coverage test into headless eclipse test framework?
Goto Forum:
  


Current Time: Sun Nov 23 11:01:30 GMT 2014

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

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