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/oracle.schema"
runtimeProperties="/tmp/conf/directory.properties"/>
| 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 | boolean | ? | |
| action |
Defines the operation to execute:
|
String ["create", "drop", "repair", "recreate", "clean", "initialize"] | Yes |
| sqlstatementsoutputfile | File |
No Only needed if showSqlStatements is true.
|
|
| fuegobasedir | File | ? | |
| loaderref | Reference | ? | |
| 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. |