git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8cbd46
)
java.bbclass: Error out if classpath entry cannot be found.
author
Robert Schuster
<thebohemian@gmx.net>
Thu, 2 Oct 2008 23:19:15 +0000
(23:19 +0000)
committer
Robert Schuster
<thebohemian@gmx.net>
Thu, 2 Oct 2008 23:19:15 +0000
(23:19 +0000)
classes/java.bbclass
patch
|
blob
|
history
diff --git
a/classes/java.bbclass
b/classes/java.bbclass
index
17f833c
..
9e51a0b
100644
(file)
--- 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