Manages the fuego directory schema.
Using a set of properties containing an schema definition, this task can create, drop, repair, recreate and clean a database schema.
Example:
<fuego:directoryschema action="create" file="/tmp/directory.xml">
<fuego:admin user="system" password="password" orgName="BEA"/>
</fuego:directoryschema>
| Attribute | Description | Type | Required? |
| haltonerror | Stop the Ant build process if an error occurs. | boolean | No Defaults to true. |
| file |
File name containing the schema properties.
The properties contains the information to create, drop, clean and repair a Directory schema. |
File | Yes |
| verbose | Verbose output. | boolean | No Default is false |
| action |
Defines the operation to execute:
|
String ["create", "drop", "repair", "recreate", "clean", "initialize"] | Yes |
| sqlstatementsoutputfile | File |
No Only needed if showSqlStatements is true.
|
|
| fuegobasedir | Path to BPM Enterprise installation directory. | File |
No Defaults to value of fuego.basedir property of your
Ant script.
|
| loaderref | Reference to BPM classloader. Used internally. | Reference | No |
| showsqlstatements | This attribute is used as a modifier of create action when you wish to generate the DDL scripts for database structure instead of actually creating it. | boolean | No Defaults to false. |
| runtimeproperties |
Location of the file where the runtime properties are stored.
This file is used to extract the runtime properties to establish a session to the Directory. |
File | No Defaults to null. |
If it's used to represent a Fuego Directory administrator, then
participant should be used for the participant
id. For connections to other systems (like DBMSs) the
user attribute will be used.
This element is required when action equals
enable-location, create-database,
clean-database or drop-database.
| Attribute | Description | Type | Required |
| user | ID of the Administrator user. | String | Yes When used for connections not to the Fuego Directory |
| password | User or participant's password. | String | Yes |
| orgname | Sets the logical organization name | String | Yes When used to connect to a Fuego Directory |