1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Dne 31.1.2011 02:14, Vlastimil Babka napsal(a): |
5 |
> On 01/19/2011 04:03 PM, "Miroslav ©ulc (fordfrog)" wrote: |
6 |
>> hi, |
7 |
>> |
8 |
>> i was looking at the issues when some classes cannot be found via |
9 |
>> DEPENDS, like http://bugs.gentoo.org/show_bug.cgi?id=298689. the problem |
10 |
>> is that DEPENDS for ant tasks does not contain dependency on ant-core. |
11 |
>> this patch below could fix it (at least it fixed the issue for me and |
12 |
>> testing some junit ant tasks while emerging packages with |
13 |
>> FEATURES="test" worked too): |
14 |
> |
15 |
> This could work for ant-tasks themselves, but not for everything else |
16 |
> that has ant-core dependency, such as when a package provides some ant |
17 |
> task. In that case, the depending classes are needed only when invoked |
18 |
> from within ant, in which case they are already on classpath. |
19 |
> Registering as dependency would make ant put on classpath in all cases |
20 |
> the package is used. |
21 |
> The bottom line is, there should be a way to exclude stuff (such as ant |
22 |
> classes) in java-dep-check. |
23 |
|
24 |
well, imo there is a question when to exclude and when not, talking |
25 |
generally, not just about ant classes. |
26 |
|
27 |
> |
28 |
> BTW, the mailing list is better than the java alias for this. Seems to |
29 |
> get much less spam as I see it :) |
30 |
> |
31 |
> Vlastimil |
32 |
|
33 |
miroslav |
34 |
-----BEGIN PGP SIGNATURE----- |
35 |
Version: GnuPG v2.0.17 (GNU/Linux) |
36 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ |
37 |
|
38 |
iEYEARECAAYFAk1GE94ACgkQB6q7Q15RwyDA8ACggSjonL0CUxL1zfKOA7zB8E/m |
39 |
nI4Anjocpsd1vVs6H4gQVQarblYJSFrN |
40 |
=N6u7 |
41 |
-----END PGP SIGNATURE----- |