Powered by SmartDoc

The cdl.ant option

The cdl.ant option generates a Relaxer dialog configuration file.

Parameters

The cdl.ant option takes one of the following values as a parameter.

true
Generates a Relaxer dialog configuration file.
false
Does not generate a Relaxer dialog configuration file.

The default configuration is false. No parameter implies the parameter is true.

Artifact

The cdl.ant option generates no additional classes. The cdl.ant option just modified the behavior of the Relaxer Table Objects.

The cdl.ant option adds no additional methods to Relaxer objects.

Example

List 6.5.3.1[cdlDialog.rcdl] is a sample RCDL definition, and List 6.5.3.2[cdlDialog.rng] is a sample RELAX NG schema used by the RCDL definition.

cdlDialog.rcdl
Can not access : src/cdl.ant/cdlDialog.rcdl
cdlDialog.rng
Can not access : src/cdl.ant/cdlDialog.rng

Execution of Relaxer with the cdl.ant option is as follows. The cdl option must be used together.

$ relaxer -cdl -cdl.ant cdlDialog.rcdl

As a result, Relaxer generates 18 files as follows:

accountManagerFindAccountDialog.xml is a Relaxer dialog configuration file, which is generated by the cdl.ant option.

accountManagerFindAccountDialog.xml
Can not access : src/cdl.ant/accountManagerFindAccountDialog.xml

The accountManagerFindAccountDialog.xml has one slot 'accountNo' and one command 'findAccount'.

Slot is a space to be used as a variable. Command is a definition to invoke a external service like EJB.