Gentoo Archives: gentoo-java

From: Vlastimil Babka <caster@g.o>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] inherit order of java-ant-2.eclass and implicit dev-java/ant-core dep
Date: Tue, 30 Jan 2007 15:54:49
Message-Id: 45BF6A19.7060909@gentoo.org
In Reply to: [gentoo-java] inherit order of java-ant-2.eclass and implicit dev-java/ant-core dep by Vlastimil Babka
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Here's better version of the patch.
5
6 - - inherit order enforcement check uses only eerror, not die, so users
7 can still unmerge packages with wrong order
8 - - now you can set WANT_SPLIT_ANT=true before inheriting java-ant-2 to
9 indicate you want ant-core honouring ANT_TASKS. Using WANT_ANT_TASKS
10 implies this already, so you need this only if you manually depend on
11 some external package with ant tasks and want to use it via ANT_TASKS.
12 - - eclass first constructs whole ant-specific DEPEND (ant-core, possibly
13 version-restricted to split-ant if WANT_SPLIT_ANT or WANT_ANT_TASKS set,
14 if not disabled entirely by JAVA_ANT_DISABLE_ANT_CORE_DEP; then tasks
15 specified in WANT_ANT_TASKS). For ebuilds inheriting java-pkg-2, this is
16 just added to DEPEND, for ebuilds inheriting java-pkg-opt-2, this whole
17 bunch of deps is put into conditional $JAVA_PKG_OPT_USE? ( ... ). This
18 means you can have automatic ant-core depend and easily use
19 WANT_ANT_TASKS also in ebuilds with optional java support, trigerred
20 properly by the use flag.
21
22 RFC
23
24 - --
25 Vlastimil Babka (Caster)
26 Gentoo/Java
27 -----BEGIN PGP SIGNATURE-----
28 Version: GnuPG v1.4.6 (GNU/Linux)
29 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
30
31 iD8DBQFFv2oYtbrAj05h3oQRAvzgAJ9LgQqzGwDkbM3kLqwbiciiwF0sbQCeMO5P
32 qR1q9kOkIJbhYzP6D7em3TY=
33 =uXZa
34 -----END PGP SIGNATURE-----

Attachments

File name MIME type
java-ant-2.eclass.patch text/x-patch