ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Antcall clears filter's
Date Thu, 08 Nov 2001 17:55:04 GMT
Hello Ant users,
I'm using Ant 1.3. When I set up a <filter> and then use <antcall> on
another target that uses the filter, the behaviour is as if the filter was
I was wondering if this is a bug or a feature. (An example is attached.)
I see from the documentation for Ant 1.4 that <antcall> now has a new
attribute inheritAll. Does it only apply to properties or to filters as
well? I don't think it matters anyway because inheritAll will be set to
"true" by default.
The last question. Is is possible to find out if a filter is set similar to
how <available> task works?
Here is the example:

<?xml version="1.0"?>

<project default="test">

    <target name="filter">
        <filter token="foo" value="bar"/>

    <target name="test" depends="filter">
        <antcall target="copy"/>

    <target name="copy">
        <copy file="foo.txt" tofile="bar.txt" filtering="yes" overwrite


Hello @foo@ there

Hello @foo@ there

Alexander Anderson
Programmer Analyst
Investment Systems Application Development Services
Manulife Financial

200 Bloor Street East NT4-C34A
Tel: (416) 926-3000 x3132

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message