On 21 June 2006 at 10:24, Matt Benson <[EMAIL PROTECTED]> wrote:
> --- Mark Hindess <[EMAIL PROTECTED]> wrote:
>
> >
> > On 21 June 2006 at 13:10, "Mikhail Loenko"
> > <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]