6 DEPLOY_SCR=`dirname $0`/DEPLOY.sh
22 echo "Which one you want to deploy [1]:"
24 echo " 1. Client and server"
25 echo " 2. Ft-client and server"
26 echo " 3. St-client and servers"
29 [ "$type" = "" ] && type=1
33 DEPLOY_DIR__dflt=$HOME/ADML-clientAndServer
37 DEPLOY_DIR__dflt=$HOME/ADML-ftclientAndServer
41 DEPLOY_DIR__dflt=$HOME/ADML-stclientAndServers
45 echo "Unknown option!"
51 echo "Directory for deploy [$DEPLOY_DIR__dflt]:"
53 [ "$DIR" = "" ] && DIR=$DEPLOY_DIR__dflt
54 [ -d $DIR ] && _exit "The directory '$DIR' already exists !"
58 $DEPLOY_SCR b $DIR/ADML-client
59 $DEPLOY_SCR b $DIR/ADML-server
60 echo "Configuring ..."
62 echo c | ./configure.sh >/dev/null
65 echo s | ./configure.sh >/dev/null
70 $DEPLOY_SCR f $DIR/ADML-ft-client
71 $DEPLOY_SCR b $DIR/ADML-server
72 echo "Configuring ..."
74 echo s | ./configure.sh >/dev/null
79 $DEPLOY_SCR s $DIR/ADML-st-client
80 $DEPLOY_SCR b $DIR/ADML-serverGx
81 $DEPLOY_SCR b $DIR/ADML-serverRx
82 echo "Configuring ..."
83 cd $DIR/ADML-st-client
84 ln -s realms_example realms
87 mv operation.sh .operation-one.sh
88 mv operation_all.sh operation.sh
92 echo s | ./configure.sh >/dev/null
93 sed -i 's/3868/3869/' services.xml
94 ln -sf stacks/other_examples/16777238.xml dictionary.xml
97 echo s | ./configure.sh >/dev/null
98 ln -sf stacks/other_examples/16777236.xml dictionary.xml