summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2010-01-12 10:59:38 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2010-01-12 11:11:40 -0400
commit374623ed11446441cde277f60f2bc8e7e735ea1e (patch)
treecf0dea5a165e0e45fc6a12fd8fd275af5b8bf21e
parent413c74bb5ecbbeaf07388e1a4bc627987c7c00dd (diff)
downloadcandlepin-374623ed11446441cde277f60f2bc8e7e735ea1e.tar.gz
candlepin-374623ed11446441cde277f60f2bc8e7e735ea1e.tar.xz
candlepin-374623ed11446441cde277f60f2bc8e7e735ea1e.zip
Update the tomcat deploy script to use new buildr setup.
-rwxr-xr-xproxy/buildconf/scripts/deploy8
1 files changed, 4 insertions, 4 deletions
diff --git a/proxy/buildconf/scripts/deploy b/proxy/buildconf/scripts/deploy
index 724c42a..5566ac0 100755
--- a/proxy/buildconf/scripts/deploy
+++ b/proxy/buildconf/scripts/deploy
@@ -19,15 +19,15 @@ if [ "$?" -ne 0 ]; then
fi
fi
-ant gen-schema
+buildr candlepin:schema_gen
sudo service tomcat6 stop
dropdb candlepin && createdb candlepin
-psql candlepin < build/schemagen/candlepin-proxy.sql
+psql candlepin < target/schemagen/candlepin-proxy.sql
psql candlepin < code/schema/postgresql/populate-defaults.sql
-ant pack-webapp
+buildr package test=no
sudo rm -rf $TC_HOME/webapps/candlepin/
-sudo cp build/webapp/candlepin.war $TC_HOME/webapps/
+sudo cp target/candlepin-1.0.0.war $TC_HOME/webapps/
$TC_CMD stop
$TC_CMD start