Gentoo Archives: gentoo-java

From: robert burrell donkin <robertburrelldonkin@×××××.com>
To: gentoo-java <gentoo-java@l.g.o>
Subject: Re: [gentoo-java] contributing to Gentoo Java
Date: Sat, 23 Sep 2006 13:16:44
Message-Id: f470f68e0609230614h61f2c612l942fc626fe513daf@mail.gmail.com
In Reply to: Re: [gentoo-java] contributing to Gentoo Java by Vlastimil Babka
1 On 9/23/06, Vlastimil Babka <caster@g.o> wrote:
2 > William L. Thomson Jr. wrote:
3 > > This might be a case where a patch is required to remove the test target
4 > > from depends unless the test USE flag or etc is set.
5 >
6 > Actually, even in case of FEATURES=test (and USE=test), you want to
7 > remove the test target from depends. Because testing (including building
8 > of the test cases, often done in compile-tests target upon which test
9 > target depends) should be invoked in src_test() phase, not in
10 > src_compile() as part of main build process. So you patch build.xml in
11 > any case, and do something like "eant test" in src_test().
12
13 i'm currently preparing content for a guide for apache releases for
14 use in the incubator (through which all new projects enter). advice on
15 best practices will be included.
16
17 being able to selectively turn off tests sounds like it be suitable
18 for inclusion.
19
20 anyone else care to offer any other advise on how to create more
21 friendly builds etc...?
22
23 - robert
24 --
25 gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] contributing to Gentoo Java Joshua Nichols <nichoj@g.o>