Author: degenaro Date: Mon Jul 8 21:30:15 2013 New Revision: 1500966 URL: http://svn.apache.org/r1500966 Log: UIMA-3056 DUCC orchestrator (OR) does not indicate why environment variable string is unacceptable
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java?rev=1500966&r1=1500965&r2=1500966&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java (original) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java Mon Jul 8 21:30:15 2013 @@ -98,7 +98,7 @@ public class JobFactory { logger.debug(methodName, job.getDuccId(), envVar); String[] kv = {}; try { - kv = envVar.split("="); + kv = envVar.split("=",2); String envKey = kv[0].trim(); String envValue = kv[1].trim(); aCommandLine.addEnvVar(envKey, envValue);