debian swirl logo

Back to the packages list libjboss-reflect-java

#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME 		:= /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET	:= jar
DEB_ANT_BUILDFILE	:= debian/build.xml
DEB_JARS		:= jboss-common javassist


ALL_JARS = $(wildcard jboss*.jar)
DEST_DIR = $(DEB_DESTDIR)/usr/share/java
install/libjboss-reflect-java::
		for jar in $(ALL_JARS); do                         \
	  BASENAME= `basename $$jar .jar`;		   \
	  FULLNAME= $$BASENAME-$(DEB_UPSTREAM_VERSION).jar; \
		  install -m 644 -D $$jar $(DEST_DIR)/$$FULLNAME;  \
		  ln -s $$FULLNAME $(DEST_DIR)/$$BASENAME.jar;     \
		done

get-orig-source:
		uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename

Builds:

libjboss-reflect-java
jboss reflection api for classinfo and beaninfo abstractions