maven/sandbox/acm/t3/make-config.sh
Jason van Zyl 3ff84a5786 for safe keeping
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290180 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 15:02:15 +00:00

31 lines
847 B
Bash
Executable File

#!/bin/sh
# -------------------------------------------------------------
# This process creates the application configuration properties
# ------------------------------------------------------------
envProperties=/t3/build/cruisecontrol/checkout/t3/library/config
templateProperties=/t3/build/cruisecontrol/checkout/t3/library/src/application/t3PortalApp/portal_properties/internal
envs="wlpdev1 wlptest1 wlpqa1 wlppp1"
for i in $envs
do
cp $envProperties/env.properties.iportal.${i} ${i}.properties
done
mv wlpdev1.properties dev.properties
mv wlptest1.properties test.properties
mv wlpqa1.properties qa.properties
mv wlppp1.properties prod.properties
mkdir env
mv *.properties env
mkdir app
cp $templateProperties/portal.properties app
cp $templateProperties/config.properties app
cp $templateProperties/brioreport.properties app