Apache Ant Tasks for Signsoft intelliBO Tools

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.

Signsoft intelliBO Ant Tasks

The following Ant tasks are provided by Signsoft intelliBO:

Task nameDescription
ibo:enhancerTask to run the Signsoft intelliBO Enhancer tool
ibo:schemagenTask to run the Signsoft intelliBO Schema Generator tool
ibo:verifierTask to run the Signsoft intelliBO Verifier tool
ibo:sqlrunnerThe 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:xmlpropertiesThe 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.

Signsoft intelliBO Ant Types

There are also two Ant types provided by Signsoft intelliBO:

<ibo:dbconfig>

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:

OptionDescriptionrequired
driverclassnameclassname of the JDBC database driveryes
connectionurlURL of the database connectionyes
userusername for the database connectionyes
passwordpassword for the database connectionyes
databasesupportclassnameclassname of the Signsoft intelliBO database support driver corresponding to the databaseyes
databasesupportrulesbasename of the Signsoft intelliBO database support driver corresponding to the databaseyes
schemaname of the database schemano
catalogname of the database catalogno

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.

<ibo:property>

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.