From f24f4991f2dc13eb64cdee777e52320f8f336722 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig <target>
- i.e., as
children of
<project>
.
FilterSets support the id
and refid
attributes.
+You can define a FilterSet with an id
attribute and then refer
+to that definition from another FilterSet with a refid
attribute.
In addition, FilterSets can specify
begintoken
and/or
endtoken
attributes to define what to match.
%DATE*
with today's date.
</copy>
+Define a FilterSet and reference it later.
++<filterset id="myFilterSet" begintoken="%" endtoken="*"> + <filter token="DATE" value="${TODAY}"/> +</filterset> + +<copy file="${build.dir}/version.txt" toFile="${dist.dir}/version.txt"> + <filterset refid="myFilterSet"/> +</copy> +
Copyright © 2001-2002 Apache Software Foundation.