debian/0000755000000000000000000000000011615734313007172 5ustar debian/copyright0000644000000000000000000000701211573476226011136 0ustar 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 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 . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/rules0000755000000000000000000000021011573476226010254 0ustar #!/usr/bin/make -f JAVA_HOME = /usr/lib/jvm/default-java override_dh_auto_build: ant -f build/build.xml %: dh $@ --with javahelper debian/source/0000755000000000000000000000000011573476226010503 5ustar debian/source/format0000644000000000000000000000001411573476226011711 0ustar 3.0 (quilt) debian/libjtharness-java-doc.install0000644000000000000000000000011711573476226014744 0ustar jar-build/binaries/examples/tutorial /usr/share/doc/libjtharness-java/examples debian/patches/0000755000000000000000000000000011615734313010621 5ustar debian/patches/series0000644000000000000000000000004711615734313012037 0ustar 01_imports.patch 02_dependencies.patch debian/patches/01_imports.patch0000644000000000000000000000656011615734313013646 0ustar ## Description: Replace imports. ## Origin/Author: Tom Marble ## Bug: bug URL Index: jtharness-4.4.0-MR1-Rel-b19/src/com/sun/javatest/agent/SerialPortAgentCommand.java =================================================================== --- jtharness-4.4.0-MR1-Rel-b19.orig/src/com/sun/javatest/agent/SerialPortAgentCommand.java 2011-08-01 18:16:11.692070426 +0200 +++ jtharness-4.4.0-MR1-Rel-b19/src/com/sun/javatest/agent/SerialPortAgentCommand.java 2011-08-01 18:13:11.619177489 +0200 @@ -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; Index: jtharness-4.4.0-MR1-Rel-b19/src/com/sun/javatest/agent/SerialPortConnection.java =================================================================== --- jtharness-4.4.0-MR1-Rel-b19.orig/src/com/sun/javatest/agent/SerialPortConnection.java 2011-08-01 18:16:11.824071075 +0200 +++ jtharness-4.4.0-MR1-Rel-b19/src/com/sun/javatest/agent/SerialPortConnection.java 2011-08-01 18:15:32.479875987 +0200 @@ -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. Index: jtharness-4.4.0-MR1-Rel-b19/src/com/sun/javatest/agent/SerialPortConnectionFactory.java =================================================================== --- jtharness-4.4.0-MR1-Rel-b19.orig/src/com/sun/javatest/agent/SerialPortConnectionFactory.java 2011-08-01 18:16:12.188072889 +0200 +++ jtharness-4.4.0-MR1-Rel-b19/src/com/sun/javatest/agent/SerialPortConnectionFactory.java 2011-08-01 18:13:47.755356687 +0200 @@ -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 Index: jtharness-4.4.0-MR1-Rel-b19/src/com/sun/javatest/agent/SerialPortModeOptions.java =================================================================== --- jtharness-4.4.0-MR1-Rel-b19.orig/src/com/sun/javatest/agent/SerialPortModeOptions.java 2011-08-01 18:16:12.324073559 +0200 +++ jtharness-4.4.0-MR1-Rel-b19/src/com/sun/javatest/agent/SerialPortModeOptions.java 2011-08-01 18:16:09.832061201 +0200 @@ -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 debian/patches/02_dependencies.patch0000644000000000000000000000254411615734313014576 0ustar ## Description: Locate JAR on the system. ## Origin/Author: Guillaume Mazoyer ## Bug: bug URL Index: jtharness-4.4.0-MR1-Rel-b19/build/local.properties =================================================================== --- jtharness-4.4.0-MR1-Rel-b19.orig/build/local.properties 2011-08-01 18:04:57.592727744 +0200 +++ jtharness-4.4.0-MR1-Rel-b19/build/local.properties 2011-08-01 18:04:56.056720129 +0200 @@ -26,24 +26,24 @@ # #Please specify location of jhall.jar here - for compilation -jhalljar = jhall.jar +jhalljar = /usr/share/java/jhall.jar # needed only at runtime -jhjar = jh.jar +jhjar = /usr/share/java/jh.jar # location of jar with with implementation of java serial communications API -jcommjar = comm.jar +jcommjar = /usr/share/java/RXTXcomm.jar # location of jar with servlet API implementation -servletjar = servlet-api.jar +servletjar = /usr/share/java/tomcat-servlet-api-3.0.jar # bytecode library (BCEL or ASM) # these are not interchangable -bytecodelib = asm-3.1.jar: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 = 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 debian/changelog0000644000000000000000000000074111615734313011046 0ustar jtharness (4.4.0-MR1-Rel-b19-1) unstable; urgency=low * New upstream relase. * debian/control: Add Vcs-Svn field. * debian/patches/01_imports.patch: Update patch. * debian/patches/02_dependencies.patch: Update patch. -- Guillaume Mazoyer Mon, 01 Aug 2011 17:45:44 +0200 jtharness (4.3.0-MR1-Rel-b23-1) unstable; urgency=low * Initial release (Closes: #628857). -- Guillaume Mazoyer Tue, 31 May 2011 12:56:01 -0500 debian/compat0000644000000000000000000000000211573476226010401 0ustar 7 debian/watch0000644000000000000000000000024411573507645010234 0ustar version=3 opts=uversionmangle=s/_([^-]+)/.$1.0/;s/bin/Rel/ \ http://download.java.net/jtharness/download.html .*/jtharness-(.*)-.*\.zip \ debian debian/orig-tar.sh debian/libjtharness-java-doc.javadoc0000644000000000000000000000006711573476226014711 0ustar jar-build/javadoc /usr/share/doc/libjtharness-java/api debian/control0000644000000000000000000000311211615734313010572 0ustar Source: jtharness Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Guillaume Mazoyer 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/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjtharness/ 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. debian/libjtharness-java.jlibs0000644000000000000000000000011011573476226013627 0ustar jar-build/binaries/lib/javatest.jar jar-build/binaries/lib/jt-junit.jar debian/orig-tar.sh0000755000000000000000000000107611573504761011266 0ustar #!/bin/sh SOURCE=$(dpkg-parsechangelog | sed -ne 's,Source: \(.*\),\1,p') VERSION=$(dpkg-parsechangelog | sed -ne 's,^Version: \(.*\)-.*,\1,p') echo $VERSION UNDERSCOREVERSION=$( echo $VERSION | sed 's/\./_/g') FILE=$3 TAR=../${SOURCE}_${VERSION}.orig.tar.bz2 DIR=$SOURCE-$VERSION svn co https://svn.java.net/svn/jtharness~svn/tags/$SOURCE-$UNDERSCOREVERSION/code/ $DIR tar -jcf $TAR --exclude '*.svn*' $DIR rm -rf $DIR $FILE # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi exit 0