Added XMLUnit 1.2 as we've already got many other build-only third-parties in lib/build and adding XMLUnit makes FOP easier to set up in an IDE. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738478 13f79535-47bb-0310-9956-ffa450edef68tags/fop-1_0
<echo message="${jce.message}"/> | <echo message="${jce.message}"/> | ||||
<available property="jdk14.present" classname="java.lang.CharSequence"/> | <available property="jdk14.present" classname="java.lang.CharSequence"/> | ||||
<fail message="${Name} requires at least Java 1.4!" unless="jdk14.present"/> | <fail message="${Name} requires at least Java 1.4!" unless="jdk14.present"/> | ||||
<available property="junit.present" classname="junit.framework.TestCase" classpathref="libs-build-classpath"/> | |||||
<available property="junit.present" classname="junit.framework.TestCase" classpathref="libs-build-tools-classpath"/> | |||||
<condition property="junit.message" value="JUnit Support PRESENT"> | <condition property="junit.message" value="JUnit Support PRESENT"> | ||||
<equals arg1="${junit.present}" arg2="true"/> | <equals arg1="${junit.present}" arg2="true"/> | ||||
</condition> | </condition> | ||||
<echo message="${junit.message}"/> | <echo message="${junit.message}"/> | ||||
<condition property="xmlunit.present"> | <condition property="xmlunit.present"> | ||||
<and> | <and> | ||||
<available classname="org.custommonkey.xmlunit.XMLTestCase" classpathref="libs-build-classpath"/> | |||||
<available classname="org.custommonkey.xmlunit.XMLTestCase" classpathref="libs-build-tools-classpath"/> | |||||
<isset property="junit.present"/> | <isset property="junit.present"/> | ||||
</and> | </and> | ||||
</condition> | </condition> | ||||
<formatter type="xml" usefile="true"/> | <formatter type="xml" usefile="true"/> | ||||
<classpath> | <classpath> | ||||
<pathelement location="${build.dir}/test-classes"/> | <pathelement location="${build.dir}/test-classes"/> | ||||
<path refid="libs-build-classpath"/> | |||||
<path refid="libs-build-tools-classpath"/> | |||||
<fileset dir="build"> | <fileset dir="build"> | ||||
<include name="fop.jar"/> | <include name="fop.jar"/> | ||||
</fileset> | </fileset> |
Note: This is not the same as JAI! Only the ImageIO-compatible codecs | Note: This is not the same as JAI! Only the ImageIO-compatible codecs | ||||
are packaged as "Image I/O Tools". The name may be misleading. | are packaged as "Image I/O Tools". The name may be misleading. | ||||
- JAI (Java Advanced Imaging API) | |||||
- JAI (Java Advanced Imaging API) | |||||
http://java.sun.com/products/java-media/jai | http://java.sun.com/products/java-media/jai | ||||
Java Research License and Java Distribution License (Check which one applies to you!) | Java Research License and Java Distribution License (Check which one applies to you!) | ||||
http://www.junit.org | http://www.junit.org | ||||
Common Public License V1.0 | Common Public License V1.0 | ||||
- XMLUnit (optional) | |||||
- XMLUnit | |||||
(not bundled, to be added to your Apache Ant installation) | |||||
lib/build/xmlunit-*.jar | |||||
(based on JUnit, used for testing) | |||||
http://xmlunit.sourceforge.net/ | http://xmlunit.sourceforge.net/ | ||||
BSD style license | BSD style license | ||||
- QDox | |||||
lib/build/qdox-*.jar | |||||
(used by the processing feedback mechanism, not needed at runtime) | |||||
http://qdox.codehaus.org/ | |||||
Apache License V2.0 | |||||
Additional build-time dependencies | |||||
------------------------------------------- | |||||
These libraries are needed during the build only and | |||||
not at runtime. | |||||
- PMD | |||||
lib/build/pmd14-*.jar | |||||
(used for a code quality report) | |||||
http://pmd.sourceforge.net/ | |||||
BSD style license | |||||
- Jaxen | |||||
lib/build/jaxen-*.jar | |||||
(required by PMD) | |||||
http://jaxen.codehaus.org/ | |||||
BSD style license | |||||
- Retroweaver | |||||
(currently used only to verify Java 1.4 compatibility) | |||||
http://retroweaver.sourceforge.net | |||||
BSD style license | |||||
- ASM | |||||
lib/build/asm-*.jar | |||||
(required by Retroweaver) | |||||
http://asm.objectweb.org | |||||
BSD style license | |||||
- backport-util-concurrent | |||||
lib/build/backport-util-concurrent-*.jar | |||||
(required by Retroweaver) | |||||
http://backport-jsr166.sourceforge.net/ | |||||
in public domain |
/* | |||||
****************************************************************** | |||||
Copyright (c) 2001-2007, Jeff Martin, Tim Bacon | |||||
All rights reserved. | |||||
Redistribution and use in source and binary forms, with or without | |||||
modification, are permitted provided that the following conditions | |||||
are met: | |||||
* Redistributions of source code must retain the above copyright | |||||
notice, this list of conditions and the following disclaimer. | |||||
* Redistributions in binary form must reproduce the above | |||||
copyright notice, this list of conditions and the following | |||||
disclaimer in the documentation and/or other materials provided | |||||
with the distribution. | |||||
* Neither the name of the xmlunit.sourceforge.net nor the names | |||||
of its contributors may be used to endorse or promote products | |||||
derived from this software without specific prior written | |||||
permission. | |||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |||||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |||||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |||||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |||||
POSSIBILITY OF SUCH DAMAGE. | |||||
****************************************************************** | |||||
*/ | |||||