| Class | Description |
|---|---|
| AntHandler |
java.util.logging Handler adapter for Ant.
|
| EtlExecuteTask |
Ant task for ETL scripts execution.
|
| EtlTaskBase |
Base class for Scriptella ETL Ant tasks.
|
| EtlTemplateTask |
Task to emit ETL file templates.
|
<taskdef resource="antscriptella.properties" classpath="scriptella.jar"/>
Note: Additional libraries required for ETL execution may also be appended to classpath:
<taskdef resource="antscriptella.properties" classpath="scriptella.jar;hsqldb.jar"/>
| Attribute | Description | Required |
|---|---|---|
| file | The script file to execute. The .etl.xml file extension part may be ommited. | Yes, unless a nested <fileset> element is used. |
| inheritAll | If true, pass all properties to ETL executor. Defaults to true. | No |
| debug | If true print debugging information. | No, default value is false. |
| nostat | If true turns off statistics collecting. | No, default value is false. |
| quiet | If true be extra quiet. | No, default value is false. |
| The following attributes are not supported yet | ||
| fork | if enabled triggers the class execution in another VM (disabled by default) | No |
| maxmemory | Max amount of memory to allocate to the forked VM (ignored if fork is disabled) | No |
<etl/>
Executes name.etl.xml file in the current directory:
<etl file="name" />
<!--Or explicitly specifying the full name-->
<etl file="name.etl.xml" />
Executes all .etl.xml files in db directory:
<etl>
<fileset dir="db" includes="*.etl.xml" />
</etl>
| Attribute | Description | Required |
|---|---|---|
| name | ETL template name. | No, default ETL template is generated. |
| inheritAll | If true, pass all properties to Scriptella. Defaults to true. | No |
| debug | If true print debugging information. | No, default value is false. |
| quiet | If true be extra quiet. | No, default value is false. |
<etl-template/>
Produce data migration template:
<property file="etl.properties"/>
<!--
Ant properties
driver,class,user,password
must be set before calling "DataMigrator" etl-template
-->
<etl-template name="DataMigrator"/>
Copyright © Copyright 2006-2019 The Scriptella Project Team.