[ 
https://issues.apache.org/jira/browse/SHINDIG-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918457#action_12918457
 ] 

Paul Lindner commented on SHINDIG-1440:
---------------------------------------

Does this fix it for you?

diff --git a/java/common/pom.xml b/java/common/pom.xml
index bfc7de3..583a04a 100644
--- a/java/common/pom.xml
+++ b/java/common/pom.xml
@@ -68,6 +68,12 @@
           <excludes>
             <exclude>org/apache/shindig/common/testing/*.java</exclude>
           </excludes>
+          <systemProperties>
+            <property>
+              <name>java.awt.headless</name>
+              <value>true</value>
+            </property>
+          </systemProperties>
         </configuration>
       </plugin>
     </plugins>

> Buildsystem relies on GUI
> -------------------------
>
>                 Key: SHINDIG-1440
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1440
>             Project: Shindig
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.0.0
>         Environment: Build on a Linux server under a different UID ($DISPLAY 
> set but no X11 authorisation)
>            Reporter: Christian Mahnke
>
> There is at least one Test that relies on GUI (indirect due to questionable 
> design of AWT):
> Running org.apache.shindig.gadgets.rewrite.image.BMPOptimizerTest
> X11 connection rejected because of wrong authentication.
> X connection to localhost:10.0 broken (explicit kill or server shutdown).
> The test runner should always set the property java.awt.headless to true.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to