[SCM] hibernate-jbosscache: Integration of Hibernate with JBossCache branch, master, updated. upstream/1%3.3.2.GA-5-gde930d5

Miguel Landaeta miguel at miguel.cc
Tue Jan 31 04:11:18 UTC 2012


The following commit has been merged in the master branch:
commit de930d59c801afaebcd38bda2691f80235606d6a
Author: Miguel Landaeta <miguel at miguel.cc>
Date:   Mon Jan 30 22:54:13 2012 -0430

    Reintroduce upstream release 3.3.2.GA

diff --git a/debian/changelog b/debian/changelog
index e208d0e..0121da2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libhibernate-jbosscache-java (1:3.3.2.GA-1) unstable; urgency=low
+
+  * Reintroduce upstream release 3.3.2.GA in the archive. (Closes: #655775).
+  * Revert almost all changes introduced with last upload.
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Mon, 30 Jan 2012 21:57:14 -0430
+
 libhibernate-jbosscache-java (3.6.8-1) unstable; urgency=low
 
   * First upload to Debian.
diff --git a/debian/classpath b/debian/classpath
index 8cd647e..761afcd 100644
--- a/debian/classpath
+++ b/debian/classpath
@@ -1 +1 @@
-hibernate-jbosscache.jar /usr/share/java/hibernate3.jar /usr/share/java/slf4j-api.jar /usr/share/java/geronimo-jta-1.0.1b-spec.jar /usr/share/java/jboss-cache3.jar /usr/share/java/jboss-system.jar /usr/share/java/jboss-jmx.jar /usr/share/java/jgroups.jar
+hibernate-jbosscache.jar /usr/share/java/hibernate3.jar /usr/share/java/slf4j-api.jar /usr/share/java/geronimo-jta-1.0.1b-spec.jar /usr/share/java/jboss-cache1.jar /usr/share/java/jboss-system.jar /usr/share/java/jboss-jmx.jar
diff --git a/debian/control b/debian/control
index 7253c99..57e73df 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,7 @@ Section: java
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50~), default-jdk, javahelper,
  libhibernate3-java, libslf4j-java, libgeronimo-jta-1.0.1b-spec-java,
- libjboss-cache3-java, libjboss-system-java, libjboss-jmx-java,
- libjgroups-java
+ libjboss-cache1-java, libjboss-system-java, libjboss-jmx-java
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/git/pkg-java/libhibernate-jbosscache-java.git
 Vcs-Browser: http://git.debian.org/?p=pkg-java/libhibernate-jbosscache-java.git
@@ -16,8 +15,7 @@ DM-Upload-Allowed: yes
 Package: libhibernate-jbosscache-java
 Architecture: all
 Depends: libhibernate3-java, libslf4j-java, libgeronimo-jta-1.0.1b-spec-java,
- libjboss-cache1-java, libjboss-system-java, libjboss-jmx-java, ${misc:Depends},
- libjgroups-java
+ libjboss-cache1-java, libjboss-system-java, libjboss-jmx-java, ${misc:Depends}
 Description: Java library for integration of Hibernate with JBossCache
  This Java library provides support in Hibernate for JBossCache 1.x APIs.
  . 
diff --git a/debian/copyright b/debian/copyright
index ab1c169..0058dca 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-The sources where downloaded from https://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-jbosscache/3.6.8.Final/
+The sources where downloaded from http://anonsvn.jboss.org/repos/hibernate/core/tags/hibernate-3.3.2.GA/cache-jbosscache/.
 
 Files: *
 Copyright: © 2007 Red Hat Middleware LLC
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index b5f4764..633d462 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -3,20 +3,15 @@
 set -e
 
 # called by uscan with '--upstream-version' <version> <file>
+echo "version $2"
 package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
 version=$2
 tarball=$3
-
-unzip $tarball
-rm -rf META-INF
-
-TAR=../${package}_${version}.orig.tar.gz
+TAR=${package}_${version}.orig.tar.gz
 DIR=${package}-${version}.orig
+REPO="http://anonsvn.jboss.org/repos/hibernate/core/tags/hibernate-${version}/cache-jbosscache/"
 
