source: main/trunk/model-sites-dev/cambridge-museum/collect/waikato-independent/pre-import/EditableDatabaseTable/DEPLOY.sh@ 34511

Last change on this file since 34511 was 34511, checked in by davidb, 4 years ago

Evolution of code away from Company model to one that uses RecordHashmap to represent the rows coming out of the JDBC database

  • Property svn:executable set to *
File size: 400 bytes
Line 
1#!/bin/bash
2
3webapps_dir=../../../../../../../packages/tomcat/webapps
4
5webapp_context=EditableDatabaseTable
6
7if [ -d "$webapps_dir/$webapp_context" ] ; then
8 echo "Removing: $webapps_dir/$webapp_context"
9 /bin/rm -rf "$webapps_dir/$webapp_context"
10fi
11
12echo "Deploying $webapp_context.war to $webapps_dir"
13
14cp target/EditableDatabaseTable-0.0.1-SNAPSHOT.war "$webapps_dir/$webapp_context".war
15
Note: See TracBrowser for help on using the repository browser.