/[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.11 Revision 1.12
1051 return 1 1051 return 1
1052 fi 1052 fi
1053 fi 1053 fi
1054} 1054}
1055 1055
1056java-pkg_set-current-vm() {
1057 export GENTOO_VM=${1}
1058}
1059
1060java-pkg_get-current-vm() {
1061 echo ${GENTOO_VM}
1062}
1063
1064java-pkg_current-vm-matches() {
1065 hasq java-pkg_get-currenv-vm ${@}
1066 return $?
1067}
1068
1056# ------------------------------------------------------------------------------ 1069# ------------------------------------------------------------------------------
1057# @ebuild-function java-pkg_get-source 1070# @ebuild-function java-pkg_get-source
1058# 1071#
1059# Determines what source version should be used, for passing to -source. 1072# Determines what source version should be used, for passing to -source.
1060# Unless you want to break things you probably shouldn't set _WANT_SOURCE 1073# Unless you want to break things you probably shouldn't set _WANT_SOURCE
1201# compiler. 1214# compiler.
1202# 1215#
1203# ------------------------------------------------------------------------------ 1216# ------------------------------------------------------------------------------
1204eant() { 1217eant() {
1205 debug-print-function ${FUNCNAME} $* 1218 debug-print-function ${FUNCNAME} $*
1219
1220 # FIXME get this working
1221# if is-java-strict && [[ ! ${DEPEND} =~ "dev-java/ant" ]]; then
1222# java-pkg_announce-qa-violation \
1223# "Using eant, but not depending on dev-java/ant or dev-java/ant-core"
1224# fi
1206 1225
1207 local antflags 1226 local antflags
1208 java-pkg_init-compiler_ 1227 java-pkg_init-compiler_
1209 local compiler="${GENTOO_COMPILER}" 1228 local compiler="${GENTOO_COMPILER}"
1210 1229

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20