accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1324804 - /accumulo/branches/1.4/test/system/auto/simple/dynamic.py
Date Wed, 11 Apr 2012 15:08:55 GMT
Author: ecn
Date: Wed Apr 11 15:08:54 2012
New Revision: 1324804

URL: http://svn.apache.org/viewvc?rev=1324804&view=rev
Log:
ACCUMULO-523: get the classpath from accumulo

Modified:
    accumulo/branches/1.4/test/system/auto/simple/dynamic.py

Modified: accumulo/branches/1.4/test/system/auto/simple/dynamic.py
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/test/system/auto/simple/dynamic.py?rev=1324804&r1=1324803&r2=1324804&view=diff
==============================================================================
--- accumulo/branches/1.4/test/system/auto/simple/dynamic.py (original)
+++ accumulo/branches/1.4/test/system/auto/simple/dynamic.py Wed Apr 11 15:08:54 2012
@@ -67,9 +67,13 @@ public class StringSummation%s implement
 ''' % rand)
         fp.close()
 
+        handle = self.runOn(self.masterHost(), [self.accumulo_sh(), 'classpath'])
+        out, err = handle.communicate()
+        path = ':'.join(out.split('\n')[1:])
+
         self.runWait("javac -cp %s:%s %s" % (
+            path,
             os.path.join(ACCUMULO_HOME,'src','core','target','classes'),
-            glob.glob(os.path.join(ACCUMULO_HOME,'lib','accumulo-core*.jar'))[0],
             os.path.join(ACCUMULO_HOME,'target','dynamictest%s' % rand,'accumulo','test','StringSummation%s.java'
% rand)
             ))
         self.runWait("jar -cf %s -C %s accumulo/" % (



Mime
View raw message