Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hdb configurator
#!/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