#!/bin/bash
source ./setenv.sh
cp src/main/webapp/WEB-INF/classes/log4j.properties.local.mac src/main/webapp/WEB-INF/classes/log4j.properties
cp src/main/webapp/WEB-INF/app.properties.local.mac src/main/webapp/WEB-INF/app.properties
cp src/main/webapp/META-INF/context.xml.2fi src/main/webapp/META-INF/context.xml


#mvn clean package
#cp target/*.war ${tc_instance}/webapps/

bash ./gradlew clean war
cp build/libs/*.war ${tc_instance}/webapps/