link
Avalon
Avalon Central
Home PlanetProductsCentral
Filter Task

The filter task establish a classic ant filter values based on project information.

The following example demonstrates the resolution of a artifact uri feature for a project identified by the key "avalon-activation-impl".

<x:filter 
    key="avalon-activation-impl" 
    feature="uri" 
    token="STANDARD_RUNTIME"/>
Features

Features that may be aquired from any defintion (resource, project, or plugin) are shown in the following table along with example output.

Feature Description
name The name of the resource, project or plugin.
avalon-activation-impl
group The group within which the resource, project or plugin is defined under.
avalon/activation
version The version of the resource, project or plugin.
2.0.0
uri An artifact uri.
artifact:jar:avalon/activation/avalon-activation-impl#2.0.0

The following two features may be aquired from a project definition. The value returned is a string build from the runtime path definition containing fully expanded repository filesnames prepended with the string %MAGIC_SCD% for windows and $MAGIC_SCD on unix - suitable for use in a application script or command file.

      system-classpath-for-windows
      system-classpath-for-unix