To make the work with the Signsoft intelliBO tools more comfortable, Signsoft intelliBO provides special Ant tasks and types. So you can use an Ant script for calling this tools.
How to install Ant or work with it will not be covered here. Please refer to the
Apache Ant Project - Website
.
To include the Signsoft intelliBO Ant tasks and types in your Ant script, your ant "project" definition must include this information: xmlns:ibo="http://www.signsoft.com/intellibo" and you have to insert the following line in one of your targets:
<taskdef uri="http://www.signsoft.com/intellibo"
resource="com/signsoft/ibo/anttasks/antlib.xml"
classpathref="ibo.classpath" />
You have to call this target before using any Ant task or type defined by Signsoft intelliBO.
The following Ant tasks are provided by Signsoft intelliBO:
| Task name | Description |
|---|---|
| ibo:enhancer | Task to run the Signsoft intelliBO Enhancer tool |
| ibo:schemagen | Task to run the Signsoft intelliBO Schema Generator tool |
| ibo:verifier | Task to run the Signsoft intelliBO Verifier tool |
| ibo:sqlrunner | The task enables the execution of several file sets of SQL files in the same order as the file sets are defined in the Ant build.xml script. |
| ibo:xmlproperties | The task provides functionality to set Ant property out of XML based property files. The value to set is determined by an XPath expression. |
This is a sample for the use of the tasks in a build.xml file:
<target name="enhancer" depends="configuration">
<ibo:enhancer source="${business.classes.dir}"
destination="${business.enhanced.dir}"
testpc="false">
<!-- for additional classpath settings use:
<classpath ... />
-->
</ibo:enhancer>
</target>
A detailed description of the settings for a special tool you can find in the corresponding section of the tool.
There are also two Ant types provided by Signsoft intelliBO:
The configuration of the database settings for the tools is made by the means of the ibo:dbconfig element. The following parameters are defined for it:
| Option | Description | required |
|---|---|---|
| driverclassname | classname of the JDBC database driver | yes |
| connectionurl | URL of the database connection | yes |
| user | username for the database connection | yes |
| password | password for the database connection | yes |
| databasesupportclassname | classname of the Signsoft intelliBO database support driver corresponding to the database | yes |
| databasesupportrules | basename of the Signsoft intelliBO database support driver corresponding to the database | yes |
| schema | name of the database schema | no |
| catalog | name of the database catalog | no |
Every representation of a database configuration can obtain an id. You can use this id to define a reference on this configuration as it is used in the dbconfigref attribute of the Signsoft intelliBO Ant Tasks for the Verifier and Schema Generator.
This element is used inside the ibo:properties task to assign the name of a property in the build.xml script to the value of an entry in a XML based property files.
Only a name and value attribute is defined for this type.