/[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.59 Revision 1.60
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.59 2007/03/01 12:53:38 betelgeuse Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.60 2007/03/01 13:15:14 betelgeuse Exp $
10 10
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
14# @eclass-shortdesc Java Utility eclass 14# @eclass-shortdesc Java Utility eclass
814 classpath="$(java-config ${deep} --classpath=${target_pkg})" 814 classpath="$(java-config ${deep} --classpath=${target_pkg})"
815 [[ $? != 0 ]] && die ${error_msg} 815 [[ $? != 0 ]] && die ${error_msg}
816 816
817 pushd ${destdir} > /dev/null \ 817 pushd ${destdir} > /dev/null \
818 || die "failed to change directory to ${destdir}" 818 || die "failed to change directory to ${destdir}"
819
820 # When we have commas this functions is called to bring jars from multiple
821 # packages. This affects recording of dependencencies because that syntax uses :
822 # if we don't change them to : gjl and java-config -d -p break
823 if [[ ${target_pkg} = *,* ]]; then
824 build_only="true"
825 java-pkg_record-jar_ ${target_pkg//,/:}
826 fi
827
819 local jar 828 local jar
820 for jar in ${classpath//:/ }; do 829 for jar in ${classpath//:/ }; do
821 local jar_name=$(basename "${jar}") 830 local jar_name=$(basename "${jar}")
822 if [[ ! -f "${jar}" ]] ; then 831 if [[ ! -f "${jar}" ]] ; then
823 debug-print "${jar} from ${target_pkg} does not exist" 832 debug-print "${jar} from ${target_pkg} does not exist"

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

  ViewVC Help
Powered by ViewVC 1.1.20