[kune-commits] r1274 - trunk/script

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Sun Mar 13 21:53:29 CET 2011


Author: vjrj_
Date: 2011-03-13 21:53:28 +0100 (Sun, 13 Mar 2011)
New Revision: 1274

Added:
   trunk/script/mvn-vars.sh
Modified:
   trunk/script/liquibase-migrate.sh
   trunk/script/liquibase-rollback.sh
Log:
liquibase script updated

Modified: trunk/script/liquibase-migrate.sh
===================================================================
--- trunk/script/liquibase-migrate.sh	2011-03-13 20:51:48 UTC (rev 1273)
+++ trunk/script/liquibase-migrate.sh	2011-03-13 20:53:28 UTC (rev 1274)
@@ -1,4 +1,5 @@
-java -jar $M2_REPO/org/liquibase/liquibase-core/1.4.1/liquibase-core-1.4.1.jar \
+. script/mvn-vars.sh
+java -jar $M2_REPO/org/liquibase/liquibase-core/1.7.0/liquibase-core-1.7.0.jar \
       --driver=com.mysql.jdbc.Driver \
       --classpath=$M2_REPO/mysql/mysql-connector-java/5.0.5/mysql-connector-java-5.0.5.jar \
       --changeLogFile=src/main/resources/db/liquibase_changelog.xml \

Modified: trunk/script/liquibase-rollback.sh
===================================================================
--- trunk/script/liquibase-rollback.sh	2011-03-13 20:51:48 UTC (rev 1273)
+++ trunk/script/liquibase-rollback.sh	2011-03-13 20:53:28 UTC (rev 1274)
@@ -1,4 +1,5 @@
-java -jar $M2_REPO/org/liquibase/liquibase-core/1.4.1/liquibase-core-1.4.1.jar \
+. script/mvn-vars.sh
+java -jar $M2_REPO/org/liquibase/liquibase-core/1.7.0/liquibase-core-1.7.0.jar \
       --driver=com.mysql.jdbc.Driver \
       --classpath=$M2_REPO/mysql/mysql-connector-java/5.0.5/mysql-connector-java-5.0.5.jar \
       --changeLogFile=src/main/resources/db/liquibase_changelog.xml \

Added: trunk/script/mvn-vars.sh
===================================================================
--- trunk/script/mvn-vars.sh	                        (rev 0)
+++ trunk/script/mvn-vars.sh	2011-03-13 20:53:28 UTC (rev 1274)
@@ -0,0 +1,3 @@
+if [[ $M2_REPO -eq "" ]] ; then
+  M2_REPO=~/.m2/repository
+fi


Property changes on: trunk/script/mvn-vars.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the kune-commits mailing list