#!/bin/sh
rm -rf wso2is-4.7.0
unzip modules/distribution/target/wso2is-4.7.0.zip
cp usecases/common/drivers/informix/*.jar  wso2is-4.7.0/repository/components/lib/
cp usecases/common/drivers/mysql/*.jar  wso2is-4.7.0/repository/components/lib/
cp usecases/common/client-truststore.p12 wso2is-4.7.0/repository/resources/security/
cp usecases/common/informix-um/*.jar wso2is-4.7.0/repository/components/lib/
cp usecases/$1/master-datasources.xml wso2is-4.7.0/repository/conf/datasources/
cp usecases/$1/user-mgt.xml wso2is-4.7.0/repository/conf/
cat usecases/$1/readme
