[pkg-java] r13762 - in trunk: . libjtharness-java libjtharness-java/debian libjtharness-java/debian/patches libjtharness-java/debian/source

Guillaume Mazoyer gmazoyer-guest at alioth.debian.org
Tue Jun 7 19:18:54 UTC 2011


Author: gmazoyer-guest
Date: 2011-06-07 19:18:54 +0000 (Tue, 07 Jun 2011)
New Revision: 13762

Added:
   trunk/libjtharness-java/
   trunk/libjtharness-java/debian/
   trunk/libjtharness-java/debian/changelog
   trunk/libjtharness-java/debian/compat
   trunk/libjtharness-java/debian/control
   trunk/libjtharness-java/debian/copyright
   trunk/libjtharness-java/debian/libjtharness-java-doc.install
   trunk/libjtharness-java/debian/libjtharness-java-doc.javadoc
   trunk/libjtharness-java/debian/libjtharness-java.jlibs
   trunk/libjtharness-java/debian/patches/
   trunk/libjtharness-java/debian/patches/dependencies.diff
   trunk/libjtharness-java/debian/patches/rxtx.diff
   trunk/libjtharness-java/debian/patches/series
   trunk/libjtharness-java/debian/rules
   trunk/libjtharness-java/debian/source/
   trunk/libjtharness-java/debian/source/format
Log:
Added jtharness-java package.


Added: trunk/libjtharness-java/debian/changelog
===================================================================
--- trunk/libjtharness-java/debian/changelog	                        (rev 0)
+++ trunk/libjtharness-java/debian/changelog	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1,5 @@
+jtharness (4.3.0-MR1-Rel-b23-1) unstable; urgency=low
+
+  * Initial release (Closes: #628857).
+
+ -- Guillaume Mazoyer <respawneral at gmail.com>  Tue, 31 May 2011 12:56:01 -0500

Added: trunk/libjtharness-java/debian/compat
===================================================================
--- trunk/libjtharness-java/debian/compat	                        (rev 0)
+++ trunk/libjtharness-java/debian/compat	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1 @@
+7

Added: trunk/libjtharness-java/debian/control
===================================================================
--- trunk/libjtharness-java/debian/control	                        (rev 0)
+++ trunk/libjtharness-java/debian/control	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1,43 @@
+Source: jtharness
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Guillaume Mazoyer <respawneral at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), javahelper
+Build-Depends-Indep: default-jdk,
+                     default-jdk-doc,
+                     ant,
+                     junit4,
+                     javahelp2,
+                     librxtx-java,
+                     libasm3-java,
+                     libservlet3.0-java
+Standards-Version: 3.9.2
+Homepage: http://jtharness.java.net/
+
+Package: libjtharness-java
+Architecture: all
+Depends: junit4,
+         librxtx-java,
+         libasm3-java,
+         libservlet3.0-java,
+         ${java:Depends},
+         ${misc:Depends}
+Description: jtharness
+ The JT harness is a general purpose, fully-featured, flexible, and configurable
+ test harness very well suited for most types of unit testing. Originally
+ developed as a test harness to run TCK test suites, it has since evolved into a
+ general purpose test platform.
+
+Package: libjtharness-java-doc
+Section: doc
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Suggests: libjtharness-java
+Description: jtharness (documentation)
+ This is the javadoc for the libjtharness-java package.
+ .
+ The JT harness is a general purpose, fully-featured, flexible, and configurable
+ test harness very well suited for most types of unit testing. Originally
+ developed as a test harness to run TCK test suites, it has since evolved into a
+ general purpose test platform.

