Added jtharness-java package.
Guillaume Mazoyer
12 years ago
0 | jtharness (4.3.0-MR1-Rel-b23-1) unstable; urgency=low | |
1 | ||
2 | * Initial release (Closes: #628857). | |
3 | ||
4 | -- Guillaume Mazoyer <respawneral@gmail.com> Tue, 31 May 2011 12:56:01 -0500 |
0 | 7 |
0 | Source: jtharness | |
1 | Section: java | |
2 | Priority: optional | |
3 | Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> | |
4 | Uploaders: Guillaume Mazoyer <respawneral@gmail.com> | |
5 | Build-Depends: debhelper (>= 7.0.50~), javahelper | |
6 | Build-Depends-Indep: default-jdk, | |
7 | default-jdk-doc, | |
8 | ant, | |
9 | junit4, | |
10 | javahelp2, | |
11 | librxtx-java, | |
12 | libasm3-java, | |
13 | libservlet3.0-java | |
14 | Standards-Version: 3.9.2 | |
15 | Homepage: http://jtharness.java.net/ | |
16 | ||
17 | Package: libjtharness-java | |
18 | Architecture: all | |
19 | Depends: junit4, | |
20 | librxtx-java, | |
21 | libasm3-java, | |
22 | libservlet3.0-java, | |
23 | ${java:Depends}, | |
24 | ${misc:Depends} | |
25 | Description: jtharness | |
26 | The JT harness is a general purpose, fully-featured, flexible, and configurable | |
27 | test harness very well suited for most types of unit testing. Originally | |
28 | developed as a test harness to run TCK test suites, it has since evolved into a | |
29 | general purpose test platform. | |
30 | ||
31 | Package: libjtharness-java-doc | |
32 | Section: doc | |
33 | Architecture: all | |
34 | Depends: ${java:Depends}, ${misc:Depends} | |
35 | Suggests: libjtharness-java | |
36 | Description: jtharness (documentation) | |
37 | This is the javadoc for the libjtharness-java package. | |
38 | . | |
39 | The JT harness is a general purpose, fully-featured, flexible, and configurable | |
40 | test harness very well suited for most types of unit testing. Originally | |
41 | developed as a test harness to run TCK test suites, it has since evolved into a | |
42 | general purpose test platform. |
0 | Format: http://dep.debian.net/deps/dep5 | |
1 | Upstream-Name: jtharness | |
2 | Source: http://jtharness.java.net/ | |
3 | ||
4 | Files: * | |
5 | Copyright: Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. | |
6 | License: | |
7 | This code is free software; you can redistribute it and/or modify it | |
8 | under the terms of the GNU General Public License version 2 only, as | |
9 | published by the Free Software Foundation. Oracle designates this | |
10 | particular file as subject to the "Classpath" exception as provided | |
11 | by Oracle in the LICENSE file that accompanied this code. | |
12 | . | |
13 | This code is distributed in the hope that it will be useful, but WITHOUT | |
14 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 | version 2 for more details (a copy is included in the LICENSE file that | |
17 | accompanied this code). | |
18 | . | |
19 | You should have received a copy of the GNU General Public License version | |
20 | 2 along with this work; if not, write to the Free Software Foundation, | |
21 | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
22 | . | |
23 | Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | |
24 | or visit www.oracle.com if you need additional information or have any | |
25 | questions. | |
26 | . | |
27 | On Debian systems, the full text of the GNU General Public | |
28 | License version 2 can be found in the file | |
29 | `/usr/share/common-licenses/GPL-2'. | |
30 | ' | |
31 | "CLASSPATH" EXCEPTION TO THE GPL | |
32 | . | |
33 | Certain source files distributed by Oracle are subject to | |
34 | the following clarification and special exception to the GPL, but only where | |
35 | Oracle has expressly included in the particular source file's header the words | |
36 | "Oracle designates this particular file as subject to the "Classpath" exception | |
37 | as provided by Oracle in the LICENSE file that accompanied this code." | |
38 | . | |
39 | Linking this library statically or dynamically with other modules is making | |
40 | a combined work based on this library. Thus, the terms and conditions of | |
41 | the GNU General Public License cover the whole combination. | |
42 | . | |
43 | As a special exception, the copyright holders of this library give you | |
44 | permission to link this library with independent modules to produce an | |
45 | executable, regardless of the license terms of these independent modules, | |
46 | and to copy and distribute the resulting executable under terms of your | |
47 | choice, provided that you also meet, for each linked independent module, | |
48 | the terms and conditions of the license of that module. An independent | |
49 | module is a module which is not derived from or based on this library. If | |
50 | you modify this library, you may extend this exception to your version of | |
51 | the library, but you are not obligated to do so. If you do not wish to do | |
52 | so, delete this exception statement from your version. | |
53 | ||
54 | Files: debian/* | |
55 | Copyright: 2011 Guillaume Mazoyer <respawneral@gmail.com> | |
56 | License: GPL-2+ | |
57 | This package is free software; you can redistribute it and/or modify | |
58 | it under the terms of the GNU General Public License as published by | |
59 | the Free Software Foundation; either version 2 of the License, or | |
60 | (at your option) any later version. | |
61 | . | |
62 | This package is distributed in the hope that it will be useful, | |
63 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
64 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
65 | GNU General Public License for more details. | |
66 | . | |
67 | You should have received a copy of the GNU General Public License | |
68 | along with this program. If not, see <http://www.gnu.org/licenses/> | |
69 | . | |
70 | On Debian systems, the complete text of the GNU General | |
71 | Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". |
0 | jar-build/binaries/examples/tutorial /usr/share/doc/libjtharness-java/examples |
0 | jar-build/javadoc /usr/share/doc/libjtharness-java/api |
0 | ## Description: Locate JAR on the file systems | |
1 | ## Origin/Author: Guillaume Mazoyer | |
2 | ## Bug: bug URL | |
3 | Index: jtharness-4.3.0-MR1-Rel-b23/build/local.properties | |
4 | =================================================================== | |
5 | --- jtharness-4.3.0-MR1-Rel-b23.orig/build/local.properties 2011-06-06 15:26:02.064143117 -0500 | |
6 | +++ jtharness-4.3.0-MR1-Rel-b23/build/local.properties 2011-06-06 15:26:02.224143117 -0500 | |
7 | @@ -26,24 +26,24 @@ | |
8 | # | |
9 | ||
10 | #Please specify location of jhall.jar here - for compilation | |
11 | -jhalljar = /Users/work/lib/jhall.jar | |
12 | +jhalljar = /usr/share/java/jhall.jar | |
13 | ||
14 | # needed only at runtime | |
15 | -jhjar = /Users/work/lib/jh.jar | |
16 | +jhjar = /usr/share/java/jh.jar | |
17 | ||
18 | # location of jar with with implementation of java serial communications API | |
19 | -jcommjar = /Users/work/lib/comm.jar | |
20 | +jcommjar = /usr/share/java/RXTXcomm.jar | |
21 | ||
22 | # location of jar with servlet API implementation | |
23 | -servletjar = /Users/work/lib/servlet-api.jar | |
24 | +servletjar = /usr/share/java/tomcat-servlet-api-3.0.jar | |
25 | ||
26 | # bytecode library (BCEL or ASM) | |
27 | # these are not interchangable | |
28 | -bytecodelib = /Users/work/lib/asm-3.1.jar:/Users/work/lib/asm-commons-3.1.jar | |
29 | +bytecodelib = /usr/share/java/asm3.jar:/usr/share/java/asm3-commons.jar | |
30 | ||
31 | # JUnit Library - Version 4 currently used to compile 3 and 4 support | |
32 | -junitlib = /Users/work/lib/junit-4.4.jar | |
33 | +junitlib = /usr/share/java/junit4.jar | |
34 | ||
35 | # Please specify location where the build distribution (output) will be created | |
36 | -BUILD_DIR = ../JTHarness-build | |
37 | +BUILD_DIR = ./jar-build | |
38 |
0 | 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 | |
1 | --- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortAgentCommand.java 2011-05-30 11:44:46.000000000 -0500 | |
2 | +++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortAgentCommand.java 2011-05-31 12:50:30.042113241 -0500 | |
3 | @@ -28,8 +28,8 @@ | |
4 | ||
5 | import java.io.IOException; | |
6 | import java.io.PrintWriter; | |
7 | -import javax.comm.NoSuchPortException; | |
8 | -import javax.comm.PortInUseException; | |
9 | +import gnu.io.NoSuchPortException; | |
10 | +import gnu.io.PortInUseException; | |
11 | ||
12 | import com.sun.javatest.Command; | |
13 | import com.sun.javatest.ProductInfo; | |
14 | 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 | |
15 | --- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnectionFactory.java 2011-05-30 11:44:46.000000000 -0500 | |
16 | +++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnectionFactory.java 2011-05-31 12:49:56.442113234 -0500 | |
17 | @@ -27,9 +27,9 @@ | |
18 | package com.sun.javatest.agent; | |
19 | ||
20 | import java.io.IOException; | |
21 | -import javax.comm.CommPortIdentifier; | |
22 | -import javax.comm.NoSuchPortException; | |
23 | -import javax.comm.PortInUseException; | |
24 | +import gnu.io.CommPortIdentifier; | |
25 | +import gnu.io.NoSuchPortException; | |
26 | +import gnu.io.PortInUseException; | |
27 | ||
28 | /** | |
29 | * A factory for creating connections to be used by agents communicating | |
30 | 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 | |
31 | --- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnection.java 2011-05-30 11:44:46.000000000 -0500 | |
32 | +++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnection.java 2011-05-31 12:50:15.502113238 -0500 | |
33 | @@ -31,13 +31,13 @@ | |
34 | import java.io.InputStream; | |
35 | import java.io.OutputStream; | |
36 | import java.util.TooManyListenersException; | |
37 | -import javax.comm.CommPortIdentifier; | |
38 | -import javax.comm.NoSuchPortException; | |
39 | -import javax.comm.PortInUseException; | |
40 | -import javax.comm.SerialPort; | |
41 | -import javax.comm.SerialPortEvent; | |
42 | -import javax.comm.SerialPortEventListener; | |
43 | -import javax.comm.UnsupportedCommOperationException; | |
44 | +import gnu.io.CommPortIdentifier; | |
45 | +import gnu.io.NoSuchPortException; | |
46 | +import gnu.io.PortInUseException; | |
47 | +import gnu.io.SerialPort; | |
48 | +import gnu.io.SerialPortEvent; | |
49 | +import gnu.io.SerialPortEventListener; | |
50 | +import gnu.io.UnsupportedCommOperationException; | |
51 | ||
52 | /** | |
53 | * A connection via a serial port. | |
54 | 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 | |
55 | --- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortModeOptions.java 2011-05-30 11:44:46.000000000 -0500 | |
56 | +++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortModeOptions.java 2011-05-31 12:49:36.710113228 -0500 | |
57 | @@ -31,8 +31,8 @@ | |
58 | import java.awt.Label; | |
59 | import java.util.Enumeration; | |
60 | import java.util.Vector; | |
61 | -import javax.comm.CommPortIdentifier; | |
62 | -import javax.comm.NoSuchPortException; | |
63 | +import gnu.io.CommPortIdentifier; | |
64 | +import gnu.io.NoSuchPortException; | |
65 | ||
66 | ||
67 | // The functionality of SerialPortModeOptions is split in two, to cope |
0 | #!/usr/bin/make -f | |
1 | ||
2 | JAVA_HOME = /usr/lib/jvm/default-java | |
3 | ||
4 | override_dh_auto_build: | |
5 | ant -f build/build.xml | |
6 | ||
7 | %: | |
8 | dh $@ --with javahelper |
0 | 3.0 (quilt) |