Using an schema definition in xml format, this task can create, drop or clean a database schema.
This task connects to the database using configuration of type SQL that must previously exist.
Example:
<fuego:roundtrip
connectorName="testDB"
configurationFile="/path/to/Directory.xml"
haltOnError="true"
simulationFile="simulationModel1.xml"
startTime="2007-02-14 18:00:00"
endTime="2007-02-25 18:00:00"
realDistributionCriteria="HOURLY"
processId="/Simulation#Default-1.0"
simulationName="simulationModel"
/>
| Attribute | Description | Type | Required? |
| processname | Sets the name of a group of process to merge. Must be with processVersion and is not compatible with processId | String | ? |
| haltonerror | Stop the Ant build process if an error occurs. | boolean | No Defaults to true. |
| endtime | Sets the ending date-time to use statistics for the simulation. The string must have the following format (using lex-like syntax): -?y{1,6}/M{1,2}/d{1,2}( h{1,2}:m{1,2}(:s{1,2}(.ms)?)?)? In this case, if years are positive (AD), more than three digits must be specified (use leading zeroes to pad if necessary). | String | Yes |
| realdistributioncriteria |
Set the Criteria value. This must be one of:
|
String ["HOURLY", "DAILY", "WEEKLY", "MONTHLY"] | ? |
| configurationfile | Sets the location of an xml file containing the configuration's definitions. | File | Yes |
| simulationname | Sets the simulation name. | String | Yes |
| verbose | Verbose output. | boolean | No Default is false |
| action | String ["buildSimulation", "clean"] | ? | |
| simulationfile | Sets the file location of the xml schema definition. | File | Yes |
| connectorname | Defines the name of the SQL database configuration. | String | Yes |
| processversions | Sets the versions to merge. Must be with processName and is not compatible with processId It is a list of versions separated with pipe | Example: "Default-1.0|Default-2.0|Default-2.2" | String | ? |
| 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 |
| starttime | Sets the starting date-time to use statistics for the simulation. The string must have the following format (using lex-like syntax): -?y{1,6}/M{1,2}/d{1,2}( h{1,2}:m{1,2}(:s{1,2}(.ms)?)?)? In this case, if years are positive (AD), more than three digits must be specified (use leading zeroes to pad if necessary). | String | Yes |
| processid | Sets the Process Id for the simulation. | String | Yes |