#!/bin/bash
cd ../lib
xterm -e "java -jar aether-eureka-0.10-SNAPSHOT.jar" &
xterm -e "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=18100,suspend=n -jar aether-servicemanager-simple-0.10-SNAPSHOT.jar $1" &
if [ -z $2 ]; then
xterm -e "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=18102,suspend=n -jar aether-core-0.10-SNAPSHOT.jar $1" &
xterm -e "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=18101,suspend=n -jar aether-web-0.10-SNAPSHOT.jar" &
cd ../webr
export REACT_APP_MYSERVER=$MYSERVER
export REACT_APP_MYPORT=$MYPORT
npx react-inject-env set -d docroot
xterm -e "npx http-server docroot -p $WEBR" &
fi

#!/bin/bash
cd ../lib
$COMMAND "java -jar aether-eureka-0.10-SNAPSHOT.jar" &
$COMMAND "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=18100,suspend=n -jar aether-servicemanager-simple-0.10-SNAPSHOT.jar $1" &
if [ -z $2 ]; then
$COMMAND "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=18102,suspend=n -jar aether-core-0.10-SNAPSHOT.jar $1" &
$COMMAND "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=18101,suspend=n -jar aether-web-0.10-SNAPSHOT.jar" &
cd ../webr
export REACT_APP_MYSERVER=$MYSERVER
export REACT_APP_MYPORT=$MYPORT
npx react-inject-env set -d docroot
$COMMAND "npx http-server docroot -p $WEBR" &
fi

Change from local to cloud (I5).
Change from local to cloud (I5).
