<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/15/2012 03:18 PM, Martin Malina
wrote:<br>
</div>
<blockquote
cite="mid:263BCF4B-19A5-4FAE-B9FB-CBD7B94AF9A9@redhat.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hi Mickael and Nick,</blockquote>
Hi,<br>
<blockquote
cite="mid:263BCF4B-19A5-4FAE-B9FB-CBD7B94AF9A9@redhat.com"
type="cite">
<div><br>
</div>
<div>We've been having a problem with running our bot tests on OS
X with java 1.7. This is what we get:</div>
<div>java.awt.AWTException: headless environment</div>
<div>To overcome this, we need to add this property to the tycho
surefire argLine: -Dawt.toolkit=sun.lwawt.macosx.LWCToolki</div>
</blockquote>
I hate Mac, they are the worst thing that happened to Java
developers, I still don't understand why so many Java developers use
them... That said ;)<br>
Is this property set by default on Mac when using Eclipse? Are there
some success stories of Eclipse on OSX with Java 1.7 ?<br>
It could be an upstream issue.<br>
<br>
Also, I'd rather not using some complex and immature Expression
Language extension in the parent pom. We already have a lot of
things to improve with the way we build, using such a not-standard
thing sounds like shooting in our own feet.<br>
If we can't find a better way, this will be
yet-another-profile-for-OSX in the pom.xml.<br>
<div class="moz-signature">-- <br>
Mickael Istria<br>
Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,
by Red Hat</a><br>
<a href="http://mickaelistria.wordpress.com">My blog</a> - <a
href="http://twitter.com/mickaelistria">My Tweets</a></div>
</body>
</html>