ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Corbin <dcor...@machturtle.com>
Subject Re: Wanted: Ant idiom for optimal parameterized copy
Date Wed, 03 Mar 2004 12:11:09 GMT
On Tuesday 02 March 2004 19:52, Harkness, David wrote:
> David Corbin wrote:
> > I frequently find I have to copy a file with a token filtering, where
> > the filtering is driven from properties.  Now, these properties are
> > often fairly static, but not 100% so.  Is there an idiom I can use to
> > determine that I need to recopy file X because one of it's
> > filter tokens
> > has changed?
>
> You could store the properties to filter in a file rather than a bunch
> of ant properties and use that file for <uptodate> and <filter>. Not
> ideal, especially since you probably pull these properties from
> different places, but it would work.

Well, the "normal" values are.  What I want to deal with correctly is when 
someone specifies a parameter on the command line ("-DFoo=Bar").

-- 
David Corbin <dcorbin@machturtle.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message