<config> tag

Description

The config tag contains a set of tags which configure how Reactor functions.  Though the config tag is not required, when provided it's child tags are required as shown below.

Attributes

This tag has no attributes.

Child Tags

Tag

Required

Description

project

Yes

Defines a unique name for your application.

dsn

Yes

Defines the datasource that Reactor will use to access the database.

type

Yes

Defines the type of database being used.

mapping

Yes

Defines the relative path where Reactor will generated files.

mode

Yes

Indicates the conditions under which Reactor will regenerate files.

username

No

Defines the username to use with the datasource.

password

No

Defines the password to use with the datasource.

Example

<reactor>
 <config>
   <project value="Scratch" />
   <dsn value="scratch" />
   <type value="mssql" />
   <mapping value="/reactorData" />
   <mode value="always" />
   <!-- <username value="" />
   <password value="" /> -->
 </config>
</reactor>