company logo

Running Action Browser

ActionBrowser shows a list of defined build actions referenced in ODE tools for different build environments. One may run ActionBrowser for an existing or a new resource database. Actions to be processed in the application must be defined in the resource database (functions) or must be available as external resources (command or batch files, programs).

ActionBrowser can be called from a command line in DOS or UNIX.

...ode.exeini_file [ options ] // windows

...codeini_file [ options ] // Linux

(c)ode is the generic GUI framework, which is called as entry point for all ODABA applications. In order to call the proper application, the PROJECT option has to be set to ActionBrowser, which might be defined in the configuration or ini-file or as additional option passed on a command line.

Running ActionBrowser requires the definition resource database in the ini-file, which has to be defined in the program main section ([ode] or [code].

# linux

LD_LIBRARY_PATH=/lib:/usr/lib/:%ODABA_ROOT%lib \

%PROGPATH%/code ActionBrowser.ini code

.. Windows

@echo off

:: ODE startup wrapper script

:: ODABA_ROOT should be the folder where you installed ODABA

set ODABA_ROOT=...odaba root path

start "" %ODABA_ROOT%\ode.exe ActionBrowser.ini

exit

Configuration or Ini-file

The resource database location and can be defined in a configuration or ini-file. SYSDB and RESDB must refer to the installed ODABA system databases.The database referenced in the ini-file is a resource database, that contains the defined actions. Below there is an example for an ini-file. The DATADB section refers to the resource database location.

[SYSTEM]

DICTIONARY=ode.sys

;[ode] under Windows

[code]

SYSDB=ode.sys

RESDB=ode.dev

DATDB=my_proj.dev

SHARE=true

PROJECT=ActionBrowser

PROJECT_DLL=Designer

Options

In order to reduce the number of required ini-files and command files, one may use the ini-file as being provided with the installation, which refers to a symbolic database path referenced by the DATDB option. Calling the Option Browser, any number of options can be passed preceded with a '-' sign:

code ActionBrowser.ini -PROJECT=ActionBrowser -DATDB=projects\sample\myProj.dat

Using options allows running different ODABA GUI applications with only one configuration or ini-file. Instead of passing option parameters, one may also set environment variables in a command or bat file. In contrast to options set in command or ini-files, which must never be quoted, options passed on the command line have to be quoted when containing spaces.

DATDB is an option, which has been defined in the ini-file for the DATABASE option in order to support dynamic path locations.

Details for configuring data source are described in in the WEB documentation under Reference documentation/Database references/Data source definition.