From 8e458b685ff6afe3eb3bbf6fdcb96bbb6afdf11f Mon Sep 17 00:00:00 2001 From: Chisu Yu Date: Tue, 13 Aug 2013 07:06:32 +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=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.?= 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@2140 84d0f5b1-2673-498c-a247-62c4ff18d310 --- build.sh | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/build.sh b/build.sh index 9b0b78f23..70d576576 100755 --- a/build.sh +++ b/build.sh @@ -1,29 +1,30 @@ VERSION="0.0.4-SNAPSHOT" +DEPLOY_DIR="../pinpoint-testbed/agent" + # profiler pushd . cd ../pinpoint-profiler -mvn clean install eclipse:eclipse package dependency:copy-dependencies -Dmaven.test.skip -P withThrift -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 popd # bootstrap mvn clean install eclipse:eclipse package dependency:copy-dependencies -Dmaven.test.skip -rm -fr ../pinpoint-testbed/agent -mkdir -p ../pinpoint-testbed/agent/lib +rm -fr $DEPLOY_DIR +mkdir -p $DEPLOY_DIR/lib -cp ./target/pinpoint-bootstrap-$VERSION-jar-with-dependencies.jar ../pinpoint-testbed/agent/pinpoint-bootstrap-$VERSION.jar +cp ./target/pinpoint-bootstrap-$VERSION-jar-with-dependencies.jar $DEPLOY_DIR/pinpoint-bootstrap-$VERSION.jar -cp ../pinpoint-rpc/target/pinpoint-rpc-$VERSION.jar ../pinpoint-testbed/agent/lib -cp ../pinpoint-rpc/target/dependency/netty-3.6.6.Final.jar ../pinpoint-testbed/agent/lib +cp ../pinpoint-rpc/target/pinpoint-rpc-$VERSION.jar $DEPLOY_DIR/lib +cp ../pinpoint-rpc/target/dependency/netty-3.6.6.Final.jar $DEPLOY_DIR/lib -cp ../pinpoint-profiler/target/pinpoint-profiler-$VERSION.jar ../pinpoint-testbed/agent/lib -cp ../pinpoint-profiler/target/dependency/javassist-3.16.1-GA.jar ../pinpoint-testbed/agent/lib -cp ../pinpoint-profiler/target/dependency/libthrift-0.9.0.jar ../pinpoint-testbed/agent/lib +cp ../pinpoint-profiler/target/pinpoint-profiler-$VERSION.jar $DEPLOY_DIR/lib +cp ../pinpoint-profiler/target/dependency/javassist-3.16.1-GA.jar $DEPLOY_DIR/lib +cp ../pinpoint-profiler/target/dependency/libthrift-0.9.0.jar $DEPLOY_DIR/lib +cp ../pinpoint-profiler/target/dependency/log4j-1.2.16.jar $DEPLOY_DIR/lib +cp ../pinpoint-profiler/target/dependency/slf4j-log4j12-1.6.6.jar $DEPLOY_DIR/lib +cp ../pinpoint-profiler/target/dependency/slf4j-api-1.6.6.jar $DEPLOY_DIR/lib -cp ../pinpoint-profiler/target/dependency/log4j-1.2.16.jar ../pinpoint-testbed/agent/lib -cp ../pinpoint-profiler/target/dependency/slf4j-log4j12-1.6.6.jar ../pinpoint-testbed/agent/lib -cp ../pinpoint-profiler/target/dependency/slf4j-api-1.6.6.jar ../pinpoint-testbed/agent/lib - -cp ../pinpoint-profiler/runscript/help.txt ../pinpoint-testbed/agent -cp ../pinpoint-profiler/runscript/pinpoint.config ../pinpoint-testbed/agent -cp ../pinpoint-profiler/runscript/log4j.xml ../pinpoint-testbed/agent/lib \ No newline at end of file +cp ../pinpoint-profiler/runscript/help.txt $DEPLOY_DIR +cp ../pinpoint-profiler/target/classes/pinpoint.config $DEPLOY_DIR +cp ../pinpoint-profiler/target/classes/log4j.xml $DEPLOY_DIR \ No newline at end of file