Hi Siegfried, Mark's blog explains it all, this is based on this post that I have figured my CI server build:
http://mguillem.wordpress.com/2009/04/30/webtest-with-groovy-maven-and-eclipse/ I've tried your option -Djava.awt.headless=true but to no avail. Here's an excerpt of the error on a Linux machine: wt.webtestMonitor: [echo] /root/Documents/project/alpha2/target/test-classes/webtest-resources/tools/WebTestMonitor.groovy Exception in thread "AWT-EventQueue-0" org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.RuntimeException: Failed to create component for 'frame' reason: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. cheers Siegfried Goeschl wrote: > > Hi nodje, > > I have not noticed such a pop-up yet > > +) is this a pop-up to monitor the test progress or test result? > Regarding test progress - this would be strange because this are Groovy > scripts (not shipped and not called) and I'm sure I would not open a > browser to view the test results. > > +) or is this the old AWT headless issue (-Djava.awt.headless=true) > > Cheers, > > Siegfried Goeschl > > > On 22.04.10 04:02, nodje wrote: >> >> Thanks for letting know Michael. >> Unfortunately I presume this is not an option for a Maven run build. >> >> I can't find any reference to this option on the website. >> >> cheers >> >> >> Habbert, Michael (Key-Work) wrote: >>> >>> >>> Hi nodje, >>> >>> property-file: >>> show.monitor=false >>> >>> and >>> build.xml: >>> >>> <condition property="wt.headless"> >>> <equals arg1="${show.monitor}" arg2="false" casesensitive="true" >>> trim="true" /> >>> </condition> >>> >>> Is working fine form e. >>> >>> Cheers >>> >>> Michael >>> >>> >>> -----Ursprüngliche Nachricht----- >>> Von: [email protected] >>> [mailto:[email protected]] >>> Im Auftrag von nodje >>> Gesendet: Mittwoch, 21. April 2010 06:42 >>> An: [email protected] >>> Betreff: Re: [Webtest] Using 'mvn verify -Dwt.headless' doesn't skip the >>> console >>> >>> >>> Hi, >>> >>> sorry for the late reply. Adding -Dwt.headless=true doesn't make a >>> difference. >>> It still tries to popup the WebTest result interface on the CI server. >>> >>> cheers, >>> -nodje >>> >>> >>> Marc Guillemot wrote: >>>> >>>> Hi, >>>> >>>> try following: >>>> >>>> -Dwt.headless=true >>>> >>>> Cheers, >>>> Marc. >>>> -- >>>> Blog: http://mguillem.wordpress.com >>>> >>>> nodje wrote: >>>>> Hi, >>>>> >>>>> I'm trying to get rid of the console for CI testing. >>>>> -Dwt.headless is the only option I've found so far, but to no avail in >>>>> my >>>>> case. >>>>> >>>>> Had anyone successfully ran headless in a verify phase? >>>>> >>>>> cheers >>>> >>>> _______________________________________________ >>>> WebTest mailing list >>>> [email protected] >>>> http://lists.canoo.com/mailman/listinfo/webtest >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/Using-%27mvn-verify--Dwt.headless%27-doesn%27t-skip-the-console-tp28214828p28287948.html >>> Sent from the WebTest mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> WebTest mailing list >>> [email protected] >>> http://lists.canoo.com/mailman/listinfo/webtest >>> >>> Michael Habbert >>> Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | >>> www.key-work.de >>> Fon: +49-721-78203-269 | E-Mail: [email protected] | Fax: >>> +49-721-78203-10 >>> >>> Key-Work Consulting GmbH Karlsruhe, HRB 108695, HRG Mannheim >>> Geschäftsführer: Andreas Stappert, Tobin Wotring >>> _______________________________________________ >>> WebTest mailing list >>> [email protected] >>> http://lists.canoo.com/mailman/listinfo/webtest >>> >>> >> > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > > -- View this message in context: http://old.nabble.com/Using-%27mvn-verify--Dwt.headless%27-doesn%27t-skip-the-console-tp28214828p28325313.html Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

