diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-05-24 13:36:39 -0700 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-09-29 21:50:14 +0200 |
commit | b81f7aafb3f8047faf89b1dd089062bcf2035462 (patch) | |
tree | 1f4038d828936087bbffac404ca1ceb03000a56b /recipes-core/bcel/bcel_5.2.bb | |
parent | 0087b9260ba3ebc8098d8d87c08d4eea05070f39 (diff) | |
download | meta-java-b81f7aafb3f8047faf89b1dd089062bcf2035462.tar.gz |
bcel,avalon-framework: Specify encoding to javac
when using javac from different JDK it does not like
the encodings since default is ascii, so be specific.
fastjar argument order was not correct when using other
fastjar implementation it was strict about it so lets
correct it as well.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-core/bcel/bcel_5.2.bb')
-rw-r--r-- | recipes-core/bcel/bcel_5.2.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-core/bcel/bcel_5.2.bb b/recipes-core/bcel/bcel_5.2.bb index 27fd8d9..6ff345d 100644 --- a/recipes-core/bcel/bcel_5.2.bb +++ b/recipes-core/bcel/bcel_5.2.bb | |||
@@ -16,9 +16,9 @@ do_compile() { | |||
16 | 16 | ||
17 | oe_makeclasspath cp -s xercesImpl regexp | 17 | oe_makeclasspath cp -s xercesImpl regexp |
18 | 18 | ||
19 | javac -sourcepath src/java -d build -cp $cp `find src/java -name \*.java` | 19 | javac -encoding ISO-8859-1 -sourcepath src/java -d build -cp $cp `find src/java -name \*.java` |
20 | 20 | ||
21 | fastjar -C build -c -f ${JARFILENAME} . | 21 | fastjar cf ${JARFILENAME} -C build . |
22 | } | 22 | } |
23 | 23 | ||
24 | SRC_URI[md5sum] = "905b7e718e30e7ca726530ecf106e532" | 24 | SRC_URI[md5sum] = "905b7e718e30e7ca726530ecf106e532" |