Commits

Jenny Gurney committed 8d4120a

Commented lines for updated sql script.

  • Participants
  • Parent commits 09f4aa1

Comments (0)

Files changed (1)

buildScripts/buildCNDA15.sh

 rm -rf $BUILDPATH/xnat/deployments
 cd $BUILDPATH/xnat
 bin/setup.sh || die "second setup failed"
-echo Preparing to run update
-bin/update.sh || "update failed"
+#echo Preparing to run update
+#bin/update.sh || "update failed"
 
 # For some reason, XNAT build process treats this file differently than all the others, so copying manually
 cp -f $BUILDPATH/xnat/projects/$APP_NAME/src/templates/macros/cnda_xnatMacros.vm $BUILDPATH/xnat/deployments/$APP_NAME/src/templates/macros/${APP_NAME}Macros.vm
 fi
 echo "Copying the latest InstanceSettings.xml.erb to $TOMCAT_HOME/webapps/$APP_NAME/WEB-INF/conf/"
 $BUILDPATH/puppetizeInstanceSettings.sh -i $BUILDPATH/xnat/projects/"$APP_NAME"/InstanceSettings.xml -o $TOMCAT_HOME/webapps/"$APP_NAME"/WEB-INF/conf/InstanceSettings.xml.erb 
-if [ ! -d $TOMCAT_HOME/webapps/"$APP_NAME"/resources/sql ]; then
-  mkdir $TOMCAT_HOME/webapps/"$APP_NAME"/resources/sql 
-fi
-echo "Copying the latest ${APP_NAME}-update.sql to $TOMCAT_HOME/webapps/$APP_NAME/resources/sql"
-cp $BUILDPATH/xnat/deployments/${APP_NAME}/sql/${APP_NAME}-update.sql $TOMCAT_HOME/webapps/$APP_NAME/resources/sql
+#if [ ! -d $TOMCAT_HOME/webapps/"$APP_NAME"/resources/sql ]; then
+#  mkdir $TOMCAT_HOME/webapps/"$APP_NAME"/resources/sql 
+#fi
+#echo "Copying the latest ${APP_NAME}-update.sql to $TOMCAT_HOME/webapps/$APP_NAME/resources/sql"
+#cp $BUILDPATH/xnat/deployments/${APP_NAME}/sql/${APP_NAME}-update.sql $TOMCAT_HOME/webapps/$APP_NAME/resources/sql