ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Wanted: Ant idiom for optimal parameterized copy
Date Wed, 03 Mar 2004 12:17:21 GMT
Maybe <presetdef> is something for you?

Jan

> -----Original Message-----
> From: David Corbin [mailto:dcorbin@machturtle.com]
> Sent: Wednesday, March 03, 2004 1:11 PM
> To: Ant Users List
> Subject: Re: Wanted: Ant idiom for optimal parameterized copy
> 
> 
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message