1 DESCRIPTION = "Tree-based API for processing XML with Java"
4 HOMEPAGE = "http://xom.nu"
7 http://www.cafeconleche.org/XOM/${P}-src.tar.gz \
8 http://dist.codehaus.org/jaxen/distributions/jaxen-1.1.1-src.tar.gz \
9 file://04_remove_sun_import.patch;patch=1 \
16 DEPENDS = "fastjar-native xerces-j xalan-j"
21 oe_makeclasspath cp -s xercesImpl xalan2
24 scp="${WORKDIR}/jaxen-1.1.1/src/java/main"
26 javac -sourcepath src:$scp -cp $cp -d build `find src -name "*.java" -and -not \( -wholename "*tests*" -or -wholename "*samples*" -or -wholename "*tools*" \)`
27 javac -sourcepath fatsrc:$scp -cp $cp -d build `find fatsrc -name "*.java" -and -not \( -wholename "*tests*" -or -wholename "*samples*" -or -wholename "*tools*" \)`
28 javac -sourcepath src15:$scp -cp $cp -d build `find src15 -name "*.java" -and -not \( -wholename "*tests*" -or -wholename "*samples*" -or -wholename "*tools*" \)`
30 (cd src && find . -name "*.properties" -exec cp {} ../build/{} \;)
32 # Remove Jaxen classes from build
33 rm -rf build/org/jaxen
36 fastjar -C build -c -f ${JARFILENAME} .