aboutsummaryrefslogtreecommitdiff
path: root/recipes/buglabs-osgi/com.buglabs.osgi.http.bb
blob: 7997afa7366c45b58ef8b7861c765a5b182798ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require bug-osgi.inc
DEPENDS += "servlet2.3 service-tracker"
EXTRA_CP += "servlet-2.3.1"
PR = "${INC_PR}.3+svnr${SRCREV}"
do_compile() {

  mkdir -p build
  oe_makeclasspath cp -s ${DEPENDS} ${EXTRA_CP}
  cp=$cp:${STAGING_DIR_JAVA}/osgi.jar

  echo "JAVAC CLASSPATH ---------------"
  echo $cp | awk 'BEGIN {FS=":"} {split($0,a,":"); for (i=1; i<=NF; i++) print a[i]; }'
  echo "-------------------------"

  javac -sourcepath . -cp $cp -d build `find . -name \*.java`
}