You need to specify this arg in the surefire plugin's config section.
It's a Maven problem.
On Sep 4, 2009, at 11:00 AM, "Shannon, Andrew" <[email protected]>
wrote:
We've tried -Dwt.headless=true from the command line and passing it
as a system property from maven into the jvm that launches cargo to
run tomcat followed by the surefire plugin running the webtests. We
have also tried what we use for selenium which is -
Djava.awt.headless=true, but this doesn't work for webtest either.
Is there any chance anyone is using maven + cargo + tomcat +
surefire + webtest successfully with the wt.headless directive? If
so, how?
Thanks,
Andrew Shannon
[email protected]
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest