[pkg-java] r9437 - in trunk/clirr: . debian debian/patches

Ludovic Claude ludovicc-guest at alioth.debian.org
Sat Aug 1 21:39:58 UTC 2009


Author: ludovicc-guest
Date: 2009-08-01 21:39:58 +0000 (Sat, 01 Aug 2009)
New Revision: 9437

Added:
   trunk/clirr/debian/
   trunk/clirr/debian/build.properties
   trunk/clirr/debian/changelog
   trunk/clirr/debian/clirr.poms
   trunk/clirr/debian/compat
   trunk/clirr/debian/control
   trunk/clirr/debian/copyright
   trunk/clirr/debian/maven.rules
   trunk/clirr/debian/patches/
   trunk/clirr/debian/patches/bcel5.2.patch
   trunk/clirr/debian/patches/series
   trunk/clirr/debian/pom.xml
   trunk/clirr/debian/rules
   trunk/clirr/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/clirr/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/clirr/debian/build.properties
===================================================================
--- trunk/clirr/debian/build.properties	                        (rev 0)
+++ trunk/clirr/debian/build.properties	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,6 @@
+javadoc.dir=build/docs/api
+maven.test.skip=true
+build.sourceDirectory=core/src/java
+build.resourcesDirectory=core/src/conf
+build.testDirectory=core/src/test
+

