<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/directory.xml">
      <fuego:admin user="system" password="password" orgName="BEA"/>
 </fuego:directoryschema>
 

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 Verbose output. boolean No Default is false
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 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.

Parameters accepted as nested elements

<admin>

Represents the credentials for an "Administrator" user.

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