Browse Source

795 setup.py had directory backwards

setup.py erroneously called working directory:
eey-wildfly instead of wildfly-ee7, fixed.

All tests pass.
James Yen 11 years ago
parent
commit
4526a4118c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wildfly-ee7/setup.py

+ 1 - 1
wildfly-ee7/setup.py

@@ -7,7 +7,7 @@ def start(args, logfile, errfile):
   wildfly_env = os.environ.copy()
   wildfly_env = os.environ.copy()
   wildfly_env['JAVA_OPTS'] = "-Xms2g -Xmx2g -XX:MaxPermSize=256m -XX:+UseG1GC -XX:MaxGCPauseMillis=25 -verbosegc -Xloggc:/tmp/wildfly_gc.log"
   wildfly_env['JAVA_OPTS'] = "-Xms2g -Xmx2g -XX:MaxPermSize=256m -XX:+UseG1GC -XX:MaxGCPauseMillis=25 -verbosegc -Xloggc:/tmp/wildfly_gc.log"
   try:
   try:
-    subprocess.check_call("mvn clean initialize package -Pbenchmark -Ddatabase.host=" + args.database_host, shell=True, cwd="ee7-wildfly", stderr=errfile, stdout=logfile)
+    subprocess.check_call("mvn clean initialize package -Pbenchmark -Ddatabase.host=" + args.database_host, shell=True, cwd="wildfly-ee7", stderr=errfile, stdout=logfile)
     subprocess.Popen("target/wildfly-8.1.0.Final/bin/standalone.sh -b 0.0.0.0", shell=True, env=wildfly_env, cwd="wildfly-ee7", stderr=errfile, stdout=logfile)
     subprocess.Popen("target/wildfly-8.1.0.Final/bin/standalone.sh -b 0.0.0.0", shell=True, env=wildfly_env, cwd="wildfly-ee7", stderr=errfile, stdout=logfile)
     return 0
     return 0
   except subprocess.CalledProcessError:
   except subprocess.CalledProcessError: