harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [classlib] debug compilation as default
Date Tue, 11 Jul 2006 16:18:53 GMT

On 11 July 2006 at 8:37, Matt Benson <gudnabrsam@yahoo.com> wrote:
> --- Ivan Volosyuk <ivan.volosyuk@gmail.com> wrote:
> [SNIP]
> > This macro I decided to use has one difference in
> > usage I wanted to push:
> > 	<property name="make.basedir"
> > location="${hy.luni.src.main.native}"/>
> >         <make dir="vmi" args="clean"/>
> >         <make dir="luni" args="clean"/>
> >         <make dir="launcher" args="clean"/>
> >         <make dir="vmls" args="clean"/>
> > 
> 
> I like the macro.  Or make-ro.  Anyway, as <make> is
> <import>ed from a common build (fragment) file I would
> discourage its relying on a property.

That was my feeling too though I couldn't think of any ways it could
go horribly wrong at present.

> You _could_, however, use a local nested macrodef:
>
> <macrodef name="nativemake">
>   <attribute name="dir" />
>   <attribute name="target" default="" />
>   <sequential>
>     <make dir="${hy.luni.src.main.native}/@{dir}"
>           target="@{target}" />
>   </sequential>
> </macrodef>
> 
> It kind of seems an equal trade in terms of noise,
> though.  :)

Agreed.  I think I'll leave it as is.

-Mark.



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message