
Chapter 2 Working with Apache Ant
Customizing the Ant Build Script Generation
The Ant build script generation in PowerDesigner is defined in:
- the Java language definition file (.xol) - defines the generation templates for common properties, tasks and targets. It also defines empty custom templates. The custom templates can be overridden in the application server specific XEM.
- the application server specific extended model definition file (.xem) - can override the custom templates to generate a complete build.xml including standard targets and custom targets.
You can customize the Ant build.xml generation, in either of these files.
To customize the Java XOL:
- Select Tools→Resources→Object Languages.
- Double-click on the Java XOL.
- Use the XOL editor to modify the Java XOL:
The Ant specific generated file, generation templates are defined in the Model metaclass, under the Profile node.
To customize the server specific XEM:
- Select Tools→Resources→Extended Model Definitions→Object-Oriented Models.
- Double-click on an application server extended model definition in the list:
- Use the editor to modify the extended model definition:
The Ant specific generated file, generation templates are defined in the Model metaclass, under the Profile node.
Copyright (C) 2006. Sybase Inc. All rights reserved.
|
|