Added common folder support to startclient/startserver
This commit is contained in:
parent
349da399ff
commit
ba0cc6ec12
|
@ -37,6 +37,24 @@
|
||||||
dirs = ' '.join(pkglist)
|
dirs = ' '.join(pkglist)
|
||||||
classpath = os.pathsep.join(cplk[side])
|
classpath = os.pathsep.join(cplk[side])
|
||||||
forkcmd = self.cmdrecomp.format(classpath=classpath, sourcepath=pathsrclk[side], outpath=pathbinlk[side],
|
forkcmd = self.cmdrecomp.format(classpath=classpath, sourcepath=pathsrclk[side], outpath=pathbinlk[side],
|
||||||
|
@@ -1060,7 +1067,7 @@
|
||||||
|
raise
|
||||||
|
|
||||||
|
def startserver(self):
|
||||||
|
- classpath = [self.binserver] + self.cpathserver
|
||||||
|
+ classpath = [self.binserver, self.srcshared] + self.cpathserver
|
||||||
|
classpath = [os.path.join('..', p) for p in classpath]
|
||||||
|
classpath = os.pathsep.join(classpath)
|
||||||
|
os.chdir(self.dirjars)
|
||||||
|
@@ -1068,7 +1075,7 @@
|
||||||
|
self.runmc(forkcmd)
|
||||||
|
|
||||||
|
def startclient(self):
|
||||||
|
- classpath = [self.binclient] + self.cpathclient
|
||||||
|
+ classpath = [self.binclient, self.srcshared] + self.cpathclient
|
||||||
|
classpath = [os.path.join('..', p) for p in classpath]
|
||||||
|
classpath = os.pathsep.join(classpath)
|
||||||
|
natives = os.path.join('..', self.dirnatives)
|
||||||
@@ -1195,20 +1202,20 @@
|
@@ -1195,20 +1202,20 @@
|
||||||
with open(self.csvmethods, 'rb') as fh:
|
with open(self.csvmethods, 'rb') as fh:
|
||||||
methodsreader = csv.DictReader(fh)
|
methodsreader = csv.DictReader(fh)
|
||||||
|
|
Loading…
Reference in New Issue