From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pjioh-0006Rt-QM for garchives@archives.gentoo.org; Mon, 31 Jan 2011 01:44:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D639E093A; Mon, 31 Jan 2011 01:44:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 380CBE093A for ; Mon, 31 Jan 2011 01:44:03 +0000 (UTC) Received: from [192.168.1.101] (unknown [78.110.211.180]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fordfrog) by smtp.gentoo.org (Postfix) with ESMTPSA id 40CA71B4015 for ; Mon, 31 Jan 2011 01:44:02 +0000 (UTC) Message-ID: <4D4613DF.2030305@gentoo.org> Date: Mon, 31 Jan 2011 02:43:59 +0100 From: =?ISO-8859-2?Q?=22Miroslav_=A9ulc_=28fordfrog=29=22?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110103 Lightning/1.0b3pre Thunderbird/3.1.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@lists.gentoo.org MIME-Version: 1.0 To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] Re: java-dep-check on ant tasks References: <4D36FD33.5010508@gentoo.org> <4D460CEF.8010508@gentoo.org> In-Reply-To: <4D460CEF.8010508@gentoo.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 1f6dbce7cf4a92e2f70a21115e2ce730 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 31.1.2011 02:14, Vlastimil Babka napsal(a): > On 01/19/2011 04:03 PM, "Miroslav =A9ulc (fordfrog)" wrote: >> hi, >> >> i was looking at the issues when some classes cannot be found via >> DEPENDS, like http://bugs.gentoo.org/show_bug.cgi?id=3D298689. the pro= blem >> is that DEPENDS for ant tasks does not contain dependency on ant-core. >> this patch below could fix it (at least it fixed the issue for me and >> testing some junit ant tasks while emerging packages with >> FEATURES=3D"test" worked too): >=20 > This could work for ant-tasks themselves, but not for everything else > that has ant-core dependency, such as when a package provides some ant > task. In that case, the depending classes are needed only when invoked > from within ant, in which case they are already on classpath. > Registering as dependency would make ant put on classpath in all cases > the package is used. > The bottom line is, there should be a way to exclude stuff (such as ant > classes) in java-dep-check. well, imo there is a question when to exclude and when not, talking generally, not just about ant classes. >=20 > BTW, the mailing list is better than the java alias for this. Seems to > get much less spam as I see it :) >=20 > Vlastimil miroslav -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1GE94ACgkQB6q7Q15RwyDA8ACggSjonL0CUxL1zfKOA7zB8E/m nI4Anjocpsd1vVs6H4gQVQarblYJSFrN =3DN6u7 -----END PGP SIGNATURE-----