From 0355077b49e649d0633f739197ba93b97c8a5e54 Mon Sep 17 00:00:00 2001 From: nri Date: Mon, 26 May 2003 15:39:43 +0000 Subject: [PATCH] NRI : Remove old files. We will add again if requested. --- bin/README | 38 ------ bin/allkill | 30 ----- bin/allkillWithPort | 147 --------------------- bin/config.in | 4 - bin/insertComputerRessourcesCatalog.sh.in | 149 ---------------------- bin/omniORB.cfg.in | 1 - bin/runClientDataTypeCatalog.in | 6 - bin/runClientModuleCatalog.in | 6 - bin/runClientRessourcesCatalog.in | 6 - bin/runDataTypeCatalog.in | 11 -- bin/runLoader.in | 36 ------ bin/runModuleCatalog.in | 12 -- bin/runMono.in | 130 ------------------- bin/runNSWithPort.sh | 34 ----- bin/runNotify.sh | 6 - bin/runRessourcesCatalog.in | 11 -- bin/runSALOMEDS_Client.in | 6 - bin/runSalome.in | 121 ------------------ bin/runSalomeDesktop.in | 53 -------- bin/runSalomeServers.in | 93 -------------- bin/runSalomeWithPort.in | 98 -------------- bin/runSession.in | 99 -------------- bin/runTestContainer.in | 16 --- bin/runTestContainerPy.in | 28 ---- bin/runTestContainerPy2.in | 9 -- bin/runTestLifeCycle.in | 27 ---- bin/runTestMED.in | 34 ----- bin/runTestNotification.in | 17 --- bin/showNS.in | 27 ---- 29 files changed, 1255 deletions(-) delete mode 100755 bin/README delete mode 100755 bin/allkill delete mode 100755 bin/allkillWithPort delete mode 100644 bin/config.in delete mode 100755 bin/insertComputerRessourcesCatalog.sh.in delete mode 100644 bin/omniORB.cfg.in delete mode 100755 bin/runClientDataTypeCatalog.in delete mode 100755 bin/runClientModuleCatalog.in delete mode 100755 bin/runClientRessourcesCatalog.in delete mode 100755 bin/runDataTypeCatalog.in delete mode 100755 bin/runLoader.in delete mode 100755 bin/runModuleCatalog.in delete mode 100644 bin/runMono.in delete mode 100755 bin/runNSWithPort.sh delete mode 100755 bin/runNotify.sh delete mode 100755 bin/runRessourcesCatalog.in delete mode 100755 bin/runSALOMEDS_Client.in delete mode 100644 bin/runSalome.in delete mode 100644 bin/runSalomeDesktop.in delete mode 100644 bin/runSalomeServers.in delete mode 100644 bin/runSalomeWithPort.in delete mode 100755 bin/runSession.in delete mode 100755 bin/runTestContainer.in delete mode 100644 bin/runTestContainerPy.in delete mode 100644 bin/runTestContainerPy2.in delete mode 100755 bin/runTestLifeCycle.in delete mode 100644 bin/runTestMED.in delete mode 100644 bin/runTestNotification.in delete mode 100644 bin/showNS.in diff --git a/bin/README b/bin/README deleted file mode 100755 index 20f021e88..000000000 --- a/bin/README +++ /dev/null @@ -1,38 +0,0 @@ -There are several scripts for launching SALOME. -First of all you have possibility to launch all servers simultaneously using any -of following scripts: runSalome or runSalomeWithPort. The difference between -them consist in using port number for running Naming Service. You should set -port number in a omniORB.cfg in your home folder. This file contains following -string: -ORBInitRef NameService=corbaname::moulinex:2888 , -where moulinex is a machine name and 2888 is a unique port number. -The runSalome script doesn't contain any parameter related to using specific port -number and in order to use it you must set port number as 2809. Otherwise you -will not be able to run all servers. Also you can have problems at attempt to -launch SALOME application on computer with existing instance of the same program -launched by another user. In order to avoid this we recomment strongly to use -runSalomeWithPort scripts. You must pass port number defined in your omniORB.cfg -file as parameter. -Also both scripts use special CORBA server Logger that is used in order to put -all messages in one place. You can put all messages related to SALOME application -you should pass absolute pathname of output file as parameter for both scripts. -Otherwise all messages will be put into terminal. -Example of using runSalome: - runSalome ~/SALOME.log -Example of using runSalomeWithPort: - runSalomeWithPort 2888 ~/SALOME.log -Another way to launch salome consists in using two interdependent scripts: -runSalomeServers and runSalomeDesktop. This way is more elegant and also it can -save your time you spend on successive running SALOME. At first it's necessary to -load all servers with help of runSalomeServers scripts. It can take two -parameters. First one is indispensable for launching and it should contains port -number for Naming Service. Second parameter contains absolute pathname for -special Logger server. In case you not pass second parameter all output messages -will be put into terminal instead of file. You have to launch runSalomeServers -before runSalomeDesktop only once time. Then you can launch runSalomeDesktop -(without any parameters) that is in charge of loading GUI. -Example of using: -1. runSalomeServers 2888 ~/SALOME.log -2. runSalomeDesktop -3. You can close application and run it again. -Just type runSalomeDesktop again and enjoy. diff --git a/bin/allkill b/bin/allkill deleted file mode 100755 index 5d23af21a..000000000 --- a/bin/allkill +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -if test $# = 0; then - killall -q -9 SALOME_Logger_Server - killall -q -9 omniNames - killall -q -9 geom - killall -q -9 SALOMEDS_Server - killall -q -9 mesh - killall -q -9 SALOME_Session_Server - killall -q -9 SALOME_ModuleCatalog_Client - killall -q -9 SALOME_ModuleCatalog_Server - killall -q -9 SALOME_DataTypeCatalog_Client - killall -q -9 SALOME_DataTypeCatalog_Server - killall -q -9 SALOME_RessourcesCatalog_Client - killall -q -9 SALOME_RessourcesCatalog_Server - killall -q -9 SALOME_Container -export Container=`eval "which SALOME_Container"` - killall -q -9 ${Container} - killall -q -9 micod - killall -q -9 traderd - killall -q -9 notifd - killall -q -9 SALOME_Registry_Server - killall -q -9 runDataGUIServer -fi - -if test $# != 0; then - killall -q -9 $1 -export Container=`eval "which $1"` - killall -q -9 ${Container} -fi diff --git a/bin/allkillWithPort b/bin/allkillWithPort deleted file mode 100755 index db60bdfbf..000000000 --- a/bin/allkillWithPort +++ /dev/null @@ -1,147 +0,0 @@ -#!/bin/sh - - -# killall -q -9 omniNames -if test $# = 0; then -list=`ps -f U $USER --width 1000 | grep omniNames | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_Logger_Server -list=`ps -f U $USER --width 1000 | grep SALOME_Logger_Server | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 geom -list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=geom` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOMEDS_Server -list=`ps -f U $USER --width 1000 | grep SALOMEDS_Server | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 mesh -list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=mesh` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_Session_Server -list=`ps -f U $USER --width 1000 | grep SALOME_Session_Serve | grep -vE "grep|gdb" | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_ModuleCatalog_Client -list=`ps -f U $USER --width 1000 | grep SALOME_ModuleCatalog_Client | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_ModuleCatalog_Server -list=`ps -f U $USER --width 1000 | grep SALOME_ModuleCatalog_Server | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_DataTypeCatalog_Client -list=`ps -f U $USER --width 1000 | grep SALOME_DataTypeCatalog_Client | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_DataTypeCatalog_Server -list=`ps -f U $USER --width 1000 | grep SALOME_DataTypeCatalog_Server | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_RessourcesCatalog_Client -list=`ps -f U $USER --width 1000 | grep SALOME_RessourcesCatalog_Client | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_RessourcesCatalog_Server -list=`ps -f U $USER --width 1000 | grep SALOME_RessourcesCatalog_Server | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SALOME_Container -list=`ps -f U $USER --width 1000 | grep SALOME_Container | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 FactoryServer -list=`ps -f U $USER --width 1000 | grep FactoryServer | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9 SuperVisionContainer -list=`ps -f U $USER --width 1000 | grep SuperVisionContainer | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -# killall -q -9SALOME_ContainerPy.py -list=`ps -f U $USER --width 1000 | grep SALOME_ContainerPy.py | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -#export Container=`eval "which SALOME_Container"` -#killall -q -9 ${Container} -list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=micod` -for pid in $list; do - kill -s KILL $pid -done -# killall -q -9 micod -list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=traderd` -for pid in $list; do - kill -s KILL $pid -done -# killall -q -9 traderd -list=`ps -e -o pid,user,fname | awk '{if ($2 == USRNAME && $3 == FNAME) print $1}' USRNAME=$USER FNAME=notifd` -for pid in $list; do - kill -s KILL $pid -done -# killall -q -9 notifd -list=`ps -f U $USER --width 1000 | grep SALOME_Registry_Server | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done -# killall -q -9 SALOME_Registry_Server -list=`ps -f U $USER --width 1000 | grep runDataGUIServer | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done -# killall -q -9 runDataGUIServer -fi - -if test $# != 0; then -list=`ps -f U $USER --width 1000 | grep $1 | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done -# killall -q -9 $1 -list=`ps -f U $USER --width 1000 | grep FactoryServer | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done -list=`ps -f U $USER --width 1000 | grep SuperVisionContainer | grep -v grep | awk '{print $2}'` -for pid in $list; do - kill -s KILL $pid -done - -#export Container=`eval "which $1"` -# killall -q -9 ${Container} -fi diff --git a/bin/config.in b/bin/config.in deleted file mode 100644 index 23a7973e7..000000000 --- a/bin/config.in +++ /dev/null @@ -1,4 +0,0 @@ - -DIR=`pwd` -export OMNIORB_CONFIG=${DIR}/omniORB.cfg - diff --git a/bin/insertComputerRessourcesCatalog.sh.in b/bin/insertComputerRessourcesCatalog.sh.in deleted file mode 100755 index eeb46fd62..000000000 --- a/bin/insertComputerRessourcesCatalog.sh.in +++ /dev/null @@ -1,149 +0,0 @@ -#!/usr/bin/perl -w -# Estelle Deville 14 sept 2001 -# Utilities to complete the Ressource Catalog with a new computer ressource - -print "What is the Ressource Catalog name (absolute path)? "; -chomp($catalog=); -print "What is the computer name? "; -chomp($computer=); - -printf "Will C++ container Type be able on %s [y/n]? ", $computer; -chomp($response=); -if($response eq "y") - { - push(@container,"C++"); - } -printf "Will python container Type be able on %s [y/n]? ", $computer; -chomp($response=); -if($response eq "y") - { - push(@container,"python"); - } -printf "Will NP container Type be able on %s [y/n]? ", $computer; -chomp($response=); -if($response eq "y") - { - push(@container,"NP"); - } - -chomp($working_computer=`hostname`); - -if($working_computer eq $computer) -{ - - if(-r $catalog && -w $catalog) - { #file exist and can bi read and write - chomp($OS=`uname`); - chomp($OS_version=`uname -r`); - - $proc="/proc/cpuinfo"; - if(-r $proc) - { - #information file of processor is accessible - open(PROC, $proc); - while() - { - chomp; - $temp = $_; - $temp =~ s/\t.*$//; - if($temp eq "processor") - { - $_=~ s/^[^:]*: //; - push(@proc_number,$_); - } - if($temp eq "model name") - { - $_=~ s/^[^:]*: //; - push(@model_name,$_); - } - if($temp eq "cpu MHz") - { - $_=~ s/^[^:]*: //; - push(@cpu,$_); - } - if($temp eq "cache size") - { - $_=~ s/^[^:]*: //; - $_=~ s/ .*$//; - push(@cache,$_); - } - } - close(PROC); - - } - #Information Verification - for ($i=0; $i<=$#proc_number; $i++) - { - print "PROCESSOR\n"; - printf "number %s \n", $proc_number[$i]; - printf "model name %s \n", $model_name[$i]; - printf "cpu %s \n", $cpu[$i]; - printf "cache %s \n", $cache[$i]; - } - print "OS information\n"; - printf "OS %s \n", $OS; - printf "OS_version %s \n",$OS_version; - print "CONTAINER TYPE LIST\n"; - for ($i=0; $i<=$#container; $i++) - { - printf "container type %s \n", $container[$i]; - } - - #Write catalog content - open(CATALOG_IN,$catalog); - $catalog_temp=$catalog."_temp"; - open(CATALOG,">$catalog_temp"); - $tmp =0; - while() - { - print CATALOG $_; - if($_ eq "\n") - { - $tmp=1; - } - if ($tmp == 1) - { - print CATALOG "\t\n"; - printf CATALOG "\t\t%s\n", $computer; - printf CATALOG "\t\t%s\n", $OS; - printf CATALOG "\t\t%s\n", $OS_version; - print CATALOG "\t\t\n"; - #processor - for ($i=0; $i<=$#proc_number; $i++) - { - printf CATALOG "\t\t\t\n"; - printf CATALOG "\t\t\t\t%s\n", $proc_number[$i]; - printf CATALOG "\t\t\t\t%s\n", $model_name[$i]; - printf CATALOG "\t\t\t\t%s\n", $cpu[$i]; - printf CATALOG "\t\t\t\t%s\n", $cache[$i]; - printf CATALOG "\t\t\t\n"; - } - print CATALOG "\t\t\n"; - #container - print CATALOG "\t\t\n"; - for ($i=0; $i<=$#container; $i++) - { - printf CATALOG "\t\t\t\t%s\n", $container[$i]; - } - print CATALOG "\t\t\n"; - print CATALOG "\t\n"; - $tmp=0; - } - } - close(CATALOG); - close(CATALOG_IN); - rename($catalog_temp,$catalog) || die "can't rename :$!"; - } - else - { - printf "Error, the Ressource catalog %s isn't accessible\n", $catalog; - } - -} -else -{ - printf "Error, you should run the script on computer %s \n", $computer; -} - - - diff --git a/bin/omniORB.cfg.in b/bin/omniORB.cfg.in deleted file mode 100644 index e1f84c917..000000000 --- a/bin/omniORB.cfg.in +++ /dev/null @@ -1 +0,0 @@ -ORBInitRef NameService=corbaname::localhost:1515 diff --git a/bin/runClientDataTypeCatalog.in b/bin/runClientDataTypeCatalog.in deleted file mode 100755 index 4849841bc..000000000 --- a/bin/runClientDataTypeCatalog.in +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./SALOME_DataTypeCatalog_Client diff --git a/bin/runClientModuleCatalog.in b/bin/runClientModuleCatalog.in deleted file mode 100755 index 3666e1081..000000000 --- a/bin/runClientModuleCatalog.in +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./SALOME_ModuleCatalog_Client diff --git a/bin/runClientRessourcesCatalog.in b/bin/runClientRessourcesCatalog.in deleted file mode 100755 index 7c66a16c6..000000000 --- a/bin/runClientRessourcesCatalog.in +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./SALOME_RessourcesCatalog_Client diff --git a/bin/runDataTypeCatalog.in b/bin/runDataTypeCatalog.in deleted file mode 100755 index 39604af3e..000000000 --- a/bin/runDataTypeCatalog.in +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./allkill - -runNS.sh - -SALOME_DataTypeCatalog_Server \ --common ${SALOME_SRC_DIR}/SALOME/resources/CatalogDataType.xml & diff --git a/bin/runLoader.in b/bin/runLoader.in deleted file mode 100755 index 972f9bb99..000000000 --- a/bin/runLoader.in +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -PYTHON_VERSION=python@PYTHON_VERSION@ - -# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it) - -if test -n $SALOME_ROOT_DIR -then - export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${PYTHONPATH} -fi -if test -n $SALOME_SITE_DIR -then - export PATH=$SALOME_SITE_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${PYTHONPATH} -fi - -if test -d $HOME/.salome/bin -then - export PATH=$HOME/.salome/bin:${PATH} -fi -if test -d $HOME/.salome/lib -then - export LD_LIBRARY_PATH=$HOME/.salome/lib:${LD_LIBRARY_PATH} -fi - -export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources -export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources - -export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome - -export tmp=/tmp - -SALOME_Session_loader diff --git a/bin/runModuleCatalog.in b/bin/runModuleCatalog.in deleted file mode 100755 index 36ca8c542..000000000 --- a/bin/runModuleCatalog.in +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./allkill - -runNS.sh - -SALOME_ModuleCatalog_Server \ --common ${SALOME_SRC_DIR}/SALOME/resources/CatalogModuleGeneral.xml \ --personal ${SALOME_SRC_DIR}/SALOME/resources/CatalogModulePersonnel.xml & diff --git a/bin/runMono.in b/bin/runMono.in deleted file mode 100644 index eded4a98e..000000000 --- a/bin/runMono.in +++ /dev/null @@ -1,130 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ - -cd ${SALOME_HOME_DIR}/bin - -# OCAF -export CSF_PluginDefaults=${SALOME_HOME_DIR}/resources -export CSF_ResourcesDefaults=${SALOME_HOME_DIR}/resources -#export CSF_RepeatServerRequest=10 - -export CSF_ToolsGUIResources=${SALOME_HOME_DIR}/SALOME/resources -export CSF_ToolsGUILanguage=en - -export CSF_SALOMEGUIResources=${SALOME_HOME_DIR}/SALOME/resources -export CSF_SALOMEGUILanguage=en - -export CSF_QADResources=${SALOME_HOME_DIR}/SALOME/resources -export CSF_QADLanguage=en - -export CSF_GeometryGUIResources=${SALOME_HOME_DIR}/GEOM/resources -export CSF_GeometryGUILanguage=en - -export CSF_MeshGUIResources=${SALOME_HOME_DIR}/MESH/resources -export CSF_MeshGUILanguage=en - -export CSF_QMGGUIResources=${SALOME_HOME_DIR}/QMG/resources -export CSF_QMGGUILanguage=en - -export CSF_CLRheolefGUIResources=${SALOME_HOME_DIR}/CLRHEOLEF/resources -export CSF_CLRheolefGUILanguage=en - -export CSF_RheolefGUIResources=${SALOME_HOME_DIR}/RHEOLEF/resources -export CSF_RheolefGUILanguage=en - -export CSF_MEFISTETGUIResources=${SALOME_HOME_DIR}/MEFISTET/resources -export CSF_MEFISTETGUILanguage=en - -export CSF_DataGUIResources=${SALOME_HOME_DIR}/DATA/resources -export CSF_DataGUILanguage=en - -export CSF_VisuGUIResources=${SALOME_HOME_DIR}/VISU/resources -export CSF_VisuGUILanguage=en - -export CSF_DiodoreGUIResources=${SALOME_HOME_DIR}/DIODORE/resources -export CSF_DiodoreGUILanguage=en - -export CSF_MiniExempleGUIResources=${SALOME_HOME_DIR}/MINIEXEMPLE/resources -export CSF_MiniExempleGUILanguage=en - -export CSF_SupervisionGUIResources=${SALOME_HOME_DIR}/SUPERV/resources -export CSF_SupervisionGUILanguage=en - -export CSF_CatalogueResources=${SALOME_HOME_DIR}/resources - -export CSF_ToolsResources=${SALOME_HOME_DIR}/SALOME/resources - -export CSF_GeometryResources=${SALOME_HOME_DIR}/GEOM/resources - -export CSF_MeshResources=${SALOME_HOME_DIR}/MESH/resources - -export CSF_QMGResources=${SALOME_HOME_DIR}/QMG/resources - -export CSF_CLRheolefResources=${SALOME_HOME_DIR}/CLRHEOLEF/resources - -export CSF_RheolefResources=${SALOME_HOME_DIR}/RHEOLEF/resources - -export CSF_MEFISTETResources=${SALOME_HOME_DIR}/MEFISTET/resources - -export CSF_MiniExempleResources=${SALOME_HOME_DIR}/MINIEXEMPLE/resources - -export CSF_DataResources=${SALOME_HOME_DIR}/DATA/resources - -export CSF_VisuResources=${SALOME_HOME_DIR}/VISU/resources - -export CSF_DiodoreResources=${SALOME_HOME_DIR}/DIODORE/resources - -export CSF_SupervisionResources=${SALOME_HOME_DIR}/SUPERV/resources - -export CSF_PATHData=${SALOME_SRC_DIR}/data - -export tmp=/usr/tmp - -echo "runSession standalone on ${HOSTNAME}" -./allkill - -echo "Starting ./runNS.sh" -./runNS.sh -sleep 2 - -echo "Starting SALOME_Logger_Server $1" -./SALOME_Logger_Server $1 & -sleep 2 - -echo "Starting ./SALOME_Registry_Server" -./SALOME_Registry_Server --salome_session theSession & -sleep 2 - -echo "Starting ./SALOMEDS_Server" -./SALOMEDS_Server& -sleep 2 - -echo "Starting ./SALOME_ModuleCatalog_Server -common ${SALOME_SRC_DIR}/SALOME/resources/CatalogModuleGeneral.xml -personal ${SALOME_SRC_DIR}/SALOME/resources/CatalogModulePersonnel.xml" -./SALOME_ModuleCatalog_Server \ - -common ${SALOME_SRC_DIR}/SALOME/resources/CatalogModuleGeneral.xml \ - -personal ${SALOME_SRC_DIR}/SALOME/resources/CatalogModulePersonnel.xml & -sleep 2 - -echo "Starting ./SALOME_Session_Server" -./SALOME_Session_Server& -sleep 2 - -echo "Starting ./runNotify.sh" -./runNotify.sh - -echo "./SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost:1515" -./SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost:1515 & - -echo "Starting ./SALOME_ContainerPy.py" -./SALOME_ContainerPy.py & - -sleep 5 -echo "Starting SALOME_Session_loader" -./SALOME_Session_loader & - -echo "--------------------------------------------------------------------------------" -echo "| |" -echo "| read README file on this directory for configuration and launch of SALOME |" -echo "| |" -echo "--------------------------------------------------------------------------------" diff --git a/bin/runNSWithPort.sh b/bin/runNSWithPort.sh deleted file mode 100755 index 7f19eea7d..000000000 --- a/bin/runNSWithPort.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -#log files localization - -BaseDir=/tmp -Username=`/usr/bin/whoami` - -# kill OmniNames if exists - -#killall -q -9 omniNames - -# clear log files - -mkdir -m 775 ${BaseDir}/logs -mkdir ${BaseDir}/logs/${Username} -touch ${BaseDir}/logs/${Username}/dummy -\rm -f ${BaseDir}/logs/${Username}/omninames* ${BaseDir}/logs/${Username}/dummy ${BaseDir}/logs/${Username}/*.log - -echo "Name Service... " - -omniNames -start $1 -logdir ${BaseDir}/logs/${Username} & - -# In LifeCycleCORBA, FactoryServer is started with rsh on the requested -# computer if this Container does not exist. Default is localhost. -# Others Containers are started with start_impl of FactoryServer Container. - -# To start dynamically Containers on several computers you need to : -#1. define your ~/.omniORB.cfg file with a computer name and port number -# example : ORBInitRef NameService=corbaname::dm2s0017:1515 -#2. start omninames with this port number in runNS.sh -# example : omniNames -start 1515 -logdir ${BaseDir}/logs/${Username} & - -echo ok -echo "to list contexts and objects bound int the context with the specified name : showNS " diff --git a/bin/runNotify.sh b/bin/runNotify.sh deleted file mode 100755 index a39224a55..000000000 --- a/bin/runNotify.sh +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/sh - -echo "-----------------------> Daemon notification..." - -notifd -c ${SALOME_SRC_DIR}/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior& -sleep 2 diff --git a/bin/runRessourcesCatalog.in b/bin/runRessourcesCatalog.in deleted file mode 100755 index cea6b3e99..000000000 --- a/bin/runRessourcesCatalog.in +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./allkill - -runNS.sh - -SALOME_RessourcesCatalog_Server \ --common ${SALOME_SRC_DIR}/SALOME/resources/CatalogRessources.xml & diff --git a/bin/runSALOMEDS_Client.in b/bin/runSALOMEDS_Client.in deleted file mode 100755 index 53c9f2240..000000000 --- a/bin/runSALOMEDS_Client.in +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./SALOMEDS_Client diff --git a/bin/runSalome.in b/bin/runSalome.in deleted file mode 100644 index 9d08bdd32..000000000 --- a/bin/runSalome.in +++ /dev/null @@ -1,121 +0,0 @@ -#! /bin/sh - -PYTHON_VERSION=python@PYTHON_VERSION@ - -# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it) - -if test -n KERNEL_ROOT_DIR -then - export PATH=$KERNEL_ROOT_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$KERNEL_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${KERNEL_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${KERNEL_ROOT_DIR}/share/salome/resources:${PYTHONPATH} - # add bin, because some script are in (KERNEL_SWIG) !!!! - export PYTHONPATH=${KERNEL_ROOT_DIR}/bin/salome:${PYTHONPATH} - echo "#############################################" - echo $PATH - echo "------------------------" - echo $LD_LIBRARY_PATH - echo "------------------------" - echo $PYTHONPATH - echo "#############################################" -fi - -if test -n $SALOME_ROOT_DIR -then - export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${SALOME_ROOT_DIR}/share/salome/resources:${PYTHONPATH} - # add bin, because some script are in (SALOME_SWIG) !!!! - export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH} - echo "#############################################" - echo $PATH - echo "------------------------" - echo $LD_LIBRARY_PATH - echo "------------------------" - echo $PYTHONPATH - echo "#############################################" -fi -if test -n $SALOME_SITE_DIR -then - export PATH=$SALOME_SITE_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${SALOME_SITE_DIR}/share/salome/resources:${PYTHONPATH} -fi - -if test -d $HOME/Salome/bin/salome -then - export PATH=$HOME/Salome/bin/salome:${PATH} -fi -if test -d $HOME/Salome/lib/salome -then - export LD_LIBRARY_PATH=$HOME/Salome/lib/salome:${LD_LIBRARY_PATH} -fi - -# Open CASCADE Application Framework - OCAF -export CSF_PluginDefaults=${KERNEL_ROOT_DIR}/share/salome/resources -export CSF_SALOMEDS_ResourcesDefaults=${KERNEL_ROOT_DIR}/share/salome/resources -#export CSF_ResourceVerbose=1 -#export CSF_RepeatServerRequest=10 - -if test -n $GEOM_ROOT_DIR -then - export CSF_GEOMDS_ResourcesDefaults=${GEOM_ROOT_DIR}/share/salome/resources -fi - -export tmp=/tmp - -echo "runSession standalone on ${HOSTNAME}" -allkill - -echo "Starting runNS.sh" -runNS.sh -sleep 2 - -echo "Starting SALOME_Logger_Server $1" -SALOME_Logger_Server $1 & -sleep 2 - -echo "Starting SALOME_Registry_Server" -SALOME_Registry_Server --salome_session theSession & -#sleep 2 - -echo "Starting SALOMEDS_Server" -SALOMEDS_Server& -#sleep 2 - -echo "Starting SALOME_ModuleCatalog_Server -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml" -SALOME_ModuleCatalog_Server \ - -common ${KERNEL_ROOT_DIR}/share/salome/resources/KERNELCatalog.xml:\ -${GEOM_ROOT_DIR}/share/salome/resources/GEOMCatalog.xml:\ -${SUPERV_ROOT_DIR}/share/salome/resources/SUPERVCatalog.xml:\ -${VISU_ROOT_DIR}/share/salome/resources/VISUCatalog.xml:\ -${MED_ROOT_DIR}/share/salome/resources/MEDCatalog.xml:\ -${SMESH_ROOT_DIR}/share/salome/resources/SMESHCatalog.xml \ - -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml & -#sleep 2 - -echo "Starting SALOME_Session_Server" -SALOME_Session_Server& -#sleep 2 - -echo "Starting runNotify.sh" -notifd -c ${KERNEL_ROOT_DIR}/share/salome/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior& - -echo "SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost" -SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost & - -echo "SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost" -SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost & - -echo "SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost" -SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost & - -echo "Starting SALOME_Session_loader" -SALOME_Session_loader& - -echo "--------------------------------------------------------------------------------" -echo "| |" -echo "| read README file on this directory for configuration and launch of SALOME |" -echo "| |" -echo "--------------------------------------------------------------------------------" - diff --git a/bin/runSalomeDesktop.in b/bin/runSalomeDesktop.in deleted file mode 100644 index 8c9770c40..000000000 --- a/bin/runSalomeDesktop.in +++ /dev/null @@ -1,53 +0,0 @@ -#! /bin/sh - -# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it) - -if test -n $SALOME_ROOT_DIR -then - export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/python2.2/site-packages/salome:${PYTHONPATH} - # add bin, because some script are in (SALOME_SWIG) !!!! - export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH} -fi -if test -n $SALOME_SITE_DIR -then - export PATH=$SALOME_SITE_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/python2.2/site-packages/salome:${PYTHONPATH} -fi - -if test -d $HOME/Salome/bin -then - export PATH=$HOME/Salome/bin:${PATH} -fi -if test -d $HOME/Salome/lib -then - export LD_LIBRARY_PATH=$HOME/Salome/lib:${LD_LIBRARY_PATH} -fi - -#export ORB_ROOT_DIR=/export/home/LGLS/omni - - -#PYVTK_PATH= -#export PYTHONPATH=${PYTHONPATH}:${SALOME_ROOT_DIR}/idl:${SALOME_ROOT_DIR}/bin:${SALOME_ROOT_DIR}/lib:${PYVTK_PATH}:${EXEC_DIR} - -#export MICORC=/dev/null - -#cd ${SALOME_ROOT_DIR}/bin - -# OCAF -export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources -export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources - -export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome - -export tmp=/tmp - -SALOME_Session_loader - -echo "--------------------------------------------------------------------------------" -echo "| |" -echo "| read README file on this directory for configuration and launch of SALOME |" -echo "| |" -echo "--------------------------------------------------------------------------------" diff --git a/bin/runSalomeServers.in b/bin/runSalomeServers.in deleted file mode 100644 index b0d6c5750..000000000 --- a/bin/runSalomeServers.in +++ /dev/null @@ -1,93 +0,0 @@ -#! /bin/sh - -# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it) - -if test -n $SALOME_ROOT_DIR -then - export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/python2.2/site-packages/salome:${SALOME_ROOT_DIR}/share/salome/resources:${PYTHONPATH} - # add bin, because some script are in (SALOME_SWIG) !!!! - export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH} -fi -if test -n $SALOME_SITE_DIR -then - export PATH=$SALOME_SITE_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/python2.2/site-packages/salome:${SALOME_SITE_DIR}/share/salome/resources:${PYTHONPATH} -fi - -if test -d $HOME/Salome/bin -then - export PATH=$HOME/Salome/bin:${PATH} -fi -if test -d $HOME/Salome/lib -then - export LD_LIBRARY_PATH=$HOME/Salome/lib:${LD_LIBRARY_PATH} -fi - -#export ORB_ROOT_DIR=/export/home/LGLS/omni - - -#PYVTK_PATH= -#export PYTHONPATH=${PYTHONPATH}:${SALOME_ROOT_DIR}/idl:${SALOME_ROOT_DIR}/bin:${SALOME_ROOT_DIR}/lib:${PYVTK_PATH}:${EXEC_DIR} - -#export MICORC=/dev/null - -#cd ${SALOME_ROOT_DIR}/bin - -# OCAF -export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources -export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources - -export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome - -export tmp=/tmp - -echo "runSession standalone on ${HOSTNAME}" -allkillWithPort - -echo "Starting runNS.sh" -runNSWithPort.sh $1 -sleep 2 - -echo "Starting SALOME_Logger_Server $2" -SALOME_Logger_Server $2 & -sleep 2 - -echo "Starting SALOME_Registry_Server" -SALOME_Registry_Server --salome_session theSession & -#sleep 2 - -echo "Starting SALOMEDS_Server" -SALOMEDS_Server& -#sleep 2 - -echo "Starting SALOME_ModuleCatalog_Server -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml" -SALOME_ModuleCatalog_Server \ - -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml \ - -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml & -#sleep 2 - -echo "Starting SALOME_Session_Server" -SALOME_Session_Server& -#sleep 2 - -echo "Starting runNotify.sh" -notifd -c ${SALOME_ROOT_DIR}/share/salome/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior& -#sleep 2 - -echo "SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost" -SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost:$1 & - -echo "SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost" -SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost:$1 & - -echo "SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost" -SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost:$1 & - -echo "--------------------------------------------------------------------------------" -echo "| |" -echo "| read README file on this directory for configuration and launch of SALOME |" -echo "| |" -echo "--------------------------------------------------------------------------------" diff --git a/bin/runSalomeWithPort.in b/bin/runSalomeWithPort.in deleted file mode 100644 index 6a89f1367..000000000 --- a/bin/runSalomeWithPort.in +++ /dev/null @@ -1,98 +0,0 @@ -#! /bin/sh - -# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it) - -if test -n $SALOME_ROOT_DIR -then - export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/python2.2/site-packages/salome:${SALOME_ROOT_DIR}/share/salome/resources:${PYTHONPATH} - # add bin, because some script are in (SALOME_SWIG) !!!! - export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH} -fi -if test -n $SALOME_SITE_DIR -then - export PATH=$SALOME_SITE_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/python2.2/site-packages/salome:${SALOME_SITE_DIR}/share/salome/resources:${PYTHONPATH} -fi - -if test -d $HOME/Salome/bin -then - export PATH=$HOME/Salome/bin:${PATH} -fi -if test -d $HOME/Salome/lib -then - export LD_LIBRARY_PATH=$HOME/Salome/lib:${LD_LIBRARY_PATH} -fi - -#export ORB_ROOT_DIR=/export/home/LGLS/omni - - -#PYVTK_PATH= -#export PYTHONPATH=${PYTHONPATH}:${SALOME_ROOT_DIR}/idl:${SALOME_ROOT_DIR}/bin:${SALOME_ROOT_DIR}/lib:${PYVTK_PATH}:${EXEC_DIR} - -#export MICORC=/dev/null - -#cd ${SALOME_ROOT_DIR}/bin - -# OCAF -export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources -export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources -#export CSF_RepeatServerRequest=10 - -export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome - -export tmp=/tmp - -echo "runSession standalone on ${HOSTNAME}" -allkillWithPort - -echo "Starting runNS.sh" -runNSWithPort.sh $1 -sleep 2 - -echo "Starting SALOME_Logger_Server $2" -SALOME_Logger_Server $2 & -sleep 5 - -echo "Starting SALOME_Registry_Server" -SALOME_Registry_Server --salome_session theSession & -sleep 2 - -echo "Starting SALOMEDS_Server" -SALOMEDS_Server& -sleep 2 - -echo "Starting SALOME_ModuleCatalog_Server -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml" -SALOME_ModuleCatalog_Server \ - -common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml \ - -personal ${HOME}/Salome/resources/CatalogModulePersonnel.xml & -sleep 2 - -echo "Starting SALOME_Session_Server" -SALOME_Session_Server& -sleep 2 - -echo "Starting runNotify.sh" -notifd -c ${SALOME_ROOT_DIR}/share/salome/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior& -sleep 2 - -echo "SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost" -SALOME_Container FactoryServer -ORBInitRef NameService=corbaname::localhost:$1 & - -echo "SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost" -SALOME_ContainerPy.py FactoryServerPy -ORBInitRef NameService=corbaname::localhost:$1 & - -echo "SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost" -SALOME_Container SuperVisionContainer -ORBInitRef NameService=corbaname::localhost:$1 & - -sleep 5 -echo "Starting SALOME_Session_loader" -SALOME_Session_loader& - -echo "--------------------------------------------------------------------------------" -echo "| |" -echo "| read README file on this directory for configuration and launch of SALOME |" -echo "| |" -echo "--------------------------------------------------------------------------------" diff --git a/bin/runSession.in b/bin/runSession.in deleted file mode 100755 index 74b36d697..000000000 --- a/bin/runSession.in +++ /dev/null @@ -1,99 +0,0 @@ -#! /bin/sh - -PYTHON_VERSION=python@PYTHON_VERSION@ - -# you must define SALOME_ROOT_DIR and SALOME_SITE_DIR (if you need it) - -if test -n $SALOME_ROOT_DIR -then - export PATH=$SALOME_ROOT_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_ROOT_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_ROOT_DIR}/lib/salome:${SALOME_ROOT_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${SALOME_ROOT_DIR}/share/salome/resources:${PYTHONPATH} - # add bin, because some script are in (SALOME_SWIG) !!!! - export PYTHONPATH=${SALOME_ROOT_DIR}/bin/salome:${PYTHONPATH} -fi -if test -n $SALOME_SITE_DIR -then - export PATH=$SALOME_SITE_DIR/bin/salome:${PATH} - export LD_LIBRARY_PATH=$SALOME_SITE_DIR/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=${SALOME_SITE_DIR}/lib/salome:${SALOME_SITE_DIR}/lib/$PYTHON_VERSION/site-packages/salome:${SALOME_SITE_DIR}/share/salome/resources:${PYTHONPATH} -fi - -if test -d $HOME/.salome/bin -then - export PATH=$HOME/.salome/bin:${PATH} -fi -if test -d $HOME/.salome/lib -then - export LD_LIBRARY_PATH=$HOME/.salome/lib:${LD_LIBRARY_PATH} -fi - -# OCAF -export CSF_PluginDefaults=${SALOME_ROOT_DIR}/share/salome/resources -export CSF_ResourcesDefaults=${SALOME_ROOT_DIR}/share/salome/resources - -export CSF_PATHData=${SALOME_ROOT_DIR}/share/salome - -export tmp=/usr/tmp - - -if test $# = 0; then - echo "runSession on ${HOSTNAME}" - ./allkill - - ./runNS.sh - sleep 2 - - ./SALOME_Registry_Server --salome_session theSession & - sleep 2 - - ./SALOME_Container FactoryServer & - - ./SALOME_ContainerPy.py FactoryServerPy & - sleep 2 - - ./SALOME_Container SuperVisionContainer & - - ./SALOMEDS_Server& - sleep 2 - - ./SALOME_ModuleCatalog_Server \ --common ${SALOME_ROOT_DIR}/share/salome/resources/CatalogModuleGeneral.xml \ --personal ${HOME}/.salome/resources/CatalogModulePersonnel.xml & -sleep 2 - - ./SALOME_Session_Server& - -notifd -c ${SALOME_ROOT_DIR}/share/salome/resources/channel.cfg -DFactoryIORFileName=/tmp/${LOGNAME}_rdifact.ior -DChannelIORFileName=/tmp/${LOGNAME}_rdichan.ior& - -fi - -if test $# != 0; then - if test $1 == "FactoryServer"; then - echo "./allkill $1" - ./allkill $1 - fi -# SALOME_Container usage: runSession SALOME_Container ServerName -ORBInitRef NameService=corbaname::hostname:tcpipPortNumber [/usr/bin/gdb] -# if it is a python container ServerName must be ended by 'Py' - if test $# == 5; then - echo "Starting ${SALOME_ROOT_DIR}/bin/salome/$1 $2 $3 $4 with debugger on ${HOSTNAME}" - echo "Type : run $2 $3 $4" - $5 ${SALOME_ROOT_DIR}/bin/salome/$1 - fi - if test $# == 4; then - echo "Starting ${SALOME_ROOT_DIR}/bin/salome/$1 $2 $3 $4 on ${HOSTNAME}" - ${SALOME_ROOT_DIR}/bin/salome/$1 $2 $3 $4 & - fi - if test $# == 3; then - echo "Starting $1 $2 $3 on ${HOSTNAME}" - $1 $2 $3 - fi - if test $# == 2; then - echo "Starting $1 $2 on ${HOSTNAME}" - $1 $2 - fi - if test $# == 1; then - echo "Starting $1 $2 on ${HOSTNAME}" - $1 $2 - fi -fi diff --git a/bin/runTestContainer.in b/bin/runTestContainer.in deleted file mode 100755 index c221c668c..000000000 --- a/bin/runTestContainer.in +++ /dev/null @@ -1,16 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./allkill - - -./runNS.sh -sleep 2 -./SALOME_Registry_Server & -sleep 2 -#SALOME_Container ${SALOME_HOME_DIR}/lib/ /FactoryServer & -SALOME_Container & -sleep 2 -TestContainer diff --git a/bin/runTestContainerPy.in b/bin/runTestContainerPy.in deleted file mode 100644 index 8c787c665..000000000 --- a/bin/runTestContainerPy.in +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -# ---- cleaning jobs - -./allkill - -# ---- starting Name Service CORBA - -echo "Starting ./runNS.sh" -./runNS.sh -sleep 2 - -# ---- starting Registry server - -echo "Starting ./SALOME_Registry_Server" -./SALOME_Registry_Server --salome_session theSession & -sleep 2 - -# ---- launching container - -./SALOME_ContainerPy.py & - -# ---- test - -echo "lancer runTestContainerPy2" diff --git a/bin/runTestContainerPy2.in b/bin/runTestContainerPy2.in deleted file mode 100644 index b442c927b..000000000 --- a/bin/runTestContainerPy2.in +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -# ---- test - -./TestComponentPy.py - diff --git a/bin/runTestLifeCycle.in b/bin/runTestLifeCycle.in deleted file mode 100755 index 256ee8df5..000000000 --- a/bin/runTestLifeCycle.in +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./allkill - -# ---- starting Name Service CORBA - -./runNS.sh -sleep 2 - -# ---- starting module catalog - -./SALOME_ModuleCatalog_Server \ --common ${SALOME_SRC_DIR}/SALOME/resources/CatalogModuleGeneral.xml \ --personal ${SALOME_SRC_DIR}/SALOME/resources/CatalogModulePersonnel.xml & -sleep 10 - -# ---- launching containers - -#./SALOME_Container ${SALOME_HOME_DIR}/lib/ /FactoryServer & -./SALOME_ContainerPy.py & -sleep 2 -./SALOME_Container & -sleep 2 -./TestLifeCycleCORBA diff --git a/bin/runTestMED.in b/bin/runTestMED.in deleted file mode 100644 index 62c1bee47..000000000 --- a/bin/runTestMED.in +++ /dev/null @@ -1,34 +0,0 @@ -#! /bin/sh - -# test of MED compound : -# You must specifie 5 arguments : -# 1 : A med file ('/tmp/file.med') -# 2 : A mesh name in this med file ('mymesh') -# 3 : A field on all node in this med file on mymesh of course ('myfield') -# 4 : A second field on all node in this med file on mymesh of course ('myfield2') -# 5 : A vtk file to write mesh and fields ('/tmp/file.vtk) - -@ENVSCRIPT@ - -cd ${SALOME_HOME_DIR}/bin - -./allkill - - -./runNS.sh -sleep 2 -./SALOME_Registry_Server --salome_session theSession & -sleep 2 - -# direct : -./SALOME_Container & -# with gdb -#xterm -T "SALOME_Container" -bg "black" -fg "green" -e /usr/bin/gdb SALOME_Container& - -sleep 2 - -# direct : -./TestMED "$1" "$2" "$3" "$4" "$5" - -# with gdb (you must add argument when you type 'run' command in gdb : I don't find how to do this better) -#xterm -T "TestMED" -bg "black" -fg "green" -e /usr/bin/gdb TestMED& diff --git a/bin/runTestNotification.in b/bin/runTestNotification.in deleted file mode 100644 index 84a360073..000000000 --- a/bin/runTestNotification.in +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/sh - -@ENVSCRIPT@ -cd ${SALOME_HOME_DIR}/bin - -./allkill - -# ---- starting Name Service CORBA - -./runNS.sh -sleep 2 - -runNotify.sh - -xterm -geometry -1+1 -e TestNotifServer -d 10 -v & -sleep 1 -xterm -geometry +1+1 -e TestNotifClient -d 10 -v & diff --git a/bin/showNS.in b/bin/showNS.in deleted file mode 100644 index 5721f96f5..000000000 --- a/bin/showNS.in +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - - -showNameService() { - - local noeud=$1 - local decalage=$2 - - local list=`nameclt list $noeud` - - for i in $list - do - case $i in - *.dir/) - j=`echo $1/$i | sed -e 's,^/,,' -e 's,/$,,' -` - k=`echo $j | sed -e 's,.dir,,g' -` - echo "$decalage" $k "(dir)" - showNameService "$j" "$decalage$decalage" - ;; - *) - echo "$decalage" $i - ;; - esac - done -} - -showNameService "" " " -- 2.30.2