summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-17 21:04:43 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-17 21:04:43 +0000
commitb12c2abc7ed523461d9beb90b9ac0f7293fbf5bb (patch)
tree42456c52463f487d05e0638b67414b26dd7a9bae /eclass
parentAdd src_test support and test-framework local use flag for installing the tes... (diff)
downloadgentoo-2-b12c2abc7ed523461d9beb90b9ac0f7293fbf5bb.tar.gz
gentoo-2-b12c2abc7ed523461d9beb90b9ac0f7293fbf5bb.tar.bz2
gentoo-2-b12c2abc7ed523461d9beb90b9ac0f7293fbf5bb.zip
Add check for bundled class files along with jar files.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-pkg-2.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass
index d5cf74c2f80c..00fde92c3d5f 100644
--- a/eclass/java-pkg-2.eclass
+++ b/eclass/java-pkg-2.eclass
@@ -5,7 +5,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.22 2007/05/07 22:10:46 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.23 2007/05/17 21:04:43 caster Exp $
inherit java-utils-2
@@ -109,6 +109,9 @@ pre_src_compile() {
if is-java-strict; then
echo "Searching for bundled jars:"
java-pkg_find-normal-jars || echo "None found."
+ echo "Searching for bundled classes (no output if none found):"
+ find "${WORKDIR}" -name "*.class"
+ echo "Search done."
fi
java-pkg-2_pkg_setup
}