2 ##############################################################################
3 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
11 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
12 source set_bottlenecks_rubbos_env.sh
14 echo "CONFIGURING RUBBOS CLIENT on $HOSTNAME"
16 cp -r $WORK_HOME/rubbos_files/Client $RUBBOS_HOME/
17 cp -r $WORK_HOME/rubbos_files/bench $RUBBOS_HOME/
19 cp $OUTPUT_HOME/rubbos_conf/build.properties $RUBBOS_HOME/
20 cp $OUTPUT_HOME/rubbos_conf/config.mk $RUBBOS_HOME/
21 cp $OUTPUT_HOME/rubbos_conf/Makefile $RUBBOS_HOME/
23 cp $OUTPUT_HOME/rubbos_conf/rubbos-servletsBO.sh $RUBBOS_HOME/bench/
24 cp $OUTPUT_HOME/rubbos_conf/rubbos-servletsRW.sh $RUBBOS_HOME/bench/
26 chmod ug+x $RUBBOS_HOME/bench/*.sh
29 echo "COMPILING RUBBOS CLIENT on $HOSTNAME"
30 cd $RUBBOS_HOME/Client
34 echo "DONE CONFIGURING RUBBOS CLIENT on $HOSTNAME"