/[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.26 Revision 1.27
428# ------------------------------------------------------------------------------ 428# ------------------------------------------------------------------------------
429java-pkg_dohtml() { 429java-pkg_dohtml() {
430 debug-print-function ${FUNCNAME} $* 430 debug-print-function ${FUNCNAME} $*
431 431
432 [[ ${#} -lt 1 ]] && die "At least one argument required for ${FUNCNAME}" 432 [[ ${#} -lt 1 ]] && die "At least one argument required for ${FUNCNAME}"
433
433 # TODO-nichoj find out what exactly -f package-list does 434 # TODO-nichoj find out what exactly -f package-list does
434 dohtml -f package-list "$@" 435 dohtml -f package-list "$@"
435 # this probably shouldn't be here but it provides 436 # this probably shouldn't be here but it provides
436 # a reasonable way to catch # docs for all of the 437 # a reasonable way to catch # docs for all of the
437 # old ebuilds. 438 # old ebuilds.
1617# TODO change to do-write, to match everything else 1618# TODO change to do-write, to match everything else
1618java-pkg_do_write_() { 1619java-pkg_do_write_() {
1619 # Create directory for package.env 1620 # Create directory for package.env
1620 dodir "${JAVA_PKG_SHAREPATH}" 1621 dodir "${JAVA_PKG_SHAREPATH}"
1621 if [[ -n "${JAVA_PKG_CLASSPATH}" || -n "${JAVA_PKG_LIBRARY}" || -f "${JAVA_PKG_DEPEND}" ]]; then 1622 if [[ -n "${JAVA_PKG_CLASSPATH}" || -n "${JAVA_PKG_LIBRARY}" || -f "${JAVA_PKG_DEPEND}" ]]; then
1623 java-pkg_init_paths_
1622 # Create package.env 1624 # Create package.env
1623 ( 1625 (
1624 echo "DESCRIPTION=\"${DESCRIPTION}\"" 1626 echo "DESCRIPTION=\"${DESCRIPTION}\""
1625 echo "GENERATION=\"2\"" 1627 echo "GENERATION=\"2\""
1626 1628
1920 ewarn "Possible problem" 1922 ewarn "Possible problem"
1921 die "Bad class files found" 1923 die "Bad class files found"
1922 fi 1924 fi
1923} 1925}
1924 1926
1925
1926# ------------------------------------------------------------------------------ 1927# ------------------------------------------------------------------------------
1927# @section-end internal 1928# @section-end internal
1928# ------------------------------------------------------------------------------ 1929# ------------------------------------------------------------------------------
1929 1930
1930java-pkg_check-phase() { 1931java-pkg_check-phase() {

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20