Added: trunk/libjtharness-java/debian/copyright
===================================================================
--- trunk/libjtharness-java/debian/copyright	                        (rev 0)
+++ trunk/libjtharness-java/debian/copyright	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1,72 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: jtharness
+Source: http://jtharness.java.net/
+
+Files: *
+Copyright: Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
+License:
+ This code is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License version 2 only, as
+ published by the Free Software Foundation.  Oracle designates this
+ particular file as subject to the "Classpath" exception as provided
+ by Oracle in the LICENSE file that accompanied this code.
+ .
+ This code 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 General Public License
+ version 2 for more details (a copy is included in the LICENSE file that
+ accompanied this code).
+ .
+ You should have received a copy of the GNU General Public License version
+ 2 along with this work; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ or visit www.oracle.com if you need additional information or have any
+ questions.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+ '
+ "CLASSPATH" EXCEPTION TO THE GPL
+ .
+ Certain source files distributed by Oracle are subject to
+ the following clarification and special exception to the GPL, but only where
+ Oracle has expressly included in the particular source file's header the words
+ "Oracle designates this particular file as subject to the "Classpath" exception
+ as provided by Oracle in the LICENSE file that accompanied this code."
+ .
+  Linking this library statically or dynamically with other modules is making
+  a combined work based on this library.  Thus, the terms and conditions of
+  the GNU General Public License cover the whole combination.
+ .
+  As a special exception, the copyright holders of this library give you
+  permission to link this library with independent modules to produce an
+  executable, regardless of the license terms of these independent modules,
+  and to copy and distribute the resulting executable under terms of your
+  choice, provided that you also meet, for each linked independent module,
+  the terms and conditions of the license of that module.  An independent
+  module is a module which is not derived from or based on this library.  If
+  you modify this library, you may extend this exception to your version of
+  the library, but you are not obligated to do so.  If you do not wish to do
+  so, delete this exception statement from your version.
+
+Files: debian/*
+Copyright: 2011 Guillaume Mazoyer <respawneral at gmail.com>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

Added: trunk/libjtharness-java/debian/libjtharness-java-doc.install
===================================================================
--- trunk/libjtharness-java/debian/libjtharness-java-doc.install	                        (rev 0)
+++ trunk/libjtharness-java/debian/libjtharness-java-doc.install	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1 @@
+jar-build/binaries/examples/tutorial /usr/share/doc/libjtharness-java/examples

Added: trunk/libjtharness-java/debian/libjtharness-java-doc.javadoc
===================================================================
--- trunk/libjtharness-java/debian/libjtharness-java-doc.javadoc	                        (rev 0)
+++ trunk/libjtharness-java/debian/libjtharness-java-doc.javadoc	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1 @@
+jar-build/javadoc /usr/share/doc/libjtharness-java/api

Added: trunk/libjtharness-java/debian/libjtharness-java.jlibs
===================================================================
--- trunk/libjtharness-java/debian/libjtharness-java.jlibs	                        (rev 0)
+++ trunk/libjtharness-java/debian/libjtharness-java.jlibs	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1,2 @@
+jar-build/binaries/lib/javatest.jar
+jar-build/binaries/lib/jt-junit.jar

Added: trunk/libjtharness-java/debian/patches/dependencies.diff
===================================================================
--- trunk/libjtharness-java/debian/patches/dependencies.diff	                        (rev 0)
+++ trunk/libjtharness-java/debian/patches/dependencies.diff	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1,39 @@
+## Description: Locate JAR on the file systems
+## Origin/Author: Guillaume Mazoyer
+## Bug: bug URL
+Index: jtharness-4.3.0-MR1-Rel-b23/build/local.properties
+===================================================================
+--- jtharness-4.3.0-MR1-Rel-b23.orig/build/local.properties	2011-06-06 15:26:02.064143117 -0500
++++ jtharness-4.3.0-MR1-Rel-b23/build/local.properties	2011-06-06 15:26:02.224143117 -0500
+@@ -26,24 +26,24 @@
+ #
+ 
+ #Please specify location of jhall.jar here - for compilation
+-jhalljar = /Users/work/lib/jhall.jar
++jhalljar = /usr/share/java/jhall.jar
+ 
+ # needed only at runtime
+-jhjar = /Users/work/lib/jh.jar
++jhjar = /usr/share/java/jh.jar
+ 
+ # location of jar with with implementation of java serial communications API
+-jcommjar = /Users/work/lib/comm.jar
++jcommjar = /usr/share/java/RXTXcomm.jar
+ 
+ # location of jar with servlet API implementation
+-servletjar = /Users/work/lib/servlet-api.jar
++servletjar = /usr/share/java/tomcat-servlet-api-3.0.jar
+ 
+ # bytecode library (BCEL or ASM)
+ # these are not interchangable
+-bytecodelib = /Users/work/lib/asm-3.1.jar:/Users/work/lib/asm-commons-3.1.jar
++bytecodelib = /usr/share/java/asm3.jar:/usr/share/java/asm3-commons.jar
+ 
+ # JUnit Library - Version 4 currently used to compile 3 and 4 support
+-junitlib = /Users/work/lib/junit-4.4.jar
++junitlib = /usr/share/java/junit4.jar
+ 
+ # Please specify location where the build distribution (output) will be created
+-BUILD_DIR = ../JTHarness-build
++BUILD_DIR = ./jar-build
+ 

Added: trunk/libjtharness-java/debian/patches/rxtx.diff
===================================================================
--- trunk/libjtharness-java/debian/patches/rxtx.diff	                        (rev 0)
+++ trunk/libjtharness-java/debian/patches/rxtx.diff	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1,68 @@
+diff -Naur jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortAgentCommand.java jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortAgentCommand.java
+--- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortAgentCommand.java	2011-05-30 11:44:46.000000000 -0500
++++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortAgentCommand.java	2011-05-31 12:50:30.042113241 -0500
+@@ -28,8 +28,8 @@
+ 
+ import java.io.IOException;
+ import java.io.PrintWriter;
+-import javax.comm.NoSuchPortException;
+-import javax.comm.PortInUseException;
++import gnu.io.NoSuchPortException;
++import gnu.io.PortInUseException;
+ 
+ import com.sun.javatest.Command;
+ import com.sun.javatest.ProductInfo;
+diff -Naur jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnectionFactory.java jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnectionFactory.java
+--- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnectionFactory.java	2011-05-30 11:44:46.000000000 -0500
++++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnectionFactory.java	2011-05-31 12:49:56.442113234 -0500
+@@ -27,9 +27,9 @@
+ package com.sun.javatest.agent;
+ 
+ import java.io.IOException;
+-import javax.comm.CommPortIdentifier;
+-import javax.comm.NoSuchPortException;
+-import javax.comm.PortInUseException;
++import gnu.io.CommPortIdentifier;
++import gnu.io.NoSuchPortException;
++import gnu.io.PortInUseException;
+ 
+ /**
+  * A factory for creating connections to be used by agents communicating
+diff -Naur jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnection.java jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnection.java
+--- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnection.java	2011-05-30 11:44:46.000000000 -0500
++++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnection.java	2011-05-31 12:50:15.502113238 -0500
+@@ -31,13 +31,13 @@
+ import java.io.InputStream;
+ import java.io.OutputStream;
+ import java.util.TooManyListenersException;
+-import javax.comm.CommPortIdentifier;
+-import javax.comm.NoSuchPortException;
+-import javax.comm.PortInUseException;
+-import javax.comm.SerialPort;
+-import javax.comm.SerialPortEvent;
+-import javax.comm.SerialPortEventListener;
+-import javax.comm.UnsupportedCommOperationException;
++import gnu.io.CommPortIdentifier;
++import gnu.io.NoSuchPortException;
++import gnu.io.PortInUseException;
++import gnu.io.SerialPort;
++import gnu.io.SerialPortEvent;
++import gnu.io.SerialPortEventListener;
++import gnu.io.UnsupportedCommOperationException;
+ 
+ /** 
+  * A connection via a serial port.
+diff -Naur jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortModeOptions.java jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortModeOptions.java
+--- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortModeOptions.java	2011-05-30 11:44:46.000000000 -0500
++++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortModeOptions.java	2011-05-31 12:49:36.710113228 -0500
+@@ -31,8 +31,8 @@
+ import java.awt.Label;
+ import java.util.Enumeration;
+ import java.util.Vector;
+-import javax.comm.CommPortIdentifier;
+-import javax.comm.NoSuchPortException;
++import gnu.io.CommPortIdentifier;
++import gnu.io.NoSuchPortException;
+ 
+ 
+ // The functionality of SerialPortModeOptions is split in two, to cope

Added: trunk/libjtharness-java/debian/patches/series
===================================================================
--- trunk/libjtharness-java/debian/patches/series	                        (rev 0)
+++ trunk/libjtharness-java/debian/patches/series	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1,2 @@
+rxtx.diff
+dependencies.diff

Added: trunk/libjtharness-java/debian/rules
===================================================================
--- trunk/libjtharness-java/debian/rules	                        (rev 0)
+++ trunk/libjtharness-java/debian/rules	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+JAVA_HOME = /usr/lib/jvm/default-java
+
+override_dh_auto_build:
+	ant -f build/build.xml
+
+%:
+	dh $@ --with javahelper


Property changes on: trunk/libjtharness-java/debian/rules
___________________________________________________________________
Added: svn:executable
   + 

Added: trunk/libjtharness-java/debian/source/format
===================================================================
--- trunk/libjtharness-java/debian/source/format	                        (rev 0)
+++ trunk/libjtharness-java/debian/source/format	2011-06-07 19:18:54 UTC (rev 13762)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the pkg-java-commits mailing list