From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GR7N5-0006Kp-Ui for garchives@archives.gentoo.org; Sat, 23 Sep 2006 13:16:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8NDEew0031259; Sat, 23 Sep 2006 13:14:40 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8NDEdKN023152 for ; Sat, 23 Sep 2006 13:14:40 GMT Received: by ug-out-1314.google.com with SMTP id p27so335794ugc for ; Sat, 23 Sep 2006 06:14:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tFv7eMFz0+ItGMZhOHgtS4upH2sVX8lBMSkyoMLcIJSZs7uogoNAgwIR0nyLAjqQJUC/VtHpXFDAJ/pMltptvUd3eV8hsGnKuk+KLE7sszQTA+oDeZKQoZ1pYTIcik41nd8sbM9LZIWhopJ6USb0FYE2e0g8tuaOmo4Z2slTlfA= Received: by 10.67.117.18 with SMTP id u18mr1553304ugm; Sat, 23 Sep 2006 06:14:39 -0700 (PDT) Received: by 10.67.20.7 with HTTP; Sat, 23 Sep 2006 06:14:39 -0700 (PDT) Message-ID: Date: Sat, 23 Sep 2006 14:14:39 +0100 From: "robert burrell donkin" To: gentoo-java Subject: Re: [gentoo-java] contributing to Gentoo Java In-Reply-To: <45147AD0.30602@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1158946058.24342.19.camel@localhost> <45142C01.2070608@gentoo.org> <1158956253.7524.5.camel@localhost> <45144669.9030805@gentoo.org> <1158958795.7524.9.camel@localhost> <1158969144.23164.17.camel@wlt.obsidian-studios.com> <45147AD0.30602@gentoo.org> X-Archives-Salt: 710c1e80-edc7-4548-a7b3-471ae96880e0 X-Archives-Hash: 01c9d95fa4a5b88b67ce36631e7edde5 On 9/23/06, Vlastimil Babka wrote: > William L. Thomson Jr. wrote: > > This might be a case where a patch is required to remove the test target > > from depends unless the test USE flag or etc is set. > > Actually, even in case of FEATURES=test (and USE=test), you want to > remove the test target from depends. Because testing (including building > of the test cases, often done in compile-tests target upon which test > target depends) should be invoked in src_test() phase, not in > src_compile() as part of main build process. So you patch build.xml in > any case, and do something like "eant test" in src_test(). i'm currently preparing content for a guide for apache releases for use in the incubator (through which all new projects enter). advice on best practices will be included. being able to selectively turn off tests sounds like it be suitable for inclusion. anyone else care to offer any other advise on how to create more friendly builds etc...? - robert -- gentoo-java@gentoo.org mailing list