2 # Copyright (C) 2011-2013 EDF R&D
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License.
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 # This script installs or updates a SALOME application for testing the
23 # PADDER plugin for SMESH. The application is installed in the
24 # directory ./appli. The configuration file is supposed to be adapted
25 # to your own environment (see config_appli.xml).
27 # To run this script, you should have first configure your
28 # shell with the SALOME environment, i.e. source the files
29 # prerequis.sh and envSalome.sh (or equivalent) that fit
30 # your configuration. You can alternatively customize the env.sh file
31 # to fit your SALOME environment and let the script do the job (see
34 # (gboulant - 3/2/2011)
40 # Run the appli_gen.py
43 @KERNEL_ROOT_DIR@/bin/salome/appli_gen.py --prefix=$APPLIDIR --config=$here/config_appli.xml
46 # Copy customized configuration files in the application
48 cp $here/SalomeApp.xml $APPLIDIR/.
49 cp $here/CatalogResources.xml $APPLIDIR/.
50 cp @prefix@/plugins/envPlugins.sh $APPLIDIR/env.d/.