ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucio Tarantino <lu...@volendo.com>
Subject ANT Filter problem.
Date Mon, 07 Aug 2000 14:41:54 GMT
Hello,

I'm a new user of ant.
I have a little problem with filters.
I have create a token with name _DEBUG_ .
In the build.xml file  set this line for my target:

                <filter token="_DEBUG_" value="true"/>
                <javac srcdir="./src/dna" destdir="./classes/dna"
                   classpath="${classpath}:./classes/dna"
                   debug="${debug}"
                   optimize="${optimize}"
                   deprecation="off"
                   filtering="on"
                   target="1.2"
                   excludes="**/CVS/**"
                />

when I compile the java code the @_DEBUG_@ token isn't substitute with
the true string.
I have tried to use other function (Es copydir ) and the substitution is
made.

Can someone help me to explain why the filtering don't work in javac
tag?

Best regards
Lucio



Mime
View raw message