Added client src folder to classpath for startclient/startserver.

This commit is contained in:
LexManos committed 2012-12-18 05:06:20 -08:00
1 parent 506b73d0a0
commit 27bc77363e
1 file changed
+10 -1
+10 -1
View File
@@ -34,10 +34,19 @@
def startserver(self):
- classpath = [self.binserver] + self.cpathserver
+ classpath = [self.binclient] + self.cpathserver
+ classpath = [self.binclient, self.srcclient] + self.cpathserver
classpath = [os.path.join('..', p) for p in classpath]
classpath = os.pathsep.join(classpath)
os.chdir(self.dirjars)
@@ -1070,7 +1078,7 @@
self.runmc(forkcmd)
def startclient(self):
- classpath = [self.binclient] + self.cpathclient
+ classpath = [self.binclient, self.srcclient] + self.cpathclient
classpath = [os.path.join('..', p) for p in classpath]
classpath = os.pathsep.join(classpath)
natives = os.path.join('..', self.dirnatives)
@@ -1197,20 +1205,20 @@
with open(self.csvmethods, 'rb') as fh:
methodsreader = csv.DictReader(fh)