<fuego : directoryschema>

Description

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"/>

Parameters

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:
  • create: create a new Fuego Directory schema.
  • initialize: initialize an existing schema.
  • drop: drop an existing schema.
  • recreate: drop an existing schema and create it.
  • repair: repair an existing schema.
  • clean: create a new Fuego Directory schema if it does not exist, or remove all the existing objects otherwise.
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.

Parameters accepted as nested elements