Created
October 9, 2020 11:08
-
-
Save Diego91RA/478135eb958090efb1fa0a3e66388fa7 to your computer and use it in GitHub Desktop.
Hdb configurator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TANGO_JAVA_LIBS=/usr/local/share/java | |
Appli=$TANGO_JAVA_LIBS/hdbpp-configurator.jar | |
CLASSPATH=$TANGO_JAVA_LIBS/JTango.jar:$TANGO_JAVA_LIBS/ATKWidget.jar:$TANGO_JAVA_LIBS/ATKCore.jar | |
CLASSPATH=$CLASSPATH:$TANGO_JAVA_LIBS/Jive.jar:$Appli | |
export CLASSPATH | |
echo CLASSPATH $CLASSPATH | |
export TANGO_HOST=localhost:10000 | |
export HdbManager=sys/tools/hdb_cm | |
export JNIPATH=-Djava.library.path=/usr/lib/x86_64-linux-gnu/ | |
if [ "$#" -lt 1 ] | |
then | |
java $JNIPATH -cp $CLASSPATH org.tango.hdb_configurator.configurator.HdbConfigurator | |
else | |
if [ $1 = "-diag" ] | |
then | |
java $JNIPATH -cp $CLASSPATH org.tango.hdb_configurator.diagnostics.HdbDiagnostics | |
else | |
java $JNIPATH -cp $CLASSPATH org.tango.hdb_configurator.configurator.HdbConfigurator | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment