You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ch...@apache.org on 2013/10/02 19:25:34 UTC
svn commit: r1528570 - in
/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts:
reg_service runducc
Author: challngr
Date: Wed Oct 2 17:25:33 2013
New Revision: 1528570
URL: http://svn.apache.org/r1528570
Log:
UIMA-3301 Update for CLI changes.
Modified:
uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/reg_service
uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/runducc
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/reg_service
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/reg_service?rev=1528570&r1=1528569&r2=1528570&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/reg_service (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/reg_service Wed Oct 2 17:25:33 2013
@@ -96,11 +96,11 @@ class RegService(DuccUtil):
props.put('description', "Test Service " + svcid)
props.put('process_DD', self.DUCC_HOME + '/examples/simple/resources/service/Service_FixedSleep_' + svcid + '.xml')
props.put('process_memory_size', '15')
- props.put('process_classpath',
+ props.put('classpath',
self.DUCC_HOME + '/examples/lib/uima-ducc-examples.jar:' +
self.DUCC_HOME + '/examples/simple/resources')
props.put('process_jvm_args', '-DdefaultBrokerURL=' + plain_broker_url)
- props.put('process_environment', 'AE_INIT_TIME=5000 AE_INIT_RANGE=1000 INIT_ERROR=0')
+ props.put('environment', 'AE_INIT_TIME=5000 AE_INIT_RANGE=1000 INIT_ERROR=0')
props.put('scheduling_class', 'fixed')
props.put('working_directory', os.getcwd())
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/runducc
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/runducc?rev=1528570&r1=1528569&r2=1528570&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/runducc (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/scripts/runducc Wed Oct 2 17:25:33 2013
@@ -234,7 +234,7 @@ class DuccProcess(Thread):
#CMD = CMD + ' --working_directory ' + working_dir
CMD = CMD + ' --process_memory_size ' + memory
- CMD = CMD + ' --classpath ' + jvm_classpath
+ CMD = CMD + ' --classpath ' + jvm_classpath
CMD = CMD + ' --process_jvm_args ' + jvm_process_args
CMD = CMD + ' --process_thread_count ' + nthreads
@@ -345,11 +345,11 @@ class ServiceStarter(DuccUtil):
props.put('description', 'Test Service ' + svcid)
props.put('process_DD', self.DUCC_HOME + '/examples/simple/resources/service/Service_FixedSleep_' + svcid + '.xml')
props.put('process_memory_size', '15')
- props.put('process_classpath',
+ props.put('classpath',
self.DUCC_HOME + '/examples/lib/uima-ducc-examples.jar:' +
self.DUCC_HOME + '/examples/simple/resources')
props.put('process_jvm_args', '-Xmx100M -DdefaultBrokerURL=' + plain_broker_url)
- props.put('process_environment', 'AE_INIT_TIME=5000 AE_INIT_RANGE=1000 INIT_ERROR=0 LD_LIBRARY_PATH=/yet/a/nother/dumb/path')
+ props.put('environment', 'AE_INIT_TIME=5000 AE_INIT_RANGE=1000 INIT_ERROR=0 LD_LIBRARY_PATH=/yet/a/nother/dumb/path')
props.put('scheduling_class', 'fixed')
props.put('working_directory', os.getcwd())