Added client src folder to classpath for startclient/startserver.

This commit is contained in:
LexManos 2012-12-18 05:06:20 -08:00
parent e9cabc2b7e
commit ec8d75d1b2
1 changed files with 10 additions and 1 deletions

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)