[oe] [meta-java/openjdk-7.0][PATCH 2/7] xalan-j: remove the directory before copy stuff to it

Khem Raj raj.khem at gmail.com
Tue Aug 21 04:03:31 UTC 2012


From: Henning Heinold <heinold at inf.fu-berlin.de>

* when the build process got interrtupted it might
  happen something is already in build-serializer/
  so remove it before creating it again
---
 recipes-core/xalan-j/xalan-j_2.7.1.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/xalan-j/xalan-j_2.7.1.bb b/recipes-core/xalan-j/xalan-j_2.7.1.bb
index 4b0911d..85fc0b5 100644
--- a/recipes-core/xalan-j/xalan-j_2.7.1.bb
+++ b/recipes-core/xalan-j/xalan-j_2.7.1.bb
@@ -12,7 +12,6 @@ DEPENDS_virtclass-native = " \
 	xerces-j-native regexp-native jlex-native cup-native jaxp1.3-native bcel-native \
 	"
 
-
 SRC_URI = "\
 	http://archive.apache.org/dist/xml/${BPN}/${BPN}_2_7_1-src.tar.gz;name=archive \
 	http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-2.4.0.tar.gz;name=bsf \
@@ -39,6 +38,7 @@ do_compile() {
   # Remove BSF classes
   rm -rf build-xalan/org/apache/bsf
 
+  rm -rf build-serializer/
   mkdir -p build-serializer/org/apache/xml
   mv build/org/apache/xml/serializer build-serializer/org/apache/xml
 
-- 
1.7.9.5





More information about the Openembedded-devel mailing list