Gentoo Development Guide

JAVA-PKG-2.ECLASS

Section: portage (5)
Updated: Aug 2014
Index Return to Main Contents
 

NAME

java-pkg-2.eclass - Eclass for Java Packages  

DESCRIPTION

This eclass should be inherited for pure Java packages, or by packages which need to use Java.  

FUNCTIONS

java-pkg-2_pkg_setup
pkg_setup initializes the Java environment
java-pkg-2_src_prepare
wrapper for java-utils-2_src_prepare
java-pkg-2_src_compile
Default src_compile for java packages

Variables:
  EANT_BUILD_XML - controls the location of the build.xml (default: ./build.xml)
  EANT_FILTER_COMPILER - Calls java-pkg_filter-compiler with the value
  EANT_BUILD_TARGET - the ant target/targets to execute (default: jar)
  EANT_DOC_TARGET - the target to build extra docs under the doc use flag
                    (default: javadoc; declare empty to disable completely)
  EANT_GENTOO_CLASSPATH - @see eant documention in java-utils-2.eclass
  EANT_EXTRA_ARGS - extra arguments to pass to eant
  EANT_ANT_TASKS - modifies the ANT_TASKS variable in the eant environment
java-pkg-2_src_test
src_test, not exported.
java-pkg-2_pkg_preinst
wrapper for java-utils-2_pkg_preinst
 

ECLASS VARIABLES

JAVA_PKG_IUSE
Use JAVA_PKG_IUSE instead of IUSE for doc, source and examples so that the eclass can automatically add the needed dependencies for the java-pkg_do* functions.
 

AUTHORS

Thomas Matthijs <axxo@gentoo.org>
 

MAINTAINERS

java@gentoo.org
 

REPORTING BUGS

Please report bugs via http://bugs.gentoo.org/  

FILES

/usr/portage/eclass/java-pkg-2.eclass  

SEE ALSO

ebuild(5)
http://sources.gentoo.org/eclass/java-pkg-2.eclass?view=log


 

Index

NAME
DESCRIPTION
FUNCTIONS
ECLASS VARIABLES
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:25:15 GMT, August 20, 2014