Skip to content

Commit

Permalink
java-pkg-simple.eclass: Implemented auto classpath
Browse files Browse the repository at this point in the history
Added call to java-pkg_gen-cp EANT_GENTOO_CLASSPATH in
java-pkg-simple_src_compile. This has no effect unless CP_DEPEND is set
in an ebuild.

Closes: gentoo#2286
Signed-off-by: James Le Cuirot <[email protected]>
  • Loading branch information
wltjr authored and chewi committed Oct 17, 2016
1 parent f5ac6dc commit 823bcd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eclass/java-pkg-simple.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ S="${WORKDIR}"
java-pkg-simple_src_compile() {
local sources=sources.lst classes=target/classes apidoc=target/api

# auto generate classpath
java-pkg_gen-cp JAVA_GENTOO_CLASSPATH

# gather sources
find ${JAVA_SRC_DIR:-*} -name \*.java > ${sources}
mkdir -p ${classes} || die "Could not create target directory"
Expand Down

0 comments on commit 823bcd0

Please sign in to comment.