|
@@ -1,8 +1,7 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
|
|
-#setup_util.replace_text("gemini/Docroot/WEB-INF/GeminiHello.conf", "db.ConnectString = .*:3306", "db.ConnectString = " + args.database_host + ":3306")
|
|
|
|
-#setup_util.replace_text("gemini/Docroot/WEB-INF/resin.xml", "root-directory=\".*\/FrameworkBenchmarks/gemini", "root-directory=\"%s" % args.troot)
|
|
|
|
-
|
|
|
|
-mkdir -p Docroot/WEB-INFclasses
|
|
|
|
|
|
+sed -i 's/db.ConnectString = .*:3306/db.ConnectString = '"$TFB_DATABASE_HOST"':3306/g' Docroot/WEB-INF/GeminiHello.conf
|
|
|
|
+sed -i 's|root-directory=".*/FrameworkBenchmarks/gemini|root-directory="'"$TROOT"'|g' Docroot/WEB-INF/resin.xml
|
|
|
|
+mkdir -p Docroot/WEB-INF/classes
|
|
ant compile
|
|
ant compile
|
|
$RESIN_HOME/bin/resinctl -conf $TROOT/Docroot/WEB-INF/resin.xml start
|
|
$RESIN_HOME/bin/resinctl -conf $TROOT/Docroot/WEB-INF/resin.xml start
|