<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 15. 11. 2012, at 17:04, Mickael Istria <<a href="mailto:mistria@redhat.com">mistria@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div 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></div></blockquote><div><br></div>Yeah… :)</div><div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000">
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></div></blockquote><div><br></div>I'll have to check. Will let you know. But this is a OracleJDK-only class, so definitely it's not used when using AppleJDK.</div><div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000">
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></div></blockquote><div>Yeah, it's a no-go anyway since the plugin requires putting some jars into $MAVEN_HOME/lib/ext which you can't expect everybody to do.</div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000">
If we can't find a better way, this will be
yet-another-profile-for-OSX in the pom.xml.<br></div></blockquote><div><br></div>How do you mean? That's the problem - there is no way to do this - if you use the profile definition above it will be added on Mac OR when java is 1.7, that is simply wrong - it would be active on Mac with java 1.6 and that would fail.</div><div><br></div><div>-Martin</div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div></div></span></div></div></div></span></span></div></body></html>