Installation, compilation and use of a local development FESA3 version


  • SVN-CheckOut all sub-projects of https://www-acc.gsi.de/svn/fesa/framework/trunk. You need to compile the following projects:
    • (3rd_party/CTRLib) Hint: the global installation may be used
    • fesa-core
    • fesa-core-gsi
  • The default install path for local-install is "~/tmp". If needed you can overwrite this path by defining the environment-variable LOCAL_INSTALL_PATH
  • Run make release-local in folder fesa-fwk.
  • Configure the FesaPlugin in Window-->Preferences-->FESA in order to use the local FESA directory
  • When you later compile a fesa-class or a fesa-deploy-unit, you need to make sure that the correct resources are used. This can be done by adding the following variables: ( you can copy+paste the make-targets in eclipse! )
    • PARENT_MAKEFILE=/home/bel/user/lnx/workspace/fesa-environment-gsi/makefiles/Make.parent
    • MIDDLEWARE_LOCATION=/home/bel/user/lnx/myMiddlewareInstallation
  • Since in the gloabl-installation of cmw all version-dependency symlinks are missing, best get a local cmw-installation. Check the CMW-Wiki for details.
  • Here the needed commands:
    • user@asl73x: export LOCAL_INSTALL_PATH=~/tmp/fesa/x.xx
    • user@asl73x: cd ~/workspace/fesa-fwk
    • user@asl73x: make release-local
    • (user@asl73x: cd ~/workspace/3rd_party/CTRLib
    • user@asl73x: make all)
    • user@asl73x: cd ~/workspace/fesa-core
    • user@asl73x: make all
    • user@asl73x: cd ~/workspace/fesa-core-gsi
    • user@asl73x: make all
  • This guideline explains how to install the trunk-version of the FESA Eclipse plug-in
  • simple shell script to run a locally developed deploy-unit (usage of common configuration files of latest version):
#!/bin/bash
set -e
set -u

CPU=x86_64

BINARY_NAME=PSDU_S
CFG_PATH=/opt/fesa/fesa-environment-gsi/2.2.2
BINARY_PATH=../../../build/bin/$CPU
INSTANCE_PATH=.


ARGUMENTS="-cfgcmw ${CFG_PATH}/cmw-rda.cfg \
-cfglog ${CFG_PATH}/cmw-log.cfg \
-cfgfesa ${CFG_PATH}/fesa.aslCluster.cfg \
-cfgmsg /home/bel//matthies/lnx/workspaceFesaFWK/fesa-core/src/fesa-core/resources/messages.cfg \
-cfgmsglab /home/bel/matthies/lnx/workspaceFesaFWK/fesa-core-gsi/src/fesa-core-gsi/resources/messagesGSI.cfg \
-instance ${INSTANCE_PATH}/DeviceData_PSDU.instance"

exec ${BINARY_PATH}/${BINARY_NAME} \
  ${ARGUMENTS}
Topic revision: r5 - 22 May 2018, SolveighMatthies
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback