ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: OS-specific execution of any element requested
Date Mon, 23 Sep 2002 14:32:12 GMT
In that case I would use if and unless on targets
which make <antcall>s to the nearly-identical code,
modified to be parameterized...

-Matt

--- Markus Kramer <Markus.Kramer@mpi.nl> wrote:
> Matt,
> unfortunately, this does not resolve the pitfall of
> having nearly identical
> code in two places.
> 
> -Markus
> 
> 
> Matt Benson wrote:
> 
> > I thought that would be nice too, having if and
> unless
> > available everywhere.  I don't really think about
> it
> > anymore.  What you do is wrap these types of
> things in
> > other targets, put the if/unless on the targets,
> and
> > make your main target dependent on those.
> >
> > -Matt
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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


Mime
View raw message