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] More build file simplification
Date Wed, 21 Jun 2006 17:46:26 GMT

On 21 June 2006 at 10:24, Matt Benson <gudnabrsam@yahoo.com> wrote:
> --- Mark Hindess <mark.hindess@googlemail.com> wrote:
> 
> > 
> > On 21 June 2006 at 13:10, "Mikhail Loenko"
> > <mloenko@gmail.com> wrote:
> > > 
> > > how to run tests from two modules and get a single
> > report?
> > 
> > ant -Dbuild.module=luni test; ant -Dbuild.module=nio
> > test
> > 
> > patches welcome ;-)  Tricky without the ant for/if
> > extensions I think.
> 
> Au contraire... the following test snippet should give
> you an example to help:
> 
> <project>
>   <fail unless="build.module" />
>   <property name="module.dir" location="modules" />
> 
>   <subant>
>     <dirset dir="${module.dir}"
>             includes="${build.module}" />
>   </subant>
> </project>
> 
> i.e., 'ant -Dbuild.module=luni,nio,math'

Matt,

Thanks for the ant lesson (again!).  That's is very helpful!

Mikhail,

Testing works as we'd like now and we don't have to maintain multiple 
targets.

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