mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 08:16:15 +10:00
[유치수] [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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user