So are the files mutually exclusive? It seems that I could accomplish
everything that I need using the "replacefilterfile". Where would a user
want to use one vs. the other?

Thanks,
Max

-----Original Message-----
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 3:11 PM
To: Ant Users List
Subject: Re: Replace Task "propertyFile" syntax


--- Max Clark <[EMAIL PROTECTED]> wrote:
> Could anyone forward me an example "replacefilterfile" and
> "propertyFile" with the proper syntax for the files.

$ cat replaceme.txt
This foo is totally baz.
$ cat foo.properties
foo=bar
$ cat repl.properties
baz=blat

  <target name="r">
    <replace file="replaceme.txt" propertyfile="foo.properties"
             replacefilterfile="repl.properties">
      <replacefilter property="foo" token="foo"/>
    </replace>
  </target>

$ ant r
...
$ cat replaceme.txt
This bar is totally blat.

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to