You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2006/06/21 08:29:03 UTC

Re: [classlib] More build file simplification

On 21 June 2006 at 13:10, "Mikhail Loenko" <ml...@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.

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


Re: [classlib] More build file simplification

Posted by Mikhail Loenko <ml...@gmail.com>.
An easy way is return per module targets to build-test.xml and
run them old way. What do you think?

I'd personally avoid spoiling top-level build.xml with too many targets
like that.

Thanks,
Mikhail

2006/6/21, Mark Hindess <ma...@googlemail.com>:
>
> On 21 June 2006 at 13:36, "Mikhail Loenko" <ml...@gmail.com> wrote:
> > 2006/6/21, Mark Hindess <ma...@googlemail.com>:
> > >
> > > On 21 June 2006 at 13:10, "Mikhail Loenko" <ml...@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
> >
> > it does not work: the second ant cleans result of the first one
>
> Argh ... default clean ...
>
> How would you suggest we fix it?
>
> > > patches welcome ;-)  Tricky without the ant for/if extensions I think.
>
> 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
>
>

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


Re: [classlib] More build file simplification

Posted by Mikhail Loenko <ml...@gmail.com>.
2006/6/21, Mark Hindess <ma...@googlemail.com>:
>
> On 21 June 2006 at 13:10, "Mikhail Loenko" <ml...@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

it does not work: the second ant cleans result of the first one

Thanks,
Mikhail

> patches welcome ;-)  Tricky without the ant for/if extensions I think.
>
> 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
>
>

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


Re: [classlib] More build file simplification

Posted by Matt Benson <gu...@yahoo.com>.
--- Mark Hindess <ma...@googlemail.com> wrote:

> 
> On 21 June 2006 at 13:10, "Mikhail Loenko"
> <ml...@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

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


__________________________________________________
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