Author: cwiklik Date: Thu Oct 24 20:20:11 2013 New Revision: 1535521 URL: http://svn.apache.org/r1535521 Log: UIMA-3373 undone the last change. The modification will go to OR
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java?rev=1535521&r1=1535520&r2=1535521&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java (original) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/launcher/DuccCommandExecutor.java Thu Oct 24 20:20:11 2013 @@ -460,13 +460,6 @@ public class DuccCommandExecutor extends } } else { String processType = "-UIMA-"; - if ( cmdLine instanceof JavaCommandLine ) { - // the Utils.findDuccHome(); has been made in the Agent constructor, so - // the DUCC_HOME should have been added to System properties - ((JavaCommandLine)cmdLine). - addOption("-Dlog4j.configurationFile="+ - Utils.resolvePlaceholders("${DUCC_HOME}/resources/log4j.xml")); - } switch( ((ManagedProcess)super.managedProcess).getDuccProcess().getProcessType() ) { case Pop: // Both JD and POP arbitrary process are POPs. Assume this is an arbitrary process