Create the Sample project (Linux)
For the following topic, it is supposed that ODABA had been installed in the default location ( /usr/local ). When it had been installed in another place, one simply has to replace /usr/local references by the location that had been passed in --prefix when configuring the package. In order to load dynamic libraries properly, the library path has to be defined.
/usr/local$ LD_LIBRARY_PATH=lib ./lib/odaba/tools/CreateProject
CreateProject allocates project resources in a local project directory below /usr/home/ user_name /odaba/ project_name . The shell files created are configured for calling services for the local project. In order to share project resources, it may be useful to place resources on proper locations and update shell and configuration files by changing locations for referenced resources and server type, when this becomes necessary..
$ LD_LIBRARY_PATH=/usr/local/lib /usr/local/lib/odaba/tools/CreateProject
2012-03-05 17:50:48 - Running /usr/local/lib/odaba/tools/CreateProject with:
Setting up ODABA project environment ...
Enter ODABA path [/usr/local] :
Enter project name [] : Sample
Enter project path [/home/testuser/odaba/Sample] :
Use ClassEditor Y(es)/N(o) [YES] :
Use Designer Y(es)/N(o) [YES] :
Use Terminus Y(es)/N(o) [YES] :
Current project settings ...
ODABA path : /usr/local
Project name : Sample
Project path : /usr/home/testuser/odaba/Sample
Use ClassEditor : YES
Use Designer : YES
Use Terminus : YES
... enter (a)ccept/(c)ancel/(r)epeat [a] :
/usr/home/testuser/odaba/Sample/ode.ini created
/usr/home/testuser/odaba/Sample/OShell.sh created
/usr/home/testuser/odaba/Sample/OSI.sh created
/usr/home/testuser/odaba/Sample/ODL.sh created
/usr/home/testuser/odaba/Sample/ClassEditor.sh created
/usr/home/testuser/odaba/Sample/Designer.sh created
/usr/home/testuser/odaba/Sample/Terminus.sh created
Never forget to set the LD_LIBRARY_PATH to the lib directory in odaba root (/usr/local/lib) before calling CreateProject .