blob: 74ec2c445631340326b5cf2fb938bdec4cfacd5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
DESCRIPTION = "Common way for components to be created, initialized, configured, started. (API-only)"
LICENSE = "AL2.0"
AUTHOR = "Apache Software Foundation"
SRC_URI = "\
http://www.apache.org/dist/excalibur/avalon-framework/source/${BP}-src.tar.gz \
http://www.apache.org/dist/avalon/logkit/source/logkit-1.2.2-src.tar.gz \
"
inherit java-library
DEPENDS = "fastjar-native"
do_compile() {
mkdir -p build
# Allow reaching method definitions from logkit (stupid cyclic dependency).
srcpath=src/java:${WORKDIR}/logkit-1.2.2-dev/src/java
javac -sourcepath $srcpath -d build `find src/java -name "*.java"`
# Remove classes that belong to logkit ...
rm -rf ${S}/build/org/apache/log
fastjar -C build -c -f ${JARFILENAME} .
}
|