From http://www.gentoo.org/proj/en/java/java-devel.xml: java-ant-2.eclass: The eclasse exports the src_unpack phase. If you need to override the default unpack, use ant_src_unpack and not src_unpack Lucene-1.4.3-r2 uses java-ant-2 but overrides src_unpack.
Created attachment 92838 [details, diff] use ant_src_unpack and add new use flag examples
From java-ant-2.eclass: # ------------------------------------------------------------------------------ # @public java-ant_src_unpack # # Unpacks the source, and attempts to fix build files. # ------------------------------------------------------------------------------ post_src_unpack() { if java-pkg_func-exists ant_src_unpack; then java-pkg_announce-qa-violation "Using old ant_src_unpack. Should be src_unpack" ant_src_unpack fi java-ant_bsfix } The docs are outdated.