From c855a729e8bbfe8aacbdb58dbfd0be666c9fde44 Mon Sep 17 00:00:00 2001 From: Chisu Yu Date: Tue, 13 Aug 2013 07:22:28 +0000 Subject: [PATCH] =?UTF-8?q?[=EC=9C=A0=EC=B9=98=EC=88=98]=20[NOBTS]=20?= =?UTF-8?q?=EB=B9=8C=EB=93=9C=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8?= =?UTF-8?q?=EC=97=90=20=ED=94=84=EB=A1=9C=ED=8C=8C=EC=9D=BC=EC=9D=84=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=ED=95=A0=20=EC=88=98=20=EC=9E=88=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=ED=95=A8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-profiler-bootstrap/trunk@2142 84d0f5b1-2673-498c-a247-62c4ff18d310 --- build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 70d576576..d6347c111 100755 --- a/build.sh +++ b/build.sh @@ -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