issue 361 - Run AWT headless when we are in headless mode
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2492 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
c47b1e0ab7
commit
dfef391f18
@ -113,7 +113,9 @@ public class Refine {
|
||||
server.init(host,port);
|
||||
|
||||
boolean headless = Configurations.getBoolean("refine.headless",false);
|
||||
if (!headless) {
|
||||
if (headless) {
|
||||
System.setProperty("java.awt.headless", "true");
|
||||
} else {
|
||||
try {
|
||||
RefineClient client = new RefineClient();
|
||||
client.init(host,port);
|
||||
|
Loading…
Reference in New Issue
Block a user