harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: [classlib] debug compilation as default
Date Tue, 11 Jul 2006 15:37:59 GMT
--- 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.  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.  :)

-Matt

> In this notation it looks a bit more readable.
> 
> -- 
> Ivan
> Intel Middleware Products Division
> 
>
---------------------------------------------------------------------
> 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
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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