Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141868 - use ant_src_unpack instead of src_unpack for dev-java/lucene
Summary: use ant_src_unpack instead of src_unpack for dev-java/lucene
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 02:37 UTC by Mikko Tiihonen
Modified: 2006-07-27 03:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
use ant_src_unpack and add new use flag examples (lucene-1.4.3-r3.ebuild.patch,773 bytes, patch)
2006-07-27 02:38 UTC, Mikko Tiihonen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko Tiihonen 2006-07-27 02:37:16 UTC
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.
Comment 1 Mikko Tiihonen 2006-07-27 02:38:09 UTC
Created attachment 92838 [details, diff]
use ant_src_unpack and add new use flag examples
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-27 03:15:25 UTC
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.