| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Using the Ant task for the Castor DDL Generator
Documentation Author(s): Castor DDL generator Ant task Configuration Example Castor DDL generator Ant taskAn alternative to using the command line as shown in the previous section, the Castor DDL Generator Ant Task can be used to call the DDL generator for class generation. The only requirement is that the castor-<version>-anttasks.jar must be on the CLASSPATH. ConfigurationPlease find below the complete list of parameters that can be set on the Castor source generator.
Alternatively to specifying the file property, it is possible to work with a nested <FileSet> element or with the dir property. ExampleBelow is an example of how to use this task from within an Ant target definition named 'castor:ddl:src':
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||