From ba0cc6ec12db5584c043865043b330b5c8bbc0ee Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 9 Aug 2012 20:34:16 -0700 Subject: [PATCH] Added common folder support to startclient/startserver --- fml/commands.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/fml/commands.patch b/fml/commands.patch index 6e7f1004f..741b9f23c 100644 --- a/fml/commands.patch +++ b/fml/commands.patch @@ -37,6 +37,24 @@ dirs = ' '.join(pkglist) classpath = os.pathsep.join(cplk[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 @@ with open(self.csvmethods, 'rb') as fh: methodsreader = csv.DictReader(fh)