It may appear silly. But it took me quite a while to figure out how to DEPLOY a NEW C++ Symphony App (The Eclipse tutorials in Symphony Docs give you fairly good idea how to write and deploy a Java App) . So, I thought I will share it with others in simple terms.
I assume that you have already installed SymphonyDE and it is all set to run in your machine ( I use RHEL5).
- use 'soamstartup' command to start SymphonyDE (refer, Symphony Docs to reach up here
) - copy and paste the SampleApplicationCPP folder (Usually it is here: /opt/symphonyDE/DE40/4.0/samples/CPP/SampleApp)to the place where you want your application to run from (Eg. /home/user/CPPworkspace)
- To begin with, modify that SampleApplicationCPP and create your own 'NEW' application
- Change to '/home/user/CPPworkspace/SampleApp'. In order to compile, you need to slightly modify the Makefiles
- Change the 'TOP' of EACH Makefile (there are 3 or 4) to TOP = $(SYMDE_TOP)
- Now do the following commands in the Terminal you started symphony: export SYMDE_TOP=/directory/to/symphonyDE/4.0 (eg: /opt/symphonyDE/DE/4.0)
- export SOAM_LIBDIR=$SYMDE_TOP/$ARCH_BUILD/lib (Eg: /opt/symphonyDE/DE/4.0/linux2.6-glibc2.3-x86/lib)
- Then follow the 'Readme' of 'Logging' in 'Application Samples' of Platform Knowledge Centre (PKC) at Platform Knowledge Center to make, deploy and run the application
- Now you should be running your NEW C++ Symphony application
