There are times this is *appropriate* and correct in a build system.

Peter D -- I'm just curious, how much build infrastructure architecting
           have you done in your career?  Did you just have a seriously
           bad gnumake trip instigated by someone (ab)using make without
             knowing what they were doing?  

I mean, even in my current contract, where the system to be built is
pretty small, (50K lines of Java, but very young) but highly partitioned 
into several groups of responsibility, I've needed to patch ant for this
sort of feature and hack around the lack of a foreach and an if.  (I also
worked with our deployment guy to implement a series of tasks to facilitate
the production of Solaris packages which could probably be extended to build
other forms of package, i.e. RPM).

-Peter


> -----Original Message-----
> From: Peter Donald [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 22, 2001 12:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: PATCH: Attributes of Target can reference properties
> 
> 
> On Fri, 22 Jun 2001 17:14, Stefan Bodewig wrote:
> > Peter Donald <[EMAIL PROTECTED]> wrote:
> > > My main concerns was that this would allow dependency tree to be
> > > modified.
> >
> > It does not - as the expansion happens at parser time.
> 
> Okay then - dynamically specified on the command line if that 
> makes it sound 
> better. Either way comments still apply ;)
> 
> Cheers,
> 
> Pete
> 
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*
> 

Reply via email to