WOProject-FrameworkSet

Version 14.1 by Andrew Lindesay on 2006/10/24 16:48
Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

FrameworkSet Structure

This has been transcribed by Andrew Lindesay from the old WOProject site.

Description

FrameworkSet is an extension of Ant FileSet that allows matching and conditional inclusion of frameworks. It is used as a nested element by various WOProject tasks. When building a FrameworkSet, path should match up to the ".framework" directory (no need to match individual JAR files).

Parameters

AttributeDescriptionRequired
dirA base directory for the include/exclude pattern lookup. When the prefix for the directory matches one of wo.root, wo.localroot etc. this prefix will get replaced in the final class file by WOROOT, LOCALROOT etc. and these paths in turn will get translated by the environment variables in the startup script to the final path.Yes
 deploymentDirThe base directory that is prefixed to the frameworks in the classpath files. This allows you to decouple your compile time paths from the deployment paths. Useful when you have wastly different file layouts in the development vs. the deployment server. Used only when inside a woapplication task.No
ifThe name of a property that determines if the framework set is included. If present, this property is used for conditional inclusion of the matched framework. Property name should not be included in $, as a property name, not value, is expected.No

Note: all standard FileSet parameters are supported as well.

Examples

Using nested "frameworks" element that is a FrameworkSet inside WOCompile task:

Unknown macro: noformat. Click on this message for details.