Codebase list xmlunit / 6258da7
[svn-inject] Applying Debian modifications to trunk Ludovic Claude 14 years ago
16 changed file(s) with 212 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0
1 * Generate the documentation in a separate package.
2 At the moment, generation of the user manual with docbook fails.
0 xmlunit (1.2-0ubuntu1~ppa5) karmic; urgency=low
1
2 * Initial release. (Closes: #539770)
3
4 -- Ludovic Claude <ludovic.claude@laposte.net> Wed, 29 Jul 2009 19:27:09 +0100
0 Source: xmlunit
1 Section: java
2 Priority: optional
3 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
4 Uploaders: Ludovic Claude <ludovic.claude@laposte.net>
5 Homepage: http://xmlunit.sourceforge.net/
6 Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant, ant-optional, maven-ant-helper, quilt, dblatex
7 Build-Depends-Indep: maven-repo-helper, junit, libjaxp1.3-java, docbook-xsl, libxalan2-java (>= 2.7.1)
8 Standards-Version: 3.8.2
9
10 Package: libxmlunit-java
11 Architecture: all
12 Section: java
13 Depends: ${misc:Depends}, junit, libjaxp1.3-java
14 Description: A library that enables unit testing of XML
15 XMLUnit extends JUnit and NUnit to enable unit testing of XML.
16 It compares a control XML document to a test document or the result of a
17 transformation, validates documents, and compares the results of XPath
18 expressions.
19
20 Package: libxmlunit-java-doc
21 Architecture: all
22 Section: doc
23 Depends: ${misc:Depends}, openjdk-6-doc | classpath-doc
24 Description: Documentation for XMLUnit
25 XMLUnit extends JUnit and NUnit to enable unit testing of XML.
26 It compares a control XML document to a test document or the result of a
27 transformation, validates documents, and compares the results of XPath
28 expressions.
29 .
30 This package provides the API and user documentation for XMLUnit.
0 Format-Specification: http://dep.debian.net/deps/dep5/
1 Name: XMLUnit
2 Maintainer: Jeff Martin, Tim Bacon
3 Source: http://xmlunit.sourceforge.net/
4
5 Files: *
6 Copyright: 2001-2007, Jeff Martin, Tim Bacon
7 License: BSD
8
9 Files: debian/*
10 Copyright: 2009, Ludovic Claude <ludovic.claude@laposte.net>
11 License: GPL-3+
12
13 License: BSD
14 On Debian GNU/Linux system you can find the complete text of the
15 BSD license in '/usr/share/common-licenses/BSD'.
16 Replace 'The Regents of the University of California' by
17 'Jeff Martin, Tim Bacon' and 'the University' by
18 'xmlunit.sourceforge.net'
19
20 License: GPL-3
21 On Debian GNU/Linux system you can find the complete text of the
22 GNU General Public License version 3 license in
23 '/usr/share/common-licenses/GPL-3'.
24
0 Document: libxmlunit-java
1 Title: Programmer API for XMLUnit
2 Author: Jeff Martin, Tim Bacon, Stefan Bodewig
3 Abstract: Java API for XMLUnit, a library that enables JUnit-style
4 assertions to be made about the content and structure of XML.
5 Section: Programming
6
7 Format: HTML
8 Index: /usr/share/doc/libxmlunit-java/api/index.html
9 Files: /usr/share/doc/libxmlunit-java/api/*
0 Document: libxmlunit-java-doc
1 Title: User guide for XMLUnit
2 Author: Jeff Martin, Tim Bacon, Stefan Bodewig
3 Abstract: User guide for XMLUnit, a library that enables JUnit-style
4 assertions to be made about the content and structure of XML.
5 Section: Programming
6
7 Format: HTML
8 Index: /usr/share/doc/libxmlunit-java-doc/userguide/html/index.html
9 Files: /usr/share/doc/libxmlunit-java-doc/userguide/html/*
0 build/doc/api usr/share/doc/libxmlunit-java
1 build/doc/userguide usr/share/doc/libxmlunit-java-doc
2 build/doc/*.html usr/share/doc/libxmlunit-java-doc
3 build/doc/*.png usr/share/doc/libxmlunit-java-doc
4
0 usr/share/doc/libxmlunit-java/api usr/share/doc/libxmlunit-java-doc/api
1
0 build/lib/xmlunit.pom --no-parent
0 --- a/build.xml
1 +++ b/build.xml
2 @@ -164,7 +164,6 @@
3 <report format="frames" todir="${test.report.dir}/html"/>
4 </junitreport>
5
6 - <fail if="tests.failed">Some tests failed</fail>
7 </target>
8
9 <target name="docs"
0 --- a/src/user-guide/XMLUnit-Java.xml
1 +++ b/src/user-guide/XMLUnit-Java.xml
2 @@ -1,5 +1,5 @@
3 <?xml version="1.0" encoding="utf-8"?>
4 -<!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.1b1//EN" "http://docbook.org/xml/simple/1.1b1/sdocbook.dtd">
5 +<!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.1b1//EN" "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
6
7 <article>
8 <title>XMLUnit Java User's Guide
0 docbook.patch
1 build.patch
0 <?xml version="1.0"?>
1 <!--
2 Copyright (c) 2007-2008, Jeff Martin, Tim Bacon
3 All rights reserved.
4
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
7 are met:
8
9 * Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
11 * Redistributions in binary form must reproduce the above
12 copyright notice, this list of conditions and the following
13 disclaimer in the documentation and/or other materials provided
14 with the distribution.
15 * Neither the name of the xmlunit.sourceforge.net nor the names
16 of its contributors may be used to endorse or promote products
17 derived from this software without specific prior written
18 permission.
19
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 POSSIBILITY OF SUCH DAMAGE.
32 -->
33
34 <!--
35
36 This POM is not usable as means to build XMLUnit with Maven2, it is
37 a minimal POM to allow XMLUnit's artifacts to be added to a Maven
38 repository.
39
40 -->
41 <project>
42 <modelVersion>4.0.0</modelVersion>
43 <groupId>xmlunit</groupId>
44 <artifactId>xmlunit</artifactId>
45 <packaging>jar</packaging>
46 <name>XMLUnit for Java</name>
47 <version>1.2</version>
48 <url>http://xmlunit.sourceforge.net/</url>
49 <description>XMLUnit compares a control XML document to a test document or the result of a transformation, validates documents, and compares the results of XPath expressions.</description>
50 <licenses>
51 <license>
52 <name>BSD License</name>
53 <url>http://xmlunit.svn.sourceforge.net/viewvc/*checkout*/xmlunit/trunk/xmlunit/LICENSE.txt</url>
54 </license>
55 </licenses>
56 <scm>
57 <url>http://xmlunit.svn.sourceforge.net/viewvc/xmlunit/</url>
58 </scm>
59 <dependencies>
60 <dependency>
61 <groupId>junit</groupId>
62 <artifactId>junit</artifactId>
63 <version>3.8.2</version>
64 <optional>true</optional>
65 </dependency>
66 </dependencies>
67 </project>
0 #!/usr/bin/make -f
1
2 include /usr/share/cdbs/1/rules/debhelper.mk
3 include /usr/share/cdbs/1/class/ant.mk
4 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
5
6 PACKAGE := $(DEB_SOURCE_PACKAGE)
7 VERSION := $(DEB_UPSTREAM_VERSION)
8 JAVA_HOME := /usr/lib/jvm/default-java
9 DEB_JARS := ant-nodeps ant-junit ant-trax junit jaxp-1.3 xalan2
10 DEB_ANT_BUILD_TARGET := jar test docs
11 DEB_ANT_BUILDFILE := build.xml
12 DEB_ANT_ARGS := -Dxmlunit.version=$(VERSION) -Ddb5.xsl=/usr/share/xml/docbook/stylesheet/nwalsh
13
14 get-orig-source:
15 -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack
16
17 binary-post-install/lib$(PACKAGE)-java::
18 cp build/lib/xmlunit-$(VERSION).pom build/lib/xmlunit.pom
19 mh_installpoms -plib$(PACKAGE)-java
20 mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml build/lib/xmlunit-$(VERSION).jar
21
22 clean::
23 -rm -rf debian/tmp
24
25 get-orig-pom:
26 wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/xmlunit/xmlunit/$(VERSION)/xmlunit-$(VERSION).pom
27
0 version=3
1 http://sf.net/xmlunit/xmlunit-([0-9\.]*)-src\.zip