/[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.50 Revision 1.51
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.50 2007/01/26 20:24:23 caster Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.51 2007/01/28 20:04:59 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
1539# if is-java-strict && [[ ! ${DEPEND} =~ "dev-java/ant" ]]; then 1539# if is-java-strict && [[ ! ${DEPEND} =~ "dev-java/ant" ]]; then
1540# java-pkg_announce-qa-violation \ 1540# java-pkg_announce-qa-violation \
1541# "Using eant, but not depending on dev-java/ant or dev-java/ant-core" 1541# "Using eant, but not depending on dev-java/ant or dev-java/ant-core"
1542# fi 1542# fi
1543 1543
1544 if ! hasq java-ant-2 ${INHERITED} && is-java-strict; then
1545 msg="You should inherit java-ant-2 when using eant"
1546 java-pkg_announce-qa-violation ${msg}
1547 die ${msg}
1548 fi
1549
1544 local antflags="-Dnoget=true -Dmaven.mode.offline=true" 1550 local antflags="-Dnoget=true -Dmaven.mode.offline=true"
1545 java-pkg_init-compiler_ 1551 java-pkg_init-compiler_
1546 local compiler="${GENTOO_COMPILER}" 1552 local compiler="${GENTOO_COMPILER}"
1547 1553
1548 local compiler_env="${JAVA_PKG_COMPILER_DIR}/${compiler}" 1554 local compiler_env="${JAVA_PKG_COMPILER_DIR}/${compiler}"

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

  ViewVC Help
Powered by ViewVC 1.1.20