You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Mike Williams <mi...@cortexebusiness.com.au> on 2001/08/03 02:59:36 UTC

[PATCH] shortcut for setting copy-filters based on properties

Most of the copy-filters I set are based on properties, so I end up doing a
lot of this:

    <filter token="mail.debug"              value="${mail.debug}" />
    <filter token="mail.from"               value="${mail.from}" />
    <filter token="mail.host"               value="${mail.host}" />
    <filter token="mail.transport.protocol" value="${mail.transport.protocol}" />

This patch adds a short-cut for deriving filters from properties:

    <filter property="mail.debug" />
    <filter property="mail.from" />
    <filter property="mail.host" />
    <filter property="mail.transport.protocol" />

And also allows you to publish all properties as filters:

    <filter property="*" />

-- 
Mike