Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] [swtbot-dev] Run swtbot tests using tycho/Maven

Hello Xavier,

Thanks for your replay.

But I’m not configuring Jenkins as windows service L


From: Xavier Raynaud [mailto:xavier.raynaud@xxxxxxxxx]
Sent: vendredi 31 janvier 2014 15:01
To: Maherzia BELAAZI
Cc: SWTBot developers list; Tycho user list
Subject: Re: [swtbot-dev] [tycho-user] Run swtbot tests using tycho/Maven


Thanks Matthias

Yes I’m using a headless server Jenkins.

But I’m working on Windows so I can’t use XVnc plugin.


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Matthias Sohn
Sent: vendredi 31 janvier 2014 09:46
To: SWTBot developers list
Cc: tycho-user@xxxxxxxxxxx
Subject: Re: [tycho-user] [swtbot-dev] Run swtbot tests using tycho/Maven


On Fri, Jan 31, 2014 at 9:23 AM, Maherzia BELAAZI <maherzia.belaazi@xxxxxx> wrote:



I’m tryning to run swtbot using tycho/Maven, I’m getting this error :


!ENTRY 4 0 2014-01-31 09:02:01.072

!MESSAGE Could not initialize bot


java.lang.IllegalStateException: Could not find a display

        at org.eclipse.swtbot.swt.finder.utils.SWTUtils.display(

        at org.eclipse.swtbot.swt.finder.finders.ControlFinder.<init>(

        at org.eclipse.swtbot.swt.finder.finders.ControlFinder.<init>(

        at org.eclipse.swtbot.swt.finder.SWTBot.<init>(

        at org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot.<init>(


My pom.xml :
















              <argLine>-Xms512m -Xmx1024m</argLine>






Any help is so welcome.

Thanks in advance,



looks like you are running that on a headless server, in Hudson/Jenkins enable the XVnc plugin

and start a window manager in a shell step before starting the tests


In EGit we use metacity as the window manager


metacity --replace --sm-disable &




swtbot-dev mailing list


Back to the top