/[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.47 Revision 1.48
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.47 2007/01/21 20:31:55 betelgeuse Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.48 2007/01/21 21:12:52 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
770java-pkg_jar-from() { 770java-pkg_jar-from() {
771 debug-print-function ${FUNCNAME} $* 771 debug-print-function ${FUNCNAME} $*
772 772
773 local build_only="" 773 local build_only=""
774 774
775 if [[ "${1}" = "--build-only" ]]; then 775 if [[ "${1}" = "--build-only" || "${EBUILD_PHASE}" == "test" ]]; then
776 build_only="true" 776 build_only="true"
777 shift 777 shift
778 fi 778 fi
779 779
780 if [[ "${1}" = "--with-dependencies" ]]; then 780 if [[ "${1}" = "--with-dependencies" ]]; then
855# (passed to java-config --classpath) 855# (passed to java-config --classpath)
856# ------------------------------------------------------------------------------ 856# ------------------------------------------------------------------------------
857java-pkg_getjars() { 857java-pkg_getjars() {
858 debug-print-function ${FUNCNAME} $* 858 debug-print-function ${FUNCNAME} $*
859 859
860 if [[ "${1}" = "--build-only" ]]; then 860 if [[ "${1}" = "--build-only" || "${EBUILD_PHASE}" == "test" ]]; then
861 local build_only="true" 861 local build_only="true"
862 shift 862 shift
863 fi 863 fi
864 864
865 if [[ "${1}" = "--with-dependencies" ]]; then 865 if [[ "${1}" = "--with-dependencies" ]]; then
915java-pkg_getjar() { 915java-pkg_getjar() {
916 debug-print-function ${FUNCNAME} $* 916 debug-print-function ${FUNCNAME} $*
917 917
918 local build_only="" 918 local build_only=""
919 919
920 if [[ "${1}" = "--build-only" ]]; then 920 if [[ "${1}" = "--build-only" || "${EBUILD_PHASE}" == "test" ]]; then
921 build_only="true" 921 build_only="true"
922 shift 922 shift
923 fi 923 fi
924 924
925 local pkg="${1}" target_jar="${2}" jar 925 local pkg="${1}" target_jar="${2}" jar

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20