-
July 29th, 2008 06:13 AM #1
Create and Deploy NEW C++ Symphony Applications
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

-
July 29th, 2008 03:55 PM #2
Moving Source Directory on Linux
Thanks for posting the instructions on how to move your source directory on Linux.
For step 5, instead of creating a new variable SYMDE_TOP, you can use TOP = $(SOAM_HOME)/4.0
SOAM_HOME is set when you source your environment.
- Ajith
-
July 30th, 2008 12:51 AM #3
That's a good suggestion!
To change > TOP = $(SOAM_HOME)/4.0
is a good suggestion. Thanks for that tip.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules