[유치수] [NOBTS] 빌드 스크립트에 프로파일을 설정할 수 있도록 함.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-profiler-bootstrap/trunk@2142 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Chisu Yu
2013-08-13 07:22:28 +00:00
parent 8e458b685f
commit c855a729e8
+8 -2
View File
@@ -1,14 +1,20 @@
VERSION="0.0.4-SNAPSHOT"
DEPLOY_DIR="../pinpoint-testbed/agent"
#profile
PROFILE=""
if [ "$1" != "" ] ; then
$PROFILE="-P$1"
fi
# profiler
pushd .
cd ../pinpoint-profiler
mvn clean install eclipse:eclipse package dependency:copy-dependencies -Dmaven.test.skip -Dthrift.executable.property=/Users/netspider/DEV-TOOLS/thrift-0.9.0/bin/thrift
mvn clean install eclipse:eclipse package dependency:copy-dependencies -Dmaven.test.skip -Dthrift.executable.property=/Users/netspider/DEV-TOOLS/thrift-0.9.0/bin/thrift $PROFILE
popd
# bootstrap
mvn clean install eclipse:eclipse package dependency:copy-dependencies -Dmaven.test.skip
mvn clean install eclipse:eclipse package dependency:copy-dependencies -Dmaven.test.skip $PROFILE
rm -fr $DEPLOY_DIR
mkdir -p $DEPLOY_DIR/lib