Added: trunk/clirr/debian/changelog
===================================================================
--- trunk/clirr/debian/changelog	                        (rev 0)
+++ trunk/clirr/debian/changelog	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,5 @@
+clirr (0.6-0ubuntu1~ppa6) karmic; urgency=low
+
+  * Initial release. (Closes: #537307)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Thu, 16 Jul 2009 19:27:09 +0100

Added: trunk/clirr/debian/clirr.poms
===================================================================
--- trunk/clirr/debian/clirr.poms	                        (rev 0)
+++ trunk/clirr/debian/clirr.poms	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1 @@
+debian/pom.xml --no-parent

Added: trunk/clirr/debian/compat
===================================================================
--- trunk/clirr/debian/compat	                        (rev 0)
+++ trunk/clirr/debian/compat	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1 @@
+7

Added: trunk/clirr/debian/control
===================================================================
--- trunk/clirr/debian/control	                        (rev 0)
+++ trunk/clirr/debian/control	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,21 @@
+Source: clirr
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Homepage: http://clirr.sourceforge.net/
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, quilt, ant, ant-optional, maven-ant-helper
+Build-Depends-Indep: maven-repo-helper, libbcel-java, libcommons-cli-java, libcommons-lang-java
+Standards-Version: 3.8.2
+
+Package: clirr
+Architecture: all
+Section: java
+Depends: ${misc:Depends}, libbcel-java, libcommons-cli-java, libcommons-lang-java
+Recommends: ant
+Description: Checks Java libraries for compatibility with older releases
+ Clirr is a tool that checks Java libraries for binary and source 
+ compatibility with older releases. The Clirr Ant task can break
+ the build if it detects incompatible API changes, making it easy to
+ prevent accidental introduction of compatibility issues.
+

Added: trunk/clirr/debian/copyright
===================================================================
--- trunk/clirr/debian/copyright	                        (rev 0)
+++ trunk/clirr/debian/copyright	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,22 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Clirr
+Maintainer: Lars Kühne
+Source: http://clirr.sourceforge.net/
+
+Files: *
+Copyright: 2003-2005 Lars Kühne
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude at laposte.net>
+License: GPL-3+
+
+License: LGPL-2.1
+  On Debian GNU/Linux system you can find the complete text of the
+  LGPL 2.1 license in '/usr/share/common-licenses/LGPL-2.1'.
+
+License: GPL-3
+  On Debian GNU/Linux system you can find the complete text of the
+  GNU General Public License version 3 license in 
+  '/usr/share/common-licenses/GPL-3'.
+

Added: trunk/clirr/debian/maven.rules
===================================================================
--- trunk/clirr/debian/maven.rules	                        (rev 0)
+++ trunk/clirr/debian/maven.rules	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,4 @@
+s/ant/org.apache.ant/ * * s/.*/debian/
+s/bcel/org.apache.bcel/ bcel jar s/5\..*/5.x/
+antlr antlr jar s/2\..*/2.x/
+

Added: trunk/clirr/debian/patches/bcel5.2.patch
===================================================================
--- trunk/clirr/debian/patches/bcel5.2.patch	                        (rev 0)
+++ trunk/clirr/debian/patches/bcel5.2.patch	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,30 @@
+--- a/core/src/java/net/sf/clirr/core/internal/bcel/BcelJavaType.java
++++ b/core/src/java/net/sf/clirr/core/internal/bcel/BcelJavaType.java
+@@ -66,8 +66,12 @@
+         {
+             return new JavaType[0];
+         }
+-        final JavaClass[] superClasses = clazz.getSuperClasses();
+-        return convertToJavaTypeArray(superClasses);
++	try {
++       	final JavaClass[] superClasses = clazz.getSuperClasses();
++       	return convertToJavaTypeArray(superClasses);
++	} catch (ClassNotFoundException e) {
++	  throw new RuntimeException(e);
++        }
+     }
+ 
+     public JavaType[] getAllInterfaces() {
+@@ -75,8 +79,12 @@
+         {
+             return new JavaType[0];
+         }
++	try {
+         final JavaClass[] interfaces = clazz.getAllInterfaces();
+         return convertToJavaTypeArray(interfaces);
++	} catch (ClassNotFoundException e) {
++          throw new RuntimeException(e);
++        }
+     }
+ 
+     public JavaType[] getInnerClasses() {

Added: trunk/clirr/debian/patches/series
===================================================================
--- trunk/clirr/debian/patches/series	                        (rev 0)
+++ trunk/clirr/debian/patches/series	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1 @@
+bcel5.2.patch

Added: trunk/clirr/debian/pom.xml
===================================================================
--- trunk/clirr/debian/pom.xml	                        (rev 0)
+++ trunk/clirr/debian/pom.xml	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project>
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>net.sf.clirr</groupId>
+
+  <artifactId>clirr-core</artifactId>
+
+  <name>Clirr</name>
+
+  <version>0.6</version>
+
+  <!-- details about the organization that 'owns' the project -->
+  <organization>
+    <name>Lars K�hne</name>
+    <url>mailto:clirr-devel at lists.sourceforge.net</url>
+  </organization>
+
+  <inceptionYear>2003</inceptionYear>
+  <description>
+    Clirr is a tool that checks Java libraries for binary
+    compatibility with older releases. Basically you give it two sets
+    of jar files and Clirr dumps out a list of changes in the public
+    api. Clirr provides an Ant task that can be configured to break
+    the build if it detects incompatible api changes. In a continuous
+    integration process Clirr can automatically prevent accidental
+    introduction of binary compatibility problems in Java libraries.
+  </description>
+
+  <url>http://clirr.sourceforge.net/</url>
+  <issueManagement>
+    <system>sourceforge</system>
+    <url>https://sourceforge.net/tracker/?group_id=89627&amp;atid=590799</url>
+  </issueManagement>
+
+  <scm>
+    <connection>scm:cvs:pserver:anonymous at cvs.sourceforge.net:/cvsroot/clirr:clirr/core</connection>
+    <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/clirr/core</url>
+  </scm>
+
+  <mailingLists>
+    <mailingList>
+      <name>clirr-user</name>
+      <subscribe>http://lists.sourceforge.net/lists/listinfo/clirr-user</subscribe>
+      <unsubscribe>http://lists.sourceforge.net/lists/listinfo/clirr-user</unsubscribe>
+      <archive>http://lists.sourceforge.net/lists/listinfo/clirr-user</archive>
+    </mailingList>
+    <mailingList>
+      <name>clirr-devel</name>
+      <subscribe>http://lists.sourceforge.net/lists/listinfo/clirr-devel</subscribe>
+      <unsubscribe>http://lists.sourceforge.net/lists/listinfo/clirr-devel</unsubscribe>
+      <archive>http://lists.sourceforge.net/lists/listinfo/clirr-devel</archive>
+    </mailingList>
+  </mailingLists>
+
+  <developers>
+    <developer>
+      <name>Lars K�hne</name>
+      <id>lkuehne</id>
+      <organization>ppi Media</organization>
+      <timezone>+1</timezone>
+      <roles>
+        <role>Java Developer</role>
+        <role>Project Admin</role>
+      </roles>
+    </developer>
+    <developer>
+      <name>Vincent Massol</name>
+      <id>vmassol</id>
+      <organization>Apache Software Foundation</organization>
+      <timezone>+1</timezone>
+      <url>http://blogs.codehaus.org/people/vmassol</url>
+      <roles>
+        <role>Initial Inspiration and Feedback</role>
+        <role>Java Developer</role>
+        <role>Maven Guru</role>
+      </roles>
+    </developer>
+    <developer>
+      <name>Simon Kitching</name>
+      <id>s_kitching</id>
+      <organization>ECN</organization>
+      <timezone>+12</timezone>
+      <roles>
+        <role>Java Developer</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <contributors>
+    <contributor>
+      <name>Stephen Colebourne</name>
+      <organization>Apache Software Foundation</organization>
+    </contributor>
+  </contributors>
+
+  <dependencies>
+    <dependency>
+      <groupId>bcel</groupId>
+      <artifactId>bcel</artifactId>
+      <version>5.1</version>
+    </dependency>
+    <dependency>
+      <groupId>ant</groupId>
+      <artifactId>ant</artifactId>
+      <version>1.5.3-1</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>commons-cli</groupId>
+      <artifactId>commons-cli</artifactId>
+      <version>1.0</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+      <version>1.0.1</version>
+      <optional>true</optional>
+    </dependency>
+  </dependencies>
+
+</project>
+

Added: trunk/clirr/debian/rules
===================================================================
--- trunk/clirr/debian/rules	                        (rev 0)
+++ trunk/clirr/debian/rules	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := ant-nodeps bcel commons-cli commons-lang
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dbin.package=$(PACKAGE) -Dversion=$(VERSION) -Dpom.file=debian/pom.xml
+
+get-orig-source:
+	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+binary-post-install/$(PACKAGE)::
+	mh_installpoms -p$(PACKAGE)
+	mh_installjar -p$(PACKAGE) -l --usj-name=clirr debian/pom.xml build/clirr-core-$(VERSION).jar
+
+clean::
+	-rm -rf debian/tmp
+
+get-orig-pom:
+	wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/net/sf/clirr/clirr-core/$(VERSION)/clirr-core-$(VERSION).pom
+


Property changes on: trunk/clirr/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/clirr/debian/watch
===================================================================
--- trunk/clirr/debian/watch	                        (rev 0)
+++ trunk/clirr/debian/watch	2009-08-01 21:39:58 UTC (rev 9437)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/clirr/clirr-([0-9\.]*)-src\.zip




More information about the pkg-java-commits mailing list