/[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.77 Revision 1.78
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.77 2007/04/24 10:26:33 caster Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.78 2007/04/24 21:11:41 caster 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
845 845
846 local build_only="" 846 local build_only=""
847 local destdir="." 847 local destdir="."
848 local deep="" 848 local deep=""
849 849
850 [[ "${EBUILD_PHASE}" == "test" ]] && build_only="true" 850 [[ "${EBUILD_PHASE}" == "test" ]] && build_only="build"
851 851
852 while [[ "${1}" == --* ]]; do 852 while [[ "${1}" == --* ]]; do
853 if [[ "${1}" = "--build-only" ]]; then 853 if [[ "${1}" = "--build-only" ]]; then
854 build_only="build" 854 build_only="build"
855 elif [[ "${1}" = "--with-dependencies" ]]; then 855 elif [[ "${1}" = "--with-dependencies" ]]; then
882 882
883 # When we have commas this functions is called to bring jars from multiple 883 # When we have commas this functions is called to bring jars from multiple
884 # packages. This affects recording of dependencencies because that syntax uses : 884 # packages. This affects recording of dependencencies because that syntax uses :
885 # if we don't change them to : gjl and java-config -d -p break 885 # if we don't change them to : gjl and java-config -d -p break
886 if [[ ${target_pkg} = *,* ]]; then 886 if [[ ${target_pkg} = *,* ]]; then
887 build_only="true" 887 build_only="build"
888 java-pkg_record-jar_ ${target_pkg//,/:} 888 java-pkg_record-jar_ ${target_pkg//,/:}
889 fi 889 fi
890 890
891 local jar 891 local jar
892 for jar in ${classpath//:/ }; do 892 for jar in ${classpath//:/ }; do
957 debug-print-function ${FUNCNAME} $* 957 debug-print-function ${FUNCNAME} $*
958 958
959 local build_only="" 959 local build_only=""
960 local deep="" 960 local deep=""
961 961
962 [[ "${EBUILD_PHASE}" == "test" ]] && build_only="true" 962 [[ "${EBUILD_PHASE}" == "test" ]] && build_only="build"
963 963
964 while [[ "${1}" == --* ]]; do 964 while [[ "${1}" == --* ]]; do
965 if [[ "${1}" = "--build-only" ]]; then 965 if [[ "${1}" = "--build-only" ]]; then
966 build_only="build" 966 build_only="build"
967 elif [[ "${1}" = "--with-dependencies" ]]; then 967 elif [[ "${1}" = "--with-dependencies" ]]; then
1025java-pkg_getjar() { 1025java-pkg_getjar() {
1026 debug-print-function ${FUNCNAME} $* 1026 debug-print-function ${FUNCNAME} $*
1027 1027
1028 local build_only="" 1028 local build_only=""
1029 1029
1030 [[ "${EBUILD_PHASE}" == "test" ]] && build_only="true" 1030 [[ "${EBUILD_PHASE}" == "test" ]] && build_only="build"
1031 1031
1032 while [[ "${1}" == --* ]]; do 1032 while [[ "${1}" == --* ]]; do
1033 if [[ "${1}" = "--build-only" ]]; then 1033 if [[ "${1}" = "--build-only" ]]; then
1034 build_only="build" 1034 build_only="build"
1035 else 1035 else

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

  ViewVC Help
Powered by ViewVC 1.1.20