company logo

Initialize development database

In order to create a new project database, you simply refer to the database in the configuration or ini-file passed to the program call when starting one of the database development tools. When starting completely from the beginning, more assistance might be required.

Thus, one may create a new project database by calling CreateProject or simply calling one of the ODE or database utilities passing the database name as option or setting it in a configuration or ini-file. Typically, one starts with the ClassEditor in order to setup a database schema. It does not matter, which application you are calling in order to initialize your project database. Always when calling ODE tools the first time, a dialog pops up requesting further project information.

In order to run ODE tools, you need a configuration or ini file similar to the one listed below. ODE tools might be called from the command line like

odaba/ode ini_file -PROJECT=ClassEditor -DATDB=Sample.dev

ini_file - path to a configuration or ini-file (e.g. ODE.INI) as described in the example below

PROJECT - refers to the ODE tool to be called (Terminus, ClassEditor, Designer)

DATDB - Project database location

Project and database could also be defined in the ini-file, but then, several ini-file have to be defined for different projects. ode.sys and ode.dev are system databases provided in the ODABA installation folder or database download.

Instead of calling ode (GUI framework engine) you might also call code, which is the command line version and allows e.g. debugging OSI (ODABA Script Interface) scripts when implementing application rules in OSI.

// ini-file ODE.INI for ODE tools

[SYSTEM]

DICTIONARY=odaba/ode.sys

[ode]

SYSDB=odaba/ode.sys

RESDB=odaba/ode.dev

;DATDB=Poject database passed as parameter

NET=YES

SYSAPPL=YES

ONLINE_VERSION=YES

PROJECT_DLL=Designer

CTXI_DLL=AdkCtxi