Lines 65-72
Link Here
|
65 |
# EANT_FILTER_COMPILER - Calls java-pkg_filter-compiler with the value |
65 |
# EANT_FILTER_COMPILER - Calls java-pkg_filter-compiler with the value |
66 |
# EANT_BUILD_TARGET - the ant target/targets to execute (default: jar) |
66 |
# EANT_BUILD_TARGET - the ant target/targets to execute (default: jar) |
67 |
# EANT_DOC_TARGET - the target to build extra docs under the doc use flag |
67 |
# EANT_DOC_TARGET - the target to build extra docs under the doc use flag |
68 |
# (default: the one provided by use_doc in |
68 |
# (default: javadoc; declare empty to disable completely) |
69 |
# java-utils-2.eclass) |
|
|
70 |
# EANT_GENTOO_CLASSPATH - @see eant documention in java-utils-2.eclass |
69 |
# EANT_GENTOO_CLASSPATH - @see eant documention in java-utils-2.eclass |
71 |
# EANT_EXTRA_ARGS - extra arguments to pass to eant |
70 |
# EANT_EXTRA_ARGS - extra arguments to pass to eant |
72 |
# EANT_ANT_TASKS - modifies the ANT_TASKS variable in the eant environment |
71 |
# EANT_ANT_TASKS - modifies the ANT_TASKS variable in the eant environment |
Lines 76-84
Link Here
|
76 |
if [[ -e "${EANT_BUILD_XML:=build.xml}" ]]; then |
75 |
if [[ -e "${EANT_BUILD_XML:=build.xml}" ]]; then |
77 |
[[ "${EANT_FILTER_COMPILER}" ]] && \ |
76 |
[[ "${EANT_FILTER_COMPILER}" ]] && \ |
78 |
java-pkg_filter-compiler ${EANT_FILTER_COMPILER} |
77 |
java-pkg_filter-compiler ${EANT_FILTER_COMPILER} |
79 |
|
|
|
80 |
local antflags="${EANT_BUILD_TARGET:=jar}" |
78 |
local antflags="${EANT_BUILD_TARGET:=jar}" |
81 |
hasq doc ${IUSE} && antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})" |
79 |
if hasq doc ${IUSE} && [[ -n "${EANT_DOC_TARGET=javadoc}" ]]; then |
|
|
80 |
antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})" |
81 |
fi |
82 |
local tasks |
82 |
local tasks |
83 |
[[ ${EANT_ANT_TASKS} ]] && tasks="${ANT_TASKS} ${EANT_ANT_TASKS}" |
83 |
[[ ${EANT_ANT_TASKS} ]] && tasks="${ANT_TASKS} ${EANT_ANT_TASKS}" |
84 |
ANT_TASKS="${tasks}" \ |
84 |
ANT_TASKS="${tasks}" \ |