/[gentoo-x86]/eclass/java-utils-2.eclass
Gentoo

Diff of /eclass/java-utils-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.124 Revision 1.125
4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> 4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
5# Copyright (c) 2004-2005, Gentoo Foundation 5# Copyright (c) 2004-2005, Gentoo Foundation
6# 6#
7# Licensed under the GNU General Public License, v2 7# Licensed under the GNU General Public License, v2
8# 8#
9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.124 2009/03/27 19:40:38 betelgeuse Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.125 2009/03/27 20:58:57 betelgeuse Exp $
10 10
11# ----------------------------------------------------------------------------- 11# -----------------------------------------------------------------------------
12# @eclass-begin 12# @eclass-begin
13# @eclass-shortdesc Java Utility eclass 13# @eclass-shortdesc Java Utility eclass
14# @eclass-maintainer java@gentoo.org 14# @eclass-maintainer java@gentoo.org
1808# src_prepare Searches for bundled jars 1808# src_prepare Searches for bundled jars
1809# Don't call directly, but via java-pkg-2_src_prepare! 1809# Don't call directly, but via java-pkg-2_src_prepare!
1810# ------------------------------------------------------------------------------ 1810# ------------------------------------------------------------------------------
1811 1811
1812java-utils-2_src_prepare() { 1812java-utils-2_src_prepare() {
1813 [[ ${EBUILD_PHASE} == prepare ]] &&
1814 java-pkg_func-exists java_prepare && java_prepare
1815
1813 # Remember that eant will call this unless called via Portage 1816 # Remember that eant will call this unless called via Portage
1814 if [[ ! -e "${T}/java-utils-2_src_prepare-run" ]] && is-java-strict; then 1817 if [[ ! -e "${T}/java-utils-2_src_prepare-run" ]] && is-java-strict; then
1815 echo "Searching for bundled jars:" 1818 echo "Searching for bundled jars:"
1816 java-pkg_find-normal-jars || echo "None found." 1819 java-pkg_find-normal-jars || echo "None found."
1817 echo "Searching for bundled classes (no output if none found):" 1820 echo "Searching for bundled classes (no output if none found):"
1818 find "${WORKDIR}" -name "*.class" 1821 find "${WORKDIR}" -name "*.class"
1819 echo "Search done." 1822 echo "Search done."
1820 java-pkg_func-exists "java_prepare" && java_prepare
1821 fi 1823 fi
1822 touch "${T}/java-utils-2_src_prepare-run" 1824 touch "${T}/java-utils-2_src_prepare-run"
1823} 1825}
1824 1826
1825# ------------------------------------------------------------------------------ 1827# ------------------------------------------------------------------------------

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125

  ViewVC Help
Powered by ViewVC 1.1.20