-mkdir -p $DIR/src/main/java
-mv org/* $DIR/src/main/java
-rmdir org
-
+svn export $REPO $DIR
 GZIP=--best tar --numeric --group 0 --owner 0 -c -v -z -f $TAR $DIR
 
 rm -rf $tarball $DIR
diff --git a/debian/patches/create-pom-file.patch b/debian/patches/create-pom-file.patch
deleted file mode 100644
index 3af68e8..0000000
--- a/debian/patches/create-pom-file.patch
+++ /dev/null
@@ -1,190 +0,0 @@
-Description: Create POM file for project
-
---- /dev/null
-+++ libhibernate-jbosscache-java-3.6.8.Final/pom.xml
-@@ -0,0 +1,185 @@
-+<?xml version="1.0"?>
-+<!--
-+  ~ Hibernate, Relational Persistence for Idiomatic Java
-+  ~
-+  ~ Copyright (c) 2011, Red Hat Inc. or third-party contributors as
-+  ~ indicated by the @author tags or express copyright attribution
-+  ~ statements applied by the authors.  All third-party contributions are
-+  ~ distributed under license by Red Hat Inc.
-+  ~
-+  ~ This copyrighted material is made available to anyone wishing to use, modify,
-+  ~ copy, or redistribute it subject to the terms and conditions of the GNU
-+  ~ Lesser General Public License, as published by the Free Software Foundation.
-+  ~
-+  ~ This program is distributed in the hope that it will be useful,
-+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-+  ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
-+  ~ for more details.
-+  ~
-+  ~ You should have received a copy of the GNU Lesser General Public License
-+  ~ along with this distribution; if not, write to:
-+  ~ Free Software Foundation, Inc.
-+  ~ 51 Franklin Street, Fifth Floor
-+  ~ Boston, MA  02110-1301  USA
-+  -->
-+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-+
-+    <modelVersion>4.0.0</modelVersion>
-+
-+    <parent>
-+        <groupId>org.hibernate</groupId>
-+        <artifactId>hibernate-parent</artifactId>
-+        <version>3.6.8.Final</version>
-+        <relativePath>../hibernate-parent/pom.xml</relativePath>
-+    </parent>
-+    
-+    <groupId>org.hibernate</groupId>
-+    <artifactId>hibernate-jbosscache</artifactId>
-+    <packaging>jar</packaging>
-+
-+    <name>Hibernate JBossCache Integration</name>
-+    <description>Integration of Hibernate with JBossCache 3.x (though 2.x sould work as well)</description>
-+
-+    <dependencies>
-+        <dependency>
-+            <groupId>${project.groupId}</groupId>
-+            <artifactId>hibernate-core</artifactId>
-+            <version>${project.version}</version>
-+        </dependency>
-+        <dependency>
-+            <groupId>org.jboss.cache</groupId>
-+            <artifactId>jbosscache-core</artifactId>
-+            <version>3.2.1.GA</version> 
-+        </dependency>
-+        
-+        <!-- test dependencies -->
-+        <dependency>
-+            <groupId>${project.groupId}</groupId>
-+            <artifactId>hibernate-testing</artifactId>
-+            <version>${project.version}</version>
-+            <scope>test</scope>
-+        </dependency>
-+        <dependency>
-+            <groupId>hsqldb</groupId>
-+            <artifactId>hsqldb</artifactId>
-+            <version>1.8.0.2</version>
-+            <scope>test</scope>
-+        </dependency>
-+        <!-- this is optional on core :( and needed for testing -->
-+        <dependency>
-+            <groupId>cglib</groupId>
-+            <artifactId>cglib</artifactId>
-+            <scope>test</scope>
-+        </dependency>
-+        <dependency>
-+            <groupId>javassist</groupId>
-+            <artifactId>javassist</artifactId>
-+            <scope>test</scope>
-+        </dependency>
-+    </dependencies>
-+
-+    <build>
-+        <testResources>
-+            <testResource>
-+                <filtering>false</filtering>
-+                <directory>src/test/java</directory>
-+                <includes>
-+                    <include>**/*.xml</include>
-+                </includes>
-+            </testResource>
-+            <testResource>
-+                <filtering>true</filtering>
-+                <directory>src/test/resources</directory>
-+            </testResource>
-+        </testResources>
-+        
-+        <plugins>
-+            <plugin>
-+                <groupId>org.apache.maven.plugins</groupId>
-+                <artifactId>maven-compiler-plugin</artifactId>
-+                <configuration>
-+                    <source>1.5</source>
-+                    <target>1.5</target>
-+                </configuration>
-+            </plugin>
-+            <plugin>
-+                <groupId>org.apache.maven.plugins</groupId>
-+                <artifactId>maven-surefire-plugin</artifactId>
-+                <configuration>
-+                    <excludes>
-+                        <!-- Skip a long-running test of a prototype class -->
-+                        <exclude>**/ClusteredConcurrentTimestampRegionTestCase.java</exclude>
-+                    </excludes>
-+                    <systemProperties>
-+                        <property>
-+                            <name>hibernate.test.validatefailureexpected</name>
-+                            <value>true</value>
-+                        </property>
-+                        <property>
-+                            <name>jgroups.bind_addr</name>
-+                            <value>${jgroups.bind_addr}</value>
-+                        </property>
-+                        <!-- There are problems with multicast and IPv6 on some
-+                             OS/JDK combos, so we tell Java to use IPv4. If you
-+                             have problems with multicast when running the tests
-+                             you can try setting this to 'false', although typically
-+                             that won't be helpful.
-+                        -->
-+                        <property>
-+                            <name>java.net.preferIPv4Stack</name>
-+                            <value>true</value>
-+                        </property>
-+                        <!-- Tell JGroups to only wait a short time for PING 
-+                             responses before determining coordinator. Speeds cluster
-+                             formation during integration tests. (This is too
-+                             low a value for a real system; only use for tests.)
-+                        -->
-+                        <property>
-+                            <name>jgroups.ping.timeout</name>
-+                            <value>500</value>
-+                        </property>
-+                        <!-- Tell JGroups to only require one PING response
-+                             before determining coordinator. Speeds cluster
-+                             formation during integration tests. (This is too
-+                             low a value for a real system; only use for tests.)
-+                        -->
-+                        <property>
-+                            <name>jgroups.ping.num_initial_members</name>
-+                            <value>1</value>
-+                        </property>
-+                        <!-- Disable the JGroups message bundling feature
-+                             to speed tests and avoid FLUSH issue -->
-+                        <property>
-+                            <name>jgroups.udp.enable_bundling</name>
-+                            <value>false</value>
-+                        </property>
-+                    </systemProperties>
-+                    <skipExec>${skipUnitTests}</skipExec>
-+                </configuration>
-+            </plugin>
-+        </plugins>
-+    </build>
-+
-+    <properties>
-+        <skipUnitTests>true</skipUnitTests>
-+        <!-- 
-+            Following is the default jgroups mcast address.  If you find the testsuite runs very slowly, there
-+            may be problems with multicast on the interface JGroups uses by default on your machine. You can
-+            try to resolve setting 'jgroups.bind_addr' as a system-property to the jvm launching maven and
-+            setting the value to an interface where you know multicast works
-+        -->
-+        <jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
-+    </properties>
-+
-+    <profiles>
-+        <profile>
-+            <id>test</id>
-+            <activation>
-+                <activeByDefault>false</activeByDefault>
-+            </activation>
-+            <properties>
-+                <skipUnitTests>false</skipUnitTests>
-+            </properties>
-+        </profile>
-+     </profiles>
-+</project>
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 16d7264..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-create-pom-file.patch
diff --git a/debian/rules b/debian/rules
index bd6d0a2..f6a439b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,9 @@
 
 export JAVA_HOME=/usr/lib/jvm/default-java
 export CLASSPATH=$(shell for jar in `cat debian/classpath`; do echo -n "$${jar}:"; done)
-export DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog |grep Version|awk -F": " '{print $$2}'|sed -e 's/-.*//')
 
 %:
-	dh --with javahelper $@
+	dh $@ --with javahelper
 
 override_jh_build:
 	jh_build --javacopts="-source 1.5 -target 1.5" --javadoc-opts="-source 1.5" \
@@ -18,9 +17,4 @@ get-orig-source:
 		--no-symlink \
 		--destdir $(CURDIR)      \
 		--watchfile debian/watch \
-		--force-download \
-		--debug \
-		--download-version $(DEB_UPSTREAM_VERSION) \
-		--rename
-
-
+		--force-download
diff --git a/debian/watch b/debian/watch
index 19a71ed..20bcd8a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
 version=3
-# This watch file is not perfect. Better ideas are welcome.
-https://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate-jbosscache/3.6.8.Final/ \
-hibernate-jbosscache-(.+)-sources.jar debian debian/orig-tar.sh
+http://anonsvn.jboss.org/repos/hibernate/core/tags/ \
+hibernate-(3.3.[0-9]+.GA)/ debian debian/orig-tar.sh

-- 
hibernate-jbosscache: Integration of Hibernate with JBossCache



More information about the pkg-java-commits mailing list