updateEnv.sh 1.52 KB
#!/bin/bash

 export AMDA_SPASE_INTERFACE=/home/budnik/AMDA_SPASE_INTERFACE/
 if [[ ${AMDA_SPASE_INTERFACE: -1} != "/" ]]; then
	export AMDA_SPASE_INTERFACE=$AMDA_SPASE_INTERFACE/
 fi
 
 # info dirs will be written here
 export NEWMETA=/home/budnik/NEWMETA/
 if [[ ${NEWMETA: -1} != "/" ]]; then
	export NEWMETA=$NEWMETA/
 fi
 
 # AMDA internal parameter XMLs  
 export AMDAINTERNALDIR=/home/budnik/AMDA_INTERNAL_METADATA/
 if [[ ${AMDAINTERNALDIR: -1} != "/" ]]; then
	export AMDAINTERNALDIR=$AMDAINTERNALDIR/
 fi
 
 # AMDA Installation
 export AMDAINSTALLATION=/home/budnik/AMDA
 # DD Installation
 export DDROOT=/opt/local
 # GCC Installation
 export GCCROOT=/opt/tools/gcc/4.7.2/rtf
 #AMDA_Kernel build type to use for paraminfo generation
 export BUILD_TYPE=Debug
 
 export AMDA_IHM=$AMDAINSTALLATION/AMDA_IHM
 export LD_LIBRARY_PATH=$GCCROOT/lib64:$GCCROOT/lib:$DDROOT/lib
 export PATH=./:$GCCROOT/bin:$DDROOT/bin:$AMDA_IHM/update_amda:$AMDA_SPASE_INTERFACE:$AMDA_IHM/php:$PATH
 
 # DD Server WebServices (to update Start-Stop)
 export DD_WSDL="http://amda-dev.irap.omp.eu/BASE/DDService/dd.wsdl"

 #SPASE Registry definitions
 export SPASE_REPO="http://apus.irap.omp.eu:8080/amda-registry/resolver"
 #Remote SPASE Registry to get Person' Info
 export SPASE_REMOTE="http://www.spase-group.org/smwg/resolver"
 # for SPASE Registy MAJ
 export SPASE_HOST=apus.irap.omp.eu
 export SPASE_ROOT="/usr/share/tomcat/webapps/amda-registry/metadata"  
 
 #Proxy definition
 #export PROXY_HOST=
 #export PROXY_PORT=
 #export PROXY_NAME=
 #export PROXY_PWD=