summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-10-02 23:26:27 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-10-02 23:26:27 +0000
commit6363e3b999c1600278e2f65cde6e3f839211299d (patch)
tree2047196ab7e32db255caa8a936dd1bf8c7b6640b
parent5103e92b8dd8f2dc85acaa5c46b2b3641b109bb2 (diff)
parent89f8f2f11ff38add6164bc6e5728fda2b1132583 (diff)
merge of '353149ddd8838914505a55ea3b29c0e9a586313f'
and '908f030111fed03649b332c926739ffdd2d5eeb1'
-rw-r--r--classes/java.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/classes/java.bbclass b/classes/java.bbclass
index 17f833ce3d..9e51a0b7b2 100644
--- a/classes/java.bbclass
+++ b/classes/java.bbclass
@@ -93,7 +93,13 @@ oe_makeclasspath() {
oefatal "oe_makeclasspath: unknown option: $1"
;;
*)
- classpath=$classpath$delimiter$dir/$1.jar
+ file=$dir/$1.jar
+
+ if [ ! -f $file ]; then
+ oefatal "oe_makeclasspath: Jar file for '$1' not found at $file"
+ fi
+
+ classpath=$classpath$file
delimiter=":"
;;
esac