You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2014/04/07 21:53:27 UTC
svn commit: r1585575 -
/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/driver/prep
Author: degenaro
Date: Mon Apr 7 19:53:26 2014
New Revision: 1585575
URL: http://svn.apache.org/r1585575
Log:
UIMA-3706 uima-ducc-vm installation and work-load driver
Modified:
uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/driver/prep
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/driver/prep
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/driver/prep?rev=1585575&r1=1585574&r2=1585575&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/driver/prep (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-examples/src/main/uima-ducc-vm/driver/prep Mon Apr 7 19:53:26 2014
@@ -3,8 +3,12 @@
import os
import sys
+from helper import Helper
+
class Prep():
-
+
+ helper = Helper();
+
def __init__(self):
pass
@@ -18,6 +22,9 @@ class Prep():
ducc_home = file_home.rsplit('/',3)[0]
#
for i in range(0,5):
+ self.user = self.helper.getUser()
+ print self.user
+ os.environ['USER'] = self.user
script = ducc_home+'/examples/systemtest/reg_service'
service_id = str(i)
service_type = self.getServiceType(i)