[pkg-java] r15783 - trunk/libsimple-validation-java/debian

Damien Raude-Morvan drazzib at alioth.debian.org
Sun Feb 19 11:53:43 UTC 2012


Author: drazzib
Date: 2012-02-19 11:53:43 +0000 (Sun, 19 Feb 2012)
New Revision: 15783

Modified:
   trunk/libsimple-validation-java/debian/changelog
   trunk/libsimple-validation-java/debian/control
   trunk/libsimple-validation-java/debian/rules
Log:
* Team upload.
* Use javahelper to add Class-Path variable and install JAR.
  Classpath now contains org-openide-util-* JARs which are used by
  simple-validation (this should prevent a crash in Jajuk).

Modified: trunk/libsimple-validation-java/debian/changelog
===================================================================
--- trunk/libsimple-validation-java/debian/changelog	2012-02-16 03:09:54 UTC (rev 15782)
+++ trunk/libsimple-validation-java/debian/changelog	2012-02-19 11:53:43 UTC (rev 15783)
@@ -1,3 +1,12 @@
+libsimple-validation-java (0.4-3) unstable; urgency=low
+
+  * Team upload.
+  * Use javahelper to add Class-Path variable and install JAR.
+    Classpath now contains org-openide-util-* JARs which are used by
+    simple-validation (this should prevent a crash in Jajuk).
+
+ -- Damien Raude-Morvan <drazzib at debian.org>  Sun, 19 Feb 2012 12:49:56 +0100
+
 libsimple-validation-java (0.4-2) unstable; urgency=low
 
   * Team upload.

Modified: trunk/libsimple-validation-java/debian/control
===================================================================
--- trunk/libsimple-validation-java/debian/control	2012-02-16 03:09:54 UTC (rev 15782)
+++ trunk/libsimple-validation-java/debian/control	2012-02-19 11:53:43 UTC (rev 15783)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Varun Hiremath <varun at debian.org>
-Build-Depends: debhelper (>= 7), cdbs
+Build-Depends: debhelper (>= 7), cdbs, javahelper
 Build-Depends-Indep: ant-optional, default-jdk
 Standards-Version: 3.9.2
 Homepage: http://kenai.com/projects/simplevalidation/pages/Home
@@ -12,7 +12,7 @@
 
 Package: libsimple-validation-java
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, ${java:Depends}
 Description: library for quickly adding validation code to Swing user-interfaces
  This is a simple library for retrofitting user-interface input
  validation to Swing applications. It handles validating user input

Modified: trunk/libsimple-validation-java/debian/rules
===================================================================
--- trunk/libsimple-validation-java/debian/rules	2012-02-16 03:09:54 UTC (rev 15782)
+++ trunk/libsimple-validation-java/debian/rules	2012-02-19 11:53:43 UTC (rev 15783)
@@ -8,9 +8,14 @@
 DEB_ANT_ARGS            := -Dplatforms.JDK_1.5.home=$(JAVA_HOME)
 DEB_JARS		:= ant-nodeps
 
-install/libsimple-validation-java:: 
-	install -m644 -D dist/ValidationAPI.jar $(DEB_DESTDIR)/usr/share/java/simple-validation-$(DEB_UPSTREAM_VERSION).jar
-	dh_link -plibsimple-validation-java /usr/share/java/simple-validation-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/simple-validation.jar
+clean::
+	jh_build --clean
 
+install/libsimple-validation-java::
+	mv dist/ValidationAPI.jar dist/simple-validation.jar
+	jh_classpath --classpath="/usr/share/java/org-openide-util-lookup.jar /usr/share/java/org-openide-util.jar" dist/simple-validation.jar
+	jh_installlibs dist/simple-validation.jar
+	jh_depends
+
 get-orig-source:
 	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)




More information about the pkg-java-commits mailing list