[pkg-java] r12518 - in trunk/dom4j: . dom4j
Torsten Werner
twerner at alioth.debian.org
Thu May 27 20:08:14 UTC 2010
Author: twerner
Date: 2010-05-27 20:08:08 +0000 (Thu, 27 May 2010)
New Revision: 12518
Added:
trunk/dom4j/LICENSE.txt
trunk/dom4j/build.xml
trunk/dom4j/debian/
trunk/dom4j/docs/
trunk/dom4j/dom4j-1.6.1.jar
trunk/dom4j/lib/
trunk/dom4j/maven.xml
trunk/dom4j/project.properties
trunk/dom4j/project.xml
trunk/dom4j/src/
trunk/dom4j/xdocs/
trunk/dom4j/xml/
Removed:
trunk/dom4j/dom4j/LICENSE.txt
trunk/dom4j/dom4j/build.xml
trunk/dom4j/dom4j/debian/
trunk/dom4j/dom4j/docs/
trunk/dom4j/dom4j/dom4j-1.6.1.jar
trunk/dom4j/dom4j/lib/
trunk/dom4j/dom4j/maven.xml
trunk/dom4j/dom4j/project.properties
trunk/dom4j/dom4j/project.xml
trunk/dom4j/dom4j/src/
trunk/dom4j/dom4j/xdocs/
trunk/dom4j/dom4j/xml/
Log:
move all files one level up
Copied: trunk/dom4j/LICENSE.txt (from rev 12516, trunk/dom4j/dom4j/LICENSE.txt)
===================================================================
--- trunk/dom4j/LICENSE.txt (rev 0)
+++ trunk/dom4j/LICENSE.txt 2010-05-27 20:08:08 UTC (rev 12518)
@@ -0,0 +1,40 @@
+Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
+
+Redistribution and use of this software and associated documentation
+("Software"), with or without modification, are permitted provided
+that the following conditions are met:
+
+1. Redistributions of source code must retain copyright
+ statements and notices. Redistributions must also contain a
+ copy of this document.
+
+2. 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.
+
+3. The name "DOM4J" must not be used to endorse or promote
+ products derived from this Software without prior written
+ permission of MetaStuff, Ltd. For written permission,
+ please contact dom4j-info at metastuff.com.
+
+4. Products derived from this Software may not be called "DOM4J"
+ nor may "DOM4J" appear in their names without prior written
+ permission of MetaStuff, Ltd. DOM4J is a registered
+ trademark of MetaStuff, Ltd.
+
+5. Due credit should be given to the DOM4J Project -
+ http://www.dom4j.org
+
+THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESSED 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
+METASTUFF, LTD. OR ITS 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.
Copied: trunk/dom4j/build.xml (from rev 12516, trunk/dom4j/dom4j/build.xml)
===================================================================
--- trunk/dom4j/build.xml (rev 0)
+++ trunk/dom4j/build.xml 2010-05-27 20:08:08 UTC (rev 12518)
@@ -0,0 +1,723 @@
+<project default="usage" basedir=".">
+
+ <path id="compile.classpath">
+ <fileset dir="./lib/endorsed">
+ <include name="*.jar" />
+ </fileset>
+ <fileset dir="./lib">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
+ <path id="endorsed.classpath">
+ <fileset dir="./lib/endorsed">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
+ <path id="test.classpath">
+ <fileset dir="/usr/share/java">
+ <include name="backport-util-concurrent.jar" />
+ <include name="jaxen.jar" />
+ <include name="junitperf.jar" />
+ <include name="xalan2.jar" />
+ <include name="xercesImpl.jar" />
+ <include name="xpp3.jar" />
+ </fileset>
+ </path>
+
+ <path id="samples.classpath">
+ <fileset dir="./lib/tools">
+ <include name="**/*.jar" />
+ </fileset>
+ <path refid="test.classpath" />
+ <pathelement location="."/>
+ </path>
+
+ <!-- =================================================================== -->
+ <!-- Initialization target -->
+ <!-- =================================================================== -->
+ <target name="init">
+ <tstamp/>
+ <property name="Name" value="dom4j"/>
+ <property name="name" value="dom4j"/>
+ <property name="version" value="1.6.1"/>
+ <property name="year" value="2005"/>
+
+ <echo message="----------- ${Name} ${version} [${year}] ------------"/>
+
+ <property name="debug" value="on"/>
+ <property name="optimize" value="on"/>
+ <property name="deprecation" value="off"/>
+
+ <property name="src.dir" value="./src/java"/>
+ <property name="conf.dir" value="./src/conf"/>
+ <property name="doc.dir" value="./src/doc"/>
+ <property name="samples.dir" value="./src/samples"/>
+ <property name="test.dir" value="./src/test"/>
+ <property name="lib.dir" value="./lib"/>
+ <property name="packages" value="org.*"/>
+ <property name="api.packages" value="org.dom4j,org.dom4j.dtd,org.dom4j.io,org.dom4j.rule,org.dom4j.datatype,org.dom4j.util"/>
+
+ <property name="build.dir" value="./build"/>
+ <property name="build.src" value="./build/src"/>
+ <property name="build.dest" value="./build/classes"/>
+ <property name="build.doc" value="./build/doc"/>
+ <property name="build.apidocs" value="./build/doc/apidocs"/>
+ <property name="build.javadocs" value="./build/doc/javadoc"/>
+ <property name="build.generated.src" value="./build/generated"/>
+
+ <property name="xml.format.options" value="-indentSize 2 -trimText -newlines"/>
+
+ <filter token="year" value="${year}"/>
+ <filter token="version" value="${version}"/>
+ <filter token="date" value="${TODAY}"/>
+ <filter token="log" value="true"/>
+ <filter token="verbose" value="true"/>
+
+ <!-- Gump support -->
+ <property name="jaxen.src" value="../jaxen/jaxen/src/java/main"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Help on usage -->
+ <!-- =================================================================== -->
+ <target name="usage">
+ <echo message=""/>
+ <echo message=""/>
+ <echo message="dom4j build file"/>
+ <echo message="-------------------------------------------------------------"/>
+ <echo message=""/>
+ <echo message=" available targets are:"/>
+ <echo message=""/>
+ <echo message=" all --> cleans then builds everything (default)"/>
+ <echo message=" package --> generates the dom4j.jar file"/>
+ <echo message=" compile --> compiles the source code"/>
+ <echo message=" api --> generates the API documentation"/>
+ <echo message=" javadoc --> generates the full JavaDoc documentation"/>
+ <echo message=" clean --> cleans up the directory"/>
+ <echo message=" test --> builds and runs the unit tests"/>
+ <echo message=" demo-all --> runs the main standard sample programs"/>
+ <echo message=""/>
+ <echo message="-------------------------------------------------------------"/>
+ <echo message=""/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Prepares the build directory -->
+ <!-- =================================================================== -->
+ <target name="prepare" depends="init">
+ <mkdir dir="${build.dir}"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Prepares the source code -->
+ <!-- =================================================================== -->
+ <target name="prepare-src" depends="prepare">
+ <!-- create directories -->
+ <mkdir dir="${build.src}"/>
+ <mkdir dir="${build.dest}"/>
+
+ <!-- copy src files -->
+ <copy todir="${build.src}">
+ <!--fileset dir="${src.dir}" excludes="org/dom4j/persistence/**"/-->
+ <fileset dir="${src.dir}"/>
+ </copy>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Prepares the example code -->
+ <!-- =================================================================== -->
+ <target name="prepare-samples" depends="prepare">
+ <!-- create directories -->
+ <mkdir dir="${build.src}"/>
+ <mkdir dir="${build.dest}"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Compiles the source directory -->
+ <!-- =================================================================== -->
+ <target name="compile" depends="prepare-src">
+ <javac srcdir="${build.src}"
+ destdir="${build.dest}"
+ debug="${debug}"
+ optimize="${optimize}"
+ target="1.3"
+ source="1.3"
+ deprecation="${deprecation}"
+ classpathref="compile.classpath">
+ <exclude name="org/dom4j/datatype/**"/>
+ <exclude name="org/dom4j/io/STAXEventReader.java"/>
+ <exclude name="org/dom4j/io/STAXEventWriter.java"/>
+ </javac>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Compiles the test directory -->
+ <!-- =================================================================== -->
+ <target name="compile-test" depends="compile">
+ <javac srcdir="${test.dir}"
+ destdir="${build.dest}"
+ debug="${debug}"
+ optimize="${optimize}"
+ deprecation="${deprecation}"
+ classpathref="test.classpath">
+ <exclude name="org/dom4j/datatype/**"/>
+ <exclude name="org/dom4j/io/StaxTest.java"/>
+ </javac>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Compiles the samples directory -->
+ <!-- =================================================================== -->
+ <target name="samples" depends="compile,prepare-samples,prepare-jaxb">
+ <javac srcdir="src/samples"
+ destdir="${build.dest}"
+ debug="${debug}"
+ optimize="${optimize}"
+ classpathref="samples.classpath">
+ </javac>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the class package -->
+ <!-- =================================================================== -->
+ <target name="package" depends="compile">
+ <jar jarfile="${build.dir}/${name}.jar"
+ basedir="${build.dest}"
+ includes="org/dom4j/**"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the API documentation -->
+ <!-- =================================================================== -->
+ <target name="javadoc" depends="prepare-src">
+ <mkdir dir="${build.javadocs}"/>
+ <javadoc packagenames="${packages}"
+ sourcepath="${build.src}"
+ destdir="${build.javadocs}"
+ author="true"
+ version="true"
+ use="true"
+ splitindex="true"
+ noindex="false"
+ windowtitle="${Name} Full JavaDoc"
+ doctitle="${Name}"
+ bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />"
+ stylesheetfile="${doc.dir}/style/javadoc.css">
+ </javadoc>
+ </target>
+
+
+ <!-- JavaDoc generated by a release which links to JDK and JAXP Javadoc -->
+ <target name="release-javadoc" depends="prepare-src">
+ <mkdir dir="${build.javadocs}"/>
+ <javadoc packagenames="${packages}"
+ sourcepath="${build.src}"
+ destdir="${build.javadocs}"
+ author="true"
+ version="true"
+ use="true"
+ splitindex="true"
+ noindex="false"
+ windowtitle="${Name} Full JavaDoc"
+ doctitle="${Name}"
+ bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />"
+ stylesheetfile="${doc.dir}/style/javadoc.css">
+ <link href="file:///usr/share/doc/classpath-doc/api"/>
+ </javadoc>
+
+ <mkdir dir="${build.apidocs}"/>
+ <javadoc packagenames="${api.packages}"
+ sourcepath="${build.src}"
+ destdir="${build.apidocs}"
+ author="true"
+ version="true"
+ use="true"
+ splitindex="true"
+ noindex="false"
+ windowtitle="${Name} API"
+ doctitle="${Name}"
+ bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />"
+ stylesheetfile="${doc.dir}/style/javadoc.css">
+ <link href="file:///usr/share/doc/classpath-doc/api"/>
+ <link href="${build.javadocs}"/>
+ </javadoc>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Support for a Gump build -->
+ <!-- =================================================================== -->
+ <target name="gump" depends="prepare-gump, test, package">
+ </target>
+
+ <target name="prepare-gump" depends="init">
+ <!-- create directories -->
+ <mkdir dir="${build.src}"/>
+
+ <!-- copy src files -->
+ <copy todir="${build.src}">
+ <fileset dir="${jaxen.src}" includes="org/jaxen/dom4j/**"/>
+ </copy>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Clean targets -->
+ <!-- =================================================================== -->
+ <target name="clean" depends="init">
+ <delete dir="${build.dir}"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Unit Testing Targets -->
+ <!-- =================================================================== -->
+ <target name="test" depends="compile-test">
+ <mkdir dir="${build.dir}/test-results/xml"/>
+ <junit printsummary="yes" haltonfailure="yes">
+ <formatter type="xml"/>
+
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="test.classpath" />
+ </classpath>
+
+ <sysproperty key="org.xml.sax.driver"
+ value="org.apache.xerces.parsers.SAXParser"/>
+
+ <batchtest fork="yes" todir="${build.dir}/test-results/xml">
+ <fileset dir="${test.dir}">
+ <include name="**/*Test.java" />
+ <exclude name="**/AllTests.java" />
+ <exclude name="**/Abstract*.java" />
+ <exclude name="**/TestCase.java" />
+ <exclude name="**/StaxTest.java" />
+ <exclude name="**/datatype/*Test.java" />
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="test-report" depends="test">
+ <mkdir dir="${build.dir}/test-results"/>
+ <junitreport todir="${build.dir}/test-results">
+ <fileset dir="${build.dir}/test-results/xml">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames" todir="${build.dir}/test-results/html"/>
+ </junitreport>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Helper targets -->
+ <!-- =================================================================== -->
+ <target name="all" depends="clean,package,javadoc">
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Run sample programs -->
+ <!-- =================================================================== -->
+ <target name="demo-sax" depends="samples">
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/web.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/cdata.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/testPI.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/test/test_schema.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="prepare-jaxb" depends="prepare-samples">
+ <path id="classpath.jaxb">
+ <pathelement location="./lib/tools/jaxme-0.3.jar"/>
+ <pathelement location="./lib/tools/jaxme-js-0.3.jar"/>
+ <pathelement location="./lib/tools/jaxme-xs-0.3.jar"/>
+ <pathelement location="./lib/jaxme-api-0.3.jar"/>
+ </path>
+
+ <taskdef name="xjc" classname="org.apache.ws.jaxme.generator.XJCTask">
+ <classpath refid="classpath.jaxb" />
+ </taskdef>
+
+ <mkdir dir="${build.generated.src}"/>
+
+ <xjc schema="xml/jaxb/primer.xsd" target="${build.generated.src}" package="org.dom4j.test.primer">
+ <produces dir="${build.generated.src}" />
+ </xjc>
+
+ <javac destdir="${build.dest}">
+ <src path="${build.generated.src}"/>
+ <classpath>
+ <path refid="classpath.jaxb"/>
+ <!--path refid="test.classpath"/-->
+ </classpath>
+ </javac>
+
+ <copy todir="${build.dest}">
+ <fileset dir="${build.generated.src}">
+ <include name="**/jaxb.properties" />
+ <include name="**/Configuration.xml" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="demo-jaxb" depends="samples">
+ <java classname="org.dom4j.samples.jaxb.JAXBDemo" >
+ <classpath>
+ <path refid="classpath.jaxb" />
+ <path refid="samples.classpath" />
+ <pathelement location="${build.dest}" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-pull" depends="samples">
+ <java classname="org.dom4j.samples.PullParserDemo" args="${xml.format.options} xml/web.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ <java classname="org.dom4j.samples.PullParserDemo" args="${xml.format.options} xml/fibo.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-sax2" depends="samples">
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/xhtml/xhtml-basic.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-sax-contents" depends="samples">
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/contents.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-sax-cdata" depends="samples">
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/cdata.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/cdata.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/>
+ </java>
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/cdata.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ <sysproperty key="org.xml.sax.driver" value="xml.aelfred2.SAXDriver"/>
+ </java>
+ </target>
+
+ <target name="demo-sax-pi" depends="samples">
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/testPI.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-sax-ns" depends="samples">
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/namespaces.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/testNamespaces.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-saxall" depends="demo-sax,demo-sax-contents,demo-sax-cdata,demo-sax-pi,demo-sax-ns">
+ <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/inline.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-dom" depends="samples">
+ <java classname="org.dom4j.samples.dom.DOMDemo" args="xml/contents.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-saxdom" depends="samples">
+ <java classname="org.dom4j.samples.dom.SAXDOMDemo" args="xml/contents.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-jtidy" depends="samples">
+ <java classname="org.dom4j.samples.JTidyDemo" args="${xml.format.options} readme.html">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-visitor" depends="samples">
+ <java classname="org.dom4j.samples.VisitorDemo" args="xml/cdata.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-count" depends="samples">
+ <java classname="org.dom4j.samples.CountDemo" args="xml/fibo.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-create" depends="samples">
+ <java classname="org.dom4j.samples.CreateXMLDemo">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-html" depends="samples">
+ <java classname="org.dom4j.samples.HTMLWriterDemo" args="xml/xhtml.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="test-performance" depends="samples">
+ <java classname="org.dom4j.samples.PerformanceTest" args="xml/periodic_table.xml org.dom4j.DocumentFactory 10">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+
+ <java classname="org.dom4j.samples.PerformanceTest" args="xml/periodic_table.xml org.dom4j.DocumentFactory 10">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/>
+ </java>
+
+ <java classname="org.dom4j.samples.PerformanceTest" args="xml/periodic_table.xml org.dom4j.DocumentFactory 10">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ <sysproperty key="org.xml.sax.driver" value="xml.aelfred2.SAXDriver"/>
+ </java>
+
+ <java classname="org.dom4j.samples.PerformanceTest" args="xml/much_ado.xml org.dom4j.DocumentFactory 10">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+
+ <java classname="org.dom4j.samples.PerformanceTest" args="xml/much_ado.xml org.dom4j.DocumentFactory 10">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/>
+ </java>
+
+ <java classname="org.dom4j.samples.PerformanceTest" args="xml/much_ado.xml org.dom4j.DocumentFactory 10">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ <sysproperty key="org.xml.sax.driver" value="xml.aelfred2.SAXDriver"/>
+ </java>
+ </target>
+
+ <target name="demo-xpath" depends="samples">
+ <java classname="org.dom4j.samples.XPathDemo" args="xml/web.xml //servlet/servlet-class">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ <java classname="org.dom4j.samples.XPathDemo" args="xml/much_ado.xml //ACT/TITLE">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-xslt" depends="samples">
+ <java classname="org.dom4j.samples.XSLTDemo" args="xml/nitf/sample.xml xml/nitf/ashtml.xsl">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-domxslt" depends="samples">
+ <java classname="org.dom4j.samples.dom.XSLTNativeDOMDemo" args="xml/nitf/sample.xml xml/nitf/ashtml.xsl">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-bigdoc" depends="samples">
+ <java classname="org.dom4j.samples.LargeDocumentDemo" args="xml/much_ado.xml /PLAY/ACT">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-bigdoc2" depends="samples">
+ <java classname="org.dom4j.samples.LargeDocumentDemo2" args="xml/much_ado.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-link" depends="samples">
+ <java classname="org.dom4j.samples.LinkChecker" args="xml/xhtml/xhtml-basic.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-bean" depends="samples">
+ <java classname="org.dom4j.samples.bean.BeanDemo" args="xml/bean/gui.xml">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-validate" depends="samples">
+ <java classname="org.dom4j.samples.validate.XercesDemo" fork="yes">
+ <arg value="xml/schema/invalid.xml"/>
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-saxvalidate" depends="samples">
+ <java classname="org.dom4j.samples.validate.SAXValidatorDemo" fork="yes">
+ <arg value="xml/nitf/invalid.xml"/>
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-schema" depends="samples">
+ <java classname="org.dom4j.samples.VisitorDemo">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ <sysproperty key="org.dom4j.factory" value="org.dom4j.datatype.DatatypeDocumentFactory"/>
+ <arg line="xml/schema/personal-schema.xml"/>
+ </java>
+ </target>
+
+ <target name="demo-table" depends="samples">
+ <java classname="org.dom4j.samples.swing.JTableDemo" args="xml/web.xml" fork="yes">
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="demo-tabletool" depends="samples">
+ <java classname="org.dom4j.samples.swing.JTableTool" fork="yes">
+ <arg line="xml/swing/tableForAtoms.xml"/>
+ <arg line="xml/periodic_table.xml"/>
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+
+ <target name="demo-swing" depends="samples">
+ <java classname="org.dom4j.samples.swing.JTreeDemo" fork="true">
+ <arg line="xml/web.xml"/>
+ <classpath>
+ <pathelement location="${build.dest}" />
+ <path refid="samples.classpath" />
+ </classpath>
+ </java>
+ </target>
+
+
+ <target name="demo-all" depends="demo-sax,demo-visitor,demo-count,demo-xpath,demo-html,demo-schema"/>
+</project>
Deleted: trunk/dom4j/dom4j/LICENSE.txt
===================================================================
--- trunk/dom4j/dom4j/LICENSE.txt 2010-05-27 20:07:27 UTC (rev 12517)
+++ trunk/dom4j/dom4j/LICENSE.txt 2010-05-27 20:08:08 UTC (rev 12518)
@@ -1,40 +0,0 @@
-Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
-
-Redistribution and use of this software and associated documentation
-("Software"), with or without modification, are permitted provided
-that the following conditions are met:
-
-1. Redistributions of source code must retain copyright
- statements and notices. Redistributions must also contain a
- copy of this document.
-
-2. 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.
-
-3. The name "DOM4J" must not be used to endorse or promote
- products derived from this Software without prior written
- permission of MetaStuff, Ltd. For written permission,
- please contact dom4j-info at metastuff.com.
-
-4. Products derived from this Software may not be called "DOM4J"
- nor may "DOM4J" appear in their names without prior written
- permission of MetaStuff, Ltd. DOM4J is a registered
- trademark of MetaStuff, Ltd.
-
-5. Due credit should be given to the DOM4J Project -
- http://www.dom4j.org
-
-THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS
-``AS IS'' AND ANY EXPRESSED 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
-METASTUFF, LTD. OR ITS 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.
Deleted: trunk/dom4j/dom4j/build.xml
===================================================================
--- trunk/dom4j/dom4j/build.xml 2010-05-27 20:07:27 UTC (rev 12517)
+++ trunk/dom4j/dom4j/build.xml 2010-05-27 20:08:08 UTC (rev 12518)
@@ -1,723 +0,0 @@
-<project default="usage" basedir=".">
-
- <path id="compile.classpath">
- <fileset dir="./lib/endorsed">
- <include name="*.jar" />
- </fileset>
- <fileset dir="./lib">
- <include name="*.jar" />
- </fileset>
- </path>
-
- <path id="endorsed.classpath">
- <fileset dir="./lib/endorsed">
- <include name="*.jar" />
- </fileset>
- </path>
-
- <path id="test.classpath">
- <fileset dir="/usr/share/java">
- <include name="backport-util-concurrent.jar" />
- <include name="jaxen.jar" />
- <include name="junitperf.jar" />
- <include name="xalan2.jar" />
- <include name="xercesImpl.jar" />
- <include name="xpp3.jar" />
- </fileset>
- </path>
-
- <path id="samples.classpath">
- <fileset dir="./lib/tools">
- <include name="**/*.jar" />
- </fileset>
- <path refid="test.classpath" />
- <pathelement location="."/>
- </path>
-
- <!-- =================================================================== -->
- <!-- Initialization target -->
- <!-- =================================================================== -->
- <target name="init">
- <tstamp/>
- <property name="Name" value="dom4j"/>
- <property name="name" value="dom4j"/>
- <property name="version" value="1.6.1"/>
- <property name="year" value="2005"/>
-
- <echo message="----------- ${Name} ${version} [${year}] ------------"/>
-
- <property name="debug" value="on"/>
- <property name="optimize" value="on"/>
- <property name="deprecation" value="off"/>
-
- <property name="src.dir" value="./src/java"/>
- <property name="conf.dir" value="./src/conf"/>
- <property name="doc.dir" value="./src/doc"/>
- <property name="samples.dir" value="./src/samples"/>
- <property name="test.dir" value="./src/test"/>
- <property name="lib.dir" value="./lib"/>
- <property name="packages" value="org.*"/>
- <property name="api.packages" value="org.dom4j,org.dom4j.dtd,org.dom4j.io,org.dom4j.rule,org.dom4j.datatype,org.dom4j.util"/>
-
- <property name="build.dir" value="./build"/>
- <property name="build.src" value="./build/src"/>
- <property name="build.dest" value="./build/classes"/>
- <property name="build.doc" value="./build/doc"/>
- <property name="build.apidocs" value="./build/doc/apidocs"/>
- <property name="build.javadocs" value="./build/doc/javadoc"/>
- <property name="build.generated.src" value="./build/generated"/>
-
- <property name="xml.format.options" value="-indentSize 2 -trimText -newlines"/>
-
- <filter token="year" value="${year}"/>
- <filter token="version" value="${version}"/>
- <filter token="date" value="${TODAY}"/>
- <filter token="log" value="true"/>
- <filter token="verbose" value="true"/>
-
- <!-- Gump support -->
- <property name="jaxen.src" value="../jaxen/jaxen/src/java/main"/>
- </target>
-
- <!-- =================================================================== -->
- <!-- Help on usage -->
- <!-- =================================================================== -->
- <target name="usage">
- <echo message=""/>
- <echo message=""/>
- <echo message="dom4j build file"/>
- <echo message="-------------------------------------------------------------"/>
- <echo message=""/>
- <echo message=" available targets are:"/>
- <echo message=""/>
- <echo message=" all --> cleans then builds everything (default)"/>
- <echo message=" package --> generates the dom4j.jar file"/>
- <echo message=" compile --> compiles the source code"/>
- <echo message=" api --> generates the API documentation"/>
- <echo message=" javadoc --> generates the full JavaDoc documentation"/>
- <echo message=" clean --> cleans up the directory"/>
- <echo message=" test --> builds and runs the unit tests"/>
- <echo message=" demo-all --> runs the main standard sample programs"/>
- <echo message=""/>
- <echo message="-------------------------------------------------------------"/>
- <echo message=""/>
- </target>
-
- <!-- =================================================================== -->
- <!-- Prepares the build directory -->
- <!-- =================================================================== -->
- <target name="prepare" depends="init">
- <mkdir dir="${build.dir}"/>
- </target>
-
- <!-- =================================================================== -->
- <!-- Prepares the source code -->
- <!-- =================================================================== -->
- <target name="prepare-src" depends="prepare">
- <!-- create directories -->
- <mkdir dir="${build.src}"/>
- <mkdir dir="${build.dest}"/>
-
- <!-- copy src files -->
- <copy todir="${build.src}">
- <!--fileset dir="${src.dir}" excludes="org/dom4j/persistence/**"/-->
- <fileset dir="${src.dir}"/>
- </copy>
- </target>
-
- <!-- =================================================================== -->
- <!-- Prepares the example code -->
- <!-- =================================================================== -->
- <target name="prepare-samples" depends="prepare">
- <!-- create directories -->
- <mkdir dir="${build.src}"/>
- <mkdir dir="${build.dest}"/>
- </target>
-
- <!-- =================================================================== -->
- <!-- Compiles the source directory -->
- <!-- =================================================================== -->
- <target name="compile" depends="prepare-src">
- <javac srcdir="${build.src}"
- destdir="${build.dest}"
- debug="${debug}"
- optimize="${optimize}"
- target="1.3"
- source="1.3"
- deprecation="${deprecation}"
- classpathref="compile.classpath">
- <exclude name="org/dom4j/datatype/**"/>
- <exclude name="org/dom4j/io/STAXEventReader.java"/>
- <exclude name="org/dom4j/io/STAXEventWriter.java"/>
- </javac>
- </target>
-
- <!-- =================================================================== -->
- <!-- Compiles the test directory -->
- <!-- =================================================================== -->
- <target name="compile-test" depends="compile">
- <javac srcdir="${test.dir}"
- destdir="${build.dest}"
- debug="${debug}"
- optimize="${optimize}"
- deprecation="${deprecation}"
- classpathref="test.classpath">
- <exclude name="org/dom4j/datatype/**"/>
- <exclude name="org/dom4j/io/StaxTest.java"/>
- </javac>
- </target>
-
- <!-- =================================================================== -->
- <!-- Compiles the samples directory -->
- <!-- =================================================================== -->
- <target name="samples" depends="compile,prepare-samples,prepare-jaxb">
- <javac srcdir="src/samples"
- destdir="${build.dest}"
- debug="${debug}"
- optimize="${optimize}"
- classpathref="samples.classpath">
- </javac>
- </target>
-
- <!-- =================================================================== -->
- <!-- Creates the class package -->
- <!-- =================================================================== -->
- <target name="package" depends="compile">
- <jar jarfile="${build.dir}/${name}.jar"
- basedir="${build.dest}"
- includes="org/dom4j/**"/>
- </target>
-
- <!-- =================================================================== -->
- <!-- Creates the API documentation -->
- <!-- =================================================================== -->
- <target name="javadoc" depends="prepare-src">
- <mkdir dir="${build.javadocs}"/>
- <javadoc packagenames="${packages}"
- sourcepath="${build.src}"
- destdir="${build.javadocs}"
- author="true"
- version="true"
- use="true"
- splitindex="true"
- noindex="false"
- windowtitle="${Name} Full JavaDoc"
- doctitle="${Name}"
- bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />"
- stylesheetfile="${doc.dir}/style/javadoc.css">
- </javadoc>
- </target>
-
-
- <!-- JavaDoc generated by a release which links to JDK and JAXP Javadoc -->
- <target name="release-javadoc" depends="prepare-src">
- <mkdir dir="${build.javadocs}"/>
- <javadoc packagenames="${packages}"
- sourcepath="${build.src}"
- destdir="${build.javadocs}"
- author="true"
- version="true"
- use="true"
- splitindex="true"
- noindex="false"
- windowtitle="${Name} Full JavaDoc"
- doctitle="${Name}"
- bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />"
- stylesheetfile="${doc.dir}/style/javadoc.css">
- <link href="file:///usr/share/doc/classpath-doc/api"/>
- </javadoc>
-
- <mkdir dir="${build.apidocs}"/>
- <javadoc packagenames="${api.packages}"
- sourcepath="${build.src}"
- destdir="${build.apidocs}"
- author="true"
- version="true"
- use="true"
- splitindex="true"
- noindex="false"
- windowtitle="${Name} API"
- doctitle="${Name}"
- bottom="Copyright © ${year} MetaStuff Ltd. All Rights Reserved. Hosted by <p> <img src='http://sourceforge.net/sflogo.php?group_id=16035' width='88' height='31' border='0' alt='SourceForge Logo' />"
- stylesheetfile="${doc.dir}/style/javadoc.css">
- <link href="file:///usr/share/doc/classpath-doc/api"/>
- <link href="${build.javadocs}"/>
- </javadoc>
- </target>
-
- <!-- =================================================================== -->
- <!-- Support for a Gump build -->
- <!-- =================================================================== -->
- <target name="gump" depends="prepare-gump, test, package">
- </target>
-
- <target name="prepare-gump" depends="init">
- <!-- create directories -->
- <mkdir dir="${build.src}"/>
-
- <!-- copy src files -->
- <copy todir="${build.src}">
- <fileset dir="${jaxen.src}" includes="org/jaxen/dom4j/**"/>
- </copy>
- </target>
-
- <!-- =================================================================== -->
- <!-- Clean targets -->
- <!-- =================================================================== -->
- <target name="clean" depends="init">
- <delete dir="${build.dir}"/>
- </target>
-
- <!-- =================================================================== -->
- <!-- Unit Testing Targets -->
- <!-- =================================================================== -->
- <target name="test" depends="compile-test">
- <mkdir dir="${build.dir}/test-results/xml"/>
- <junit printsummary="yes" haltonfailure="yes">
- <formatter type="xml"/>
-
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="test.classpath" />
- </classpath>
-
- <sysproperty key="org.xml.sax.driver"
- value="org.apache.xerces.parsers.SAXParser"/>
-
- <batchtest fork="yes" todir="${build.dir}/test-results/xml">
- <fileset dir="${test.dir}">
- <include name="**/*Test.java" />
- <exclude name="**/AllTests.java" />
- <exclude name="**/Abstract*.java" />
- <exclude name="**/TestCase.java" />
- <exclude name="**/StaxTest.java" />
- <exclude name="**/datatype/*Test.java" />
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="test-report" depends="test">
- <mkdir dir="${build.dir}/test-results"/>
- <junitreport todir="${build.dir}/test-results">
- <fileset dir="${build.dir}/test-results/xml">
- <include name="TEST-*.xml"/>
- </fileset>
- <report format="frames" todir="${build.dir}/test-results/html"/>
- </junitreport>
- </target>
-
- <!-- =================================================================== -->
- <!-- Helper targets -->
- <!-- =================================================================== -->
- <target name="all" depends="clean,package,javadoc">
- </target>
-
- <!-- =================================================================== -->
- <!-- Run sample programs -->
- <!-- =================================================================== -->
- <target name="demo-sax" depends="samples">
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/web.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/cdata.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/testPI.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/test/test_schema.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="prepare-jaxb" depends="prepare-samples">
- <path id="classpath.jaxb">
- <pathelement location="./lib/tools/jaxme-0.3.jar"/>
- <pathelement location="./lib/tools/jaxme-js-0.3.jar"/>
- <pathelement location="./lib/tools/jaxme-xs-0.3.jar"/>
- <pathelement location="./lib/jaxme-api-0.3.jar"/>
- </path>
-
- <taskdef name="xjc" classname="org.apache.ws.jaxme.generator.XJCTask">
- <classpath refid="classpath.jaxb" />
- </taskdef>
-
- <mkdir dir="${build.generated.src}"/>
-
- <xjc schema="xml/jaxb/primer.xsd" target="${build.generated.src}" package="org.dom4j.test.primer">
- <produces dir="${build.generated.src}" />
- </xjc>
-
- <javac destdir="${build.dest}">
- <src path="${build.generated.src}"/>
- <classpath>
- <path refid="classpath.jaxb"/>
- <!--path refid="test.classpath"/-->
- </classpath>
- </javac>
-
- <copy todir="${build.dest}">
- <fileset dir="${build.generated.src}">
- <include name="**/jaxb.properties" />
- <include name="**/Configuration.xml" />
- </fileset>
- </copy>
- </target>
-
- <target name="demo-jaxb" depends="samples">
- <java classname="org.dom4j.samples.jaxb.JAXBDemo" >
- <classpath>
- <path refid="classpath.jaxb" />
- <path refid="samples.classpath" />
- <pathelement location="${build.dest}" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-pull" depends="samples">
- <java classname="org.dom4j.samples.PullParserDemo" args="${xml.format.options} xml/web.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- <java classname="org.dom4j.samples.PullParserDemo" args="${xml.format.options} xml/fibo.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-sax2" depends="samples">
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/xhtml/xhtml-basic.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-sax-contents" depends="samples">
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/contents.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-sax-cdata" depends="samples">
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/cdata.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/cdata.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/>
- </java>
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/cdata.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- <sysproperty key="org.xml.sax.driver" value="xml.aelfred2.SAXDriver"/>
- </java>
- </target>
-
- <target name="demo-sax-pi" depends="samples">
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/testPI.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-sax-ns" depends="samples">
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/namespaces.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/testNamespaces.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-saxall" depends="demo-sax,demo-sax-contents,demo-sax-cdata,demo-sax-pi,demo-sax-ns">
- <java classname="org.dom4j.samples.SAXDemo" args="${xml.format.options} xml/inline.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-dom" depends="samples">
- <java classname="org.dom4j.samples.dom.DOMDemo" args="xml/contents.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-saxdom" depends="samples">
- <java classname="org.dom4j.samples.dom.SAXDOMDemo" args="xml/contents.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-jtidy" depends="samples">
- <java classname="org.dom4j.samples.JTidyDemo" args="${xml.format.options} readme.html">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-visitor" depends="samples">
- <java classname="org.dom4j.samples.VisitorDemo" args="xml/cdata.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-count" depends="samples">
- <java classname="org.dom4j.samples.CountDemo" args="xml/fibo.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-create" depends="samples">
- <java classname="org.dom4j.samples.CreateXMLDemo">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-html" depends="samples">
- <java classname="org.dom4j.samples.HTMLWriterDemo" args="xml/xhtml.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="test-performance" depends="samples">
- <java classname="org.dom4j.samples.PerformanceTest" args="xml/periodic_table.xml org.dom4j.DocumentFactory 10">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
-
- <java classname="org.dom4j.samples.PerformanceTest" args="xml/periodic_table.xml org.dom4j.DocumentFactory 10">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/>
- </java>
-
- <java classname="org.dom4j.samples.PerformanceTest" args="xml/periodic_table.xml org.dom4j.DocumentFactory 10">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- <sysproperty key="org.xml.sax.driver" value="xml.aelfred2.SAXDriver"/>
- </java>
-
- <java classname="org.dom4j.samples.PerformanceTest" args="xml/much_ado.xml org.dom4j.DocumentFactory 10">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
-
- <java classname="org.dom4j.samples.PerformanceTest" args="xml/much_ado.xml org.dom4j.DocumentFactory 10">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/>
- </java>
-
- <java classname="org.dom4j.samples.PerformanceTest" args="xml/much_ado.xml org.dom4j.DocumentFactory 10">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- <sysproperty key="org.xml.sax.driver" value="xml.aelfred2.SAXDriver"/>
- </java>
- </target>
-
- <target name="demo-xpath" depends="samples">
- <java classname="org.dom4j.samples.XPathDemo" args="xml/web.xml //servlet/servlet-class">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- <java classname="org.dom4j.samples.XPathDemo" args="xml/much_ado.xml //ACT/TITLE">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-xslt" depends="samples">
- <java classname="org.dom4j.samples.XSLTDemo" args="xml/nitf/sample.xml xml/nitf/ashtml.xsl">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-domxslt" depends="samples">
- <java classname="org.dom4j.samples.dom.XSLTNativeDOMDemo" args="xml/nitf/sample.xml xml/nitf/ashtml.xsl">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-bigdoc" depends="samples">
- <java classname="org.dom4j.samples.LargeDocumentDemo" args="xml/much_ado.xml /PLAY/ACT">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-bigdoc2" depends="samples">
- <java classname="org.dom4j.samples.LargeDocumentDemo2" args="xml/much_ado.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-link" depends="samples">
- <java classname="org.dom4j.samples.LinkChecker" args="xml/xhtml/xhtml-basic.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-bean" depends="samples">
- <java classname="org.dom4j.samples.bean.BeanDemo" args="xml/bean/gui.xml">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-validate" depends="samples">
- <java classname="org.dom4j.samples.validate.XercesDemo" fork="yes">
- <arg value="xml/schema/invalid.xml"/>
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-saxvalidate" depends="samples">
- <java classname="org.dom4j.samples.validate.SAXValidatorDemo" fork="yes">
- <arg value="xml/nitf/invalid.xml"/>
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-schema" depends="samples">
- <java classname="org.dom4j.samples.VisitorDemo">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- <sysproperty key="org.dom4j.factory" value="org.dom4j.datatype.DatatypeDocumentFactory"/>
- <arg line="xml/schema/personal-schema.xml"/>
- </java>
- </target>
-
- <target name="demo-table" depends="samples">
- <java classname="org.dom4j.samples.swing.JTableDemo" args="xml/web.xml" fork="yes">
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="demo-tabletool" depends="samples">
- <java classname="org.dom4j.samples.swing.JTableTool" fork="yes">
- <arg line="xml/swing/tableForAtoms.xml"/>
- <arg line="xml/periodic_table.xml"/>
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
-
- <target name="demo-swing" depends="samples">
- <java classname="org.dom4j.samples.swing.JTreeDemo" fork="true">
- <arg line="xml/web.xml"/>
- <classpath>
- <pathelement location="${build.dest}" />
- <path refid="samples.classpath" />
- </classpath>
- </java>
- </target>
-
-
- <target name="demo-all" depends="demo-sax,demo-visitor,demo-count,demo-xpath,demo-html,demo-schema"/>
-</project>
Deleted: trunk/dom4j/dom4j/dom4j-1.6.1.jar
===================================================================
(Binary files differ)
Deleted: trunk/dom4j/dom4j/maven.xml
===================================================================
--- trunk/dom4j/dom4j/maven.xml 2010-05-27 20:07:27 UTC (rev 12517)
+++ trunk/dom4j/dom4j/maven.xml 2010-05-27 20:08:08 UTC (rev 12518)
@@ -1,54 +0,0 @@
-<project default="dist:build-bin"
- xmlns:j="jelly:core"
- xmlns:ant="jelly:ant"
- xmlns:doc="doc"
- xmlns:maven="jelly:maven" >
-
- <!-- define the classpath used to run examples -->
- <goal name="create-classpath" prereqs="java:compile,test:compile">
- <path id="test.classpath">
- <pathelement path="${maven.build.dest}"/>
- <pathelement path="target/classes"/>
- <pathelement path="target/test-classes"/>
- <pathelement path="src/"/>
- <path refid="maven.dependency.classpath"/>
- </path>
- </goal>
-
- <postGoal name="clean:clean">
- <delete>
- <fileset dir="${basedir}" includes="junit*.properties"/>
- <fileset dir="${basedir}" includes="javadoc*"/>
- </delete>
- </postGoal>
-
- <postGoal name="dist:prepare-bin-filesystem">
- <ant:copy todir="${maven.dist.bin.assembly.dir}">
- <fileset dir=".">
- <include name="build.xml" />
- <include name="maven.xml" />
- <include name="project.properties" />
- <include name="project.xml" />
- <include name="LICENSE*" />
- <include name="lib/**" />
- <include name="src/**" />
- <include name="xdocs/**" />
- <include name="xml/**" />
- </fileset>
- </ant:copy>
- <ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
- <fileset dir="target/docs"/>
- </ant:copy>
- </postGoal>
-
- <postGoal name="dist:prepare-src-filesystem">
- <ant:copy todir="${maven.dist.src.assembly.dir}/lib">
- <fileset dir="lib"/>
- </ant:copy>
- </postGoal>
-
- <preGoal name="site">
- <attainGoal name="docbook:transform"/>
- </preGoal>
-
-</project>
Deleted: trunk/dom4j/dom4j/project.properties
===================================================================
--- trunk/dom4j/dom4j/project.properties 2010-05-27 20:07:27 UTC (rev 12517)
+++ trunk/dom4j/dom4j/project.properties 2010-05-27 20:08:08 UTC (rev 12518)
@@ -1,61 +0,0 @@
-# -------------------------------------------------------------------
-# P R O J E C T P R O P E R T I E S
-# -------------------------------------------------------------------
-maven.repo.remote=http://www.ibiblio.org/maven
-
-maven.junit.fork=true
-
-maven.compile.debug = on
-maven.compile.optimize = off
-maven.compile.deprecation = on
-maven.compile.target = 1.3
-maven.compile.source = 1.3
-
-maven.jarResources.basedir = ${basedir}/src/java
-
-# ------------------------------------------------------------------------
-# M A V E N J A R O V E R R I D E
-# ------------------------------------------------------------------------
-maven.jar.override = on
-
-# ------------------------------------------------------------------------
-# J A L O P Y S E T T I N G S
-# ------------------------------------------------------------------------
-maven.jalopy.style = jalopy.xml
-maven.jalopy.filesetExclude = org/dom4j/tree/ConcurrentReaderHashMap.java
-
-maven.checkstyle.properties = ${basedir}/checkstyle.xml
-maven.checkstyle.excludes = org/dom4j/tree/ConcurrentReaderHashMap.java
-
-# ------------------------------------------------------------------------
-# Jars set explicity by path.
-# ------------------------------------------------------------------------
-maven.jar.stax = ${basedir}/lib/jsr173_1.0_api.jar
-maven.jar.stax-ri = ${basedir}/lib/test/jsr173_1.0_ri.jar
-maven.jar.pull-parser = ${basedir}/lib/pull-parser-2.1.10.jar
-
-# -------------------------------------------------------------------
-# J A V A D O C P R O P E R T I E S
-# -------------------------------------------------------------------
-
-# Display the date on the Maven web site
-maven.xdoc.date = left
-
-# Display the maven version the web site is documenting
-maven.xdoc.version = ${pom.currentVersion}
-
-maven.javadoc.links = http://java.sun.com/j2se/1.3/docs/api/, http://java.sun.com/xml/jaxp/dist/1.1/docs/api/
-
-# -------------------------------------------------------------------
-# D O C P R O P E R T I E S
-# -------------------------------------------------------------------
-
-maven.ui.banner.background = #fff
-maven.ui.banner.foreground = #000
-
-
-# -------------------------------------------------------------------
-# C L O V E R P R O P E R T I E S
-# -------------------------------------------------------------------
-maven.clover.license.path = ${basedir}/lib/tools/clover.license
-maven.clover.excludes = org/dom4j/persistence/**
\ No newline at end of file
Deleted: trunk/dom4j/dom4j/project.xml
===================================================================
--- trunk/dom4j/dom4j/project.xml 2010-05-27 20:07:27 UTC (rev 12517)
+++ trunk/dom4j/dom4j/project.xml 2010-05-27 20:08:08 UTC (rev 12518)
@@ -1,298 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project>
- <pomVersion>3</pomVersion>
- <name>dom4j</name>
- <id>dom4j</id>
- <currentVersion>1.6.1</currentVersion>
-
- <organization>
- <name>MetaStuff Ltd.</name>
- <url>http://sourceforge.net/projects/dom4j</url>
- <logo>http://sourceforge.net/sflogo.php?group_id=16035</logo>
- </organization>
- <logo>/images/logo.gif</logo>
-
- <inceptionYear>2001</inceptionYear>
-
- <package>org.dom4j</package>
- <packageGroups>
- <packageGroup>
- <title>Core Developer API</title>
- <packages>org.dom4j,org.dom4j.io</packages>
- </packageGroup>
- <packageGroup>
- <title>Utility classes</title>
- <packages>org.dom4j.util</packages>
- </packageGroup>
- <packageGroup>
- <title>XRule engine for declarative XSLT style processing</title>
- <packages>org.dom4j.rule,org.dom4j.rule.*</packages>
- </packageGroup>
- <packageGroup>
- <title>Alternative dom4j implementations</title>
- <packages>org.dom4j.datatype,org.dom4j.dom,org.dom4j.bean</packages>
- </packageGroup>
- <packageGroup>
- <title>Swing helper classes</title>
- <packages>org.dom4j.swing</packages>
- </packageGroup>
- <packageGroup>
- <title>Implementation classes</title>
- <packages>org.dom4j.tree,org.dom4j.dtd,org.dom4j.xpp,org.dom4j.xpath</packages>
- </packageGroup>
- </packageGroups>
-
-
- <shortDescription>dom4j : XML framework for Java</shortDescription>
- <gumpRepositoryId>dom4j</gumpRepositoryId>
-
- <description>dom4j: the flexible XML framework for Java</description>
- <url>http://dom4j.org</url>
-
- <cvsWebUrl>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dom4j/dom4j/</cvsWebUrl>
- <cvsModule>dom4j/dom4j</cvsModule>
- <issueTrackingUrl>http://sourceforge.net/tracker/?group_id=16035</issueTrackingUrl>
-
- <siteAddress>dom4j.org</siteAddress>
- <siteDirectory>/home/groups/d/do/dom4j/htdocs</siteDirectory>
-
- <repository>
- <connection>scm:cvs:pserver:anonymous at cvs.sourceforge.net:/cvsroot/dom4j:dom4j</connection>
- <developerConnection>scm:cvs:ext:${maven.username}@cvs.sourceforge.net:/cvsroot/dom4j:dom4j</developerConnection>
- <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dom4j/dom4j/</url>
- </repository>
-
- <branches>
- <branch>
- <tag>DOM4J_1_X_BRANCH</tag>
- </branch>
- </branches>
-
- <mailingLists>
-
- <mailingList>
- <name>dom4j user list</name>
- <subscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-user</subscribe>
- <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-user</unsubscribe>
- <archive>http://www.mail-archive.com/dom4j-user%40lists.sourceforge.net/</archive>
- </mailingList>
-
- <mailingList>
- <name>dom4j developer list</name>
- <subscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-dev</subscribe>
- <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-dev</unsubscribe>
- <archive>http://www.mail-archive.com/dom4j-dev%40lists.sourceforge.net/</archive>
- </mailingList>
-
- <mailingList>
- <name>dom4j commits list</name>
- <subscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-commits</subscribe>
- <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-commits</unsubscribe>
- </mailingList>
-
- </mailingLists>
-
-
- <developers>
- <developer>
- <name>Curt Arnold</name>
- <id>carnold</id>
- <email>carnold at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>David Lucas</name>
- <id>ddlucas</id>
- <email>ddlucas at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>David White</name>
- <id>drwhite</id>
- <email>drwhite at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>Jakob Jenkov</name>
- <id>jjenkov</id>
- <email>jjenkov at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>James Strachan</name>
- <id>jstrachan</id>
- <email>jstrachan at apache.org</email>
- <organization>SpiritSoft, Inc.</organization>
- </developer>
- <developer>
- <name>Laramie Crocker</name>
- <id>laramiec</id>
- <email>laramiec at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>Maarten Coene</name>
- <id>maartenc</id>
- <email>maartenc at users.sourceforge.net</email>
- <organization>Cronos</organization>
- </developer>
- <developer>
- <name>Michael Skells</name>
- <id>mskells</id>
- <email>mskells at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>Nick Sanderson</name>
- <id>nicksanderson</id>
- <email>nicksanderson at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>Steen Lehmann</name>
- <id>slehmann</id>
- <email>slehmann at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>Tobias Rademacher</name>
- <id>tradem</id>
- <email>tradem at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>Bob McWhirter</name>
- <id>werken</id>
- <email>werken at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>Todd Wolff</name>
- <id>wolfftw</id>
- <email>wolfftw at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>OuYang Chen</name>
- <id>yeekee</id>
- <email>yeekee at users.sourceforge.net</email>
- </developer>
- <developer>
- <name>Yuxin Ruan</name>
- <id>yruan2</id>
- <email>yruan2 at users.sourceforge.net</email>
- </developer>
- </developers>
-
- <dependencies>
-
- <!-- compilation dependencies -->
-
- <dependency>
- <groupId>jaxme</groupId>
- <artifactId>jaxme-api</artifactId>
- <version>0.3</version>
- <url>http://ws.apache.org/jaxme/index.html</url>
- </dependency>
-
- <dependency>
- <groupId>jaxen</groupId>
- <artifactId>jaxen</artifactId>
- <version>1.1-beta-6</version>
- <url>http://jaxen.codehaus.org/</url>
- </dependency>
-
- <dependency>
- <groupId>msv</groupId>
- <artifactId>xsdlib</artifactId>
- <version>20030807</version>
- <url>https://msv.dev.java.net/</url>
- </dependency>
-
- <dependency>
- <groupId>msv</groupId>
- <artifactId>relaxngDatatype</artifactId>
- <version>20030807</version>
- <url>https://msv.dev.java.net/</url>
- </dependency>
-
- <dependency>
- <groupId>pull-parser</groupId>
- <artifactId>pull-parser</artifactId>
- <version>2</version>
- <url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/</url>
- </dependency>
-
- <dependency>
- <groupId>xpp3</groupId>
- <artifactId>xpp3</artifactId>
- <version>1.1.3.3</version>
- <url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/</url>
- </dependency>
-
- <dependency>
- <groupId>stax</groupId>
- <artifactId>stax</artifactId>
- <version>1.0</version>
- <url>http://jcp.org/aboutJava/communityprocess/final/jsr173/index.html</url>
- </dependency>
-
- <dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- <version>2.0.2</version>
- <url>http://xml.apache.org/xerces2-j/index.html</url>
- </dependency>
-
- <!-- testing dependencies -->
-
- <dependency>
- <groupId>junitperf</groupId>
- <artifactId>junitperf</artifactId>
- <version>1.8</version>
- <url>http://www.clarkware.com/software/JUnitPerf.html</url>
- </dependency>
-
- <dependency>
- <groupId>stax</groupId>
- <artifactId>stax-ri</artifactId>
- <version>1.0</version>
- <url>http://dev2dev.bea.com/technologies/stax/index.jsp</url>
- </dependency>
-
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>2.6.2</version>
- <url>http://xml.apache.org/xerces2-j/index.html</url>
- </dependency>
-
- <dependency>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- <version>2.5.1</version>
- <url>http://xml.apache.org/xalan-j/index.html</url>
- </dependency>
-
- </dependencies>
-
- <build>
- <sourceDirectory>src/java</sourceDirectory>
- <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
-
- <!-- Unit test classes -->
- <unitTest>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- </unitTest>
-
- <nagEmailAddress>dom4j-dev at lists.sourceforge.net</nagEmailAddress>
- </build>
-
- <reports>
- <report>maven-changelog-plugin</report>
- <report>maven-changes-plugin</report>
- <report>maven-checkstyle-plugin</report>
- <report>maven-clover-plugin</report>
- <report>maven-developer-activity-plugin</report>
- <report>maven-faq-plugin</report>
- <report>maven-file-activity-plugin</report>
- <report>maven-javadoc-plugin</report>
- <report>maven-jdepend-plugin</report>
- <report>maven-junit-report-plugin</report>
- <report>maven-jxr-plugin</report>
- <report>maven-license-plugin</report>
- </reports>
-
-</project>
Copied: trunk/dom4j/dom4j-1.6.1.jar (from rev 12516, trunk/dom4j/dom4j/dom4j-1.6.1.jar)
===================================================================
(Binary files differ)
Copied: trunk/dom4j/maven.xml (from rev 12516, trunk/dom4j/dom4j/maven.xml)
===================================================================
--- trunk/dom4j/maven.xml (rev 0)
+++ trunk/dom4j/maven.xml 2010-05-27 20:08:08 UTC (rev 12518)
@@ -0,0 +1,54 @@
+<project default="dist:build-bin"
+ xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
+ xmlns:doc="doc"
+ xmlns:maven="jelly:maven" >
+
+ <!-- define the classpath used to run examples -->
+ <goal name="create-classpath" prereqs="java:compile,test:compile">
+ <path id="test.classpath">
+ <pathelement path="${maven.build.dest}"/>
+ <pathelement path="target/classes"/>
+ <pathelement path="target/test-classes"/>
+ <pathelement path="src/"/>
+ <path refid="maven.dependency.classpath"/>
+ </path>
+ </goal>
+
+ <postGoal name="clean:clean">
+ <delete>
+ <fileset dir="${basedir}" includes="junit*.properties"/>
+ <fileset dir="${basedir}" includes="javadoc*"/>
+ </delete>
+ </postGoal>
+
+ <postGoal name="dist:prepare-bin-filesystem">
+ <ant:copy todir="${maven.dist.bin.assembly.dir}">
+ <fileset dir=".">
+ <include name="build.xml" />
+ <include name="maven.xml" />
+ <include name="project.properties" />
+ <include name="project.xml" />
+ <include name="LICENSE*" />
+ <include name="lib/**" />
+ <include name="src/**" />
+ <include name="xdocs/**" />
+ <include name="xml/**" />
+ </fileset>
+ </ant:copy>
+ <ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
+ <fileset dir="target/docs"/>
+ </ant:copy>
+ </postGoal>
+
+ <postGoal name="dist:prepare-src-filesystem">
+ <ant:copy todir="${maven.dist.src.assembly.dir}/lib">
+ <fileset dir="lib"/>
+ </ant:copy>
+ </postGoal>
+
+ <preGoal name="site">
+ <attainGoal name="docbook:transform"/>
+ </preGoal>
+
+</project>
Copied: trunk/dom4j/project.properties (from rev 12516, trunk/dom4j/dom4j/project.properties)
===================================================================
--- trunk/dom4j/project.properties (rev 0)
+++ trunk/dom4j/project.properties 2010-05-27 20:08:08 UTC (rev 12518)
@@ -0,0 +1,61 @@
+# -------------------------------------------------------------------
+# P R O J E C T P R O P E R T I E S
+# -------------------------------------------------------------------
+maven.repo.remote=http://www.ibiblio.org/maven
+
+maven.junit.fork=true
+
+maven.compile.debug = on
+maven.compile.optimize = off
+maven.compile.deprecation = on
+maven.compile.target = 1.3
+maven.compile.source = 1.3
+
+maven.jarResources.basedir = ${basedir}/src/java
+
+# ------------------------------------------------------------------------
+# M A V E N J A R O V E R R I D E
+# ------------------------------------------------------------------------
+maven.jar.override = on
+
+# ------------------------------------------------------------------------
+# J A L O P Y S E T T I N G S
+# ------------------------------------------------------------------------
+maven.jalopy.style = jalopy.xml
+maven.jalopy.filesetExclude = org/dom4j/tree/ConcurrentReaderHashMap.java
+
+maven.checkstyle.properties = ${basedir}/checkstyle.xml
+maven.checkstyle.excludes = org/dom4j/tree/ConcurrentReaderHashMap.java
+
+# ------------------------------------------------------------------------
+# Jars set explicity by path.
+# ------------------------------------------------------------------------
+maven.jar.stax = ${basedir}/lib/jsr173_1.0_api.jar
+maven.jar.stax-ri = ${basedir}/lib/test/jsr173_1.0_ri.jar
+maven.jar.pull-parser = ${basedir}/lib/pull-parser-2.1.10.jar
+
+# -------------------------------------------------------------------
+# J A V A D O C P R O P E R T I E S
+# -------------------------------------------------------------------
+
+# Display the date on the Maven web site
+maven.xdoc.date = left
+
+# Display the maven version the web site is documenting
+maven.xdoc.version = ${pom.currentVersion}
+
+maven.javadoc.links = http://java.sun.com/j2se/1.3/docs/api/, http://java.sun.com/xml/jaxp/dist/1.1/docs/api/
+
+# -------------------------------------------------------------------
+# D O C P R O P E R T I E S
+# -------------------------------------------------------------------
+
+maven.ui.banner.background = #fff
+maven.ui.banner.foreground = #000
+
+
+# -------------------------------------------------------------------
+# C L O V E R P R O P E R T I E S
+# -------------------------------------------------------------------
+maven.clover.license.path = ${basedir}/lib/tools/clover.license
+maven.clover.excludes = org/dom4j/persistence/**
\ No newline at end of file
Copied: trunk/dom4j/project.xml (from rev 12516, trunk/dom4j/dom4j/project.xml)
===================================================================
--- trunk/dom4j/project.xml (rev 0)
+++ trunk/dom4j/project.xml 2010-05-27 20:08:08 UTC (rev 12518)
@@ -0,0 +1,298 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+ <pomVersion>3</pomVersion>
+ <name>dom4j</name>
+ <id>dom4j</id>
+ <currentVersion>1.6.1</currentVersion>
+
+ <organization>
+ <name>MetaStuff Ltd.</name>
+ <url>http://sourceforge.net/projects/dom4j</url>
+ <logo>http://sourceforge.net/sflogo.php?group_id=16035</logo>
+ </organization>
+ <logo>/images/logo.gif</logo>
+
+ <inceptionYear>2001</inceptionYear>
+
+ <package>org.dom4j</package>
+ <packageGroups>
+ <packageGroup>
+ <title>Core Developer API</title>
+ <packages>org.dom4j,org.dom4j.io</packages>
+ </packageGroup>
+ <packageGroup>
+ <title>Utility classes</title>
+ <packages>org.dom4j.util</packages>
+ </packageGroup>
+ <packageGroup>
+ <title>XRule engine for declarative XSLT style processing</title>
+ <packages>org.dom4j.rule,org.dom4j.rule.*</packages>
+ </packageGroup>
+ <packageGroup>
+ <title>Alternative dom4j implementations</title>
+ <packages>org.dom4j.datatype,org.dom4j.dom,org.dom4j.bean</packages>
+ </packageGroup>
+ <packageGroup>
+ <title>Swing helper classes</title>
+ <packages>org.dom4j.swing</packages>
+ </packageGroup>
+ <packageGroup>
+ <title>Implementation classes</title>
+ <packages>org.dom4j.tree,org.dom4j.dtd,org.dom4j.xpp,org.dom4j.xpath</packages>
+ </packageGroup>
+ </packageGroups>
+
+
+ <shortDescription>dom4j : XML framework for Java</shortDescription>
+ <gumpRepositoryId>dom4j</gumpRepositoryId>
+
+ <description>dom4j: the flexible XML framework for Java</description>
+ <url>http://dom4j.org</url>
+
+ <cvsWebUrl>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dom4j/dom4j/</cvsWebUrl>
+ <cvsModule>dom4j/dom4j</cvsModule>
+ <issueTrackingUrl>http://sourceforge.net/tracker/?group_id=16035</issueTrackingUrl>
+
+ <siteAddress>dom4j.org</siteAddress>
+ <siteDirectory>/home/groups/d/do/dom4j/htdocs</siteDirectory>
+
+ <repository>
+ <connection>scm:cvs:pserver:anonymous at cvs.sourceforge.net:/cvsroot/dom4j:dom4j</connection>
+ <developerConnection>scm:cvs:ext:${maven.username}@cvs.sourceforge.net:/cvsroot/dom4j:dom4j</developerConnection>
+ <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dom4j/dom4j/</url>
+ </repository>
+
+ <branches>
+ <branch>
+ <tag>DOM4J_1_X_BRANCH</tag>
+ </branch>
+ </branches>
+
+ <mailingLists>
+
+ <mailingList>
+ <name>dom4j user list</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-user</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-user</unsubscribe>
+ <archive>http://www.mail-archive.com/dom4j-user%40lists.sourceforge.net/</archive>
+ </mailingList>
+
+ <mailingList>
+ <name>dom4j developer list</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-dev</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-dev</unsubscribe>
+ <archive>http://www.mail-archive.com/dom4j-dev%40lists.sourceforge.net/</archive>
+ </mailingList>
+
+ <mailingList>
+ <name>dom4j commits list</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-commits</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dom4j-commits</unsubscribe>
+ </mailingList>
+
+ </mailingLists>
+
+
+ <developers>
+ <developer>
+ <name>Curt Arnold</name>
+ <id>carnold</id>
+ <email>carnold at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>David Lucas</name>
+ <id>ddlucas</id>
+ <email>ddlucas at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>David White</name>
+ <id>drwhite</id>
+ <email>drwhite at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>Jakob Jenkov</name>
+ <id>jjenkov</id>
+ <email>jjenkov at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>James Strachan</name>
+ <id>jstrachan</id>
+ <email>jstrachan at apache.org</email>
+ <organization>SpiritSoft, Inc.</organization>
+ </developer>
+ <developer>
+ <name>Laramie Crocker</name>
+ <id>laramiec</id>
+ <email>laramiec at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>Maarten Coene</name>
+ <id>maartenc</id>
+ <email>maartenc at users.sourceforge.net</email>
+ <organization>Cronos</organization>
+ </developer>
+ <developer>
+ <name>Michael Skells</name>
+ <id>mskells</id>
+ <email>mskells at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>Nick Sanderson</name>
+ <id>nicksanderson</id>
+ <email>nicksanderson at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>Steen Lehmann</name>
+ <id>slehmann</id>
+ <email>slehmann at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>Tobias Rademacher</name>
+ <id>tradem</id>
+ <email>tradem at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>Bob McWhirter</name>
+ <id>werken</id>
+ <email>werken at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>Todd Wolff</name>
+ <id>wolfftw</id>
+ <email>wolfftw at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>OuYang Chen</name>
+ <id>yeekee</id>
+ <email>yeekee at users.sourceforge.net</email>
+ </developer>
+ <developer>
+ <name>Yuxin Ruan</name>
+ <id>yruan2</id>
+ <email>yruan2 at users.sourceforge.net</email>
+ </developer>
+ </developers>
+
+ <dependencies>
+
+ <!-- compilation dependencies -->
+
+ <dependency>
+ <groupId>jaxme</groupId>
+ <artifactId>jaxme-api</artifactId>
+ <version>0.3</version>
+ <url>http://ws.apache.org/jaxme/index.html</url>
+ </dependency>
+
+ <dependency>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ <version>1.1-beta-6</version>
+ <url>http://jaxen.codehaus.org/</url>
+ </dependency>
+
+ <dependency>
+ <groupId>msv</groupId>
+ <artifactId>xsdlib</artifactId>
+ <version>20030807</version>
+ <url>https://msv.dev.java.net/</url>
+ </dependency>
+
+ <dependency>
+ <groupId>msv</groupId>
+ <artifactId>relaxngDatatype</artifactId>
+ <version>20030807</version>
+ <url>https://msv.dev.java.net/</url>
+ </dependency>
+
+ <dependency>
+ <groupId>pull-parser</groupId>
+ <artifactId>pull-parser</artifactId>
+ <version>2</version>
+ <url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/</url>
+ </dependency>
+
+ <dependency>
+ <groupId>xpp3</groupId>
+ <artifactId>xpp3</artifactId>
+ <version>1.1.3.3</version>
+ <url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/</url>
+ </dependency>
+
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax</artifactId>
+ <version>1.0</version>
+ <url>http://jcp.org/aboutJava/communityprocess/final/jsr173/index.html</url>
+ </dependency>
+
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ <version>2.0.2</version>
+ <url>http://xml.apache.org/xerces2-j/index.html</url>
+ </dependency>
+
+ <!-- testing dependencies -->
+
+ <dependency>
+ <groupId>junitperf</groupId>
+ <artifactId>junitperf</artifactId>
+ <version>1.8</version>
+ <url>http://www.clarkware.com/software/JUnitPerf.html</url>
+ </dependency>
+
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-ri</artifactId>
+ <version>1.0</version>
+ <url>http://dev2dev.bea.com/technologies/stax/index.jsp</url>
+ </dependency>
+
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.6.2</version>
+ <url>http://xml.apache.org/xerces2-j/index.html</url>
+ </dependency>
+
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>2.5.1</version>
+ <url>http://xml.apache.org/xalan-j/index.html</url>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src/java</sourceDirectory>
+ <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+
+ <!-- Unit test classes -->
+ <unitTest>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ </unitTest>
+
+ <nagEmailAddress>dom4j-dev at lists.sourceforge.net</nagEmailAddress>
+ </build>
+
+ <reports>
+ <report>maven-changelog-plugin</report>
+ <report>maven-changes-plugin</report>
+ <report>maven-checkstyle-plugin</report>
+ <report>maven-clover-plugin</report>
+ <report>maven-developer-activity-plugin</report>
+ <report>maven-faq-plugin</report>
+ <report>maven-file-activity-plugin</report>
+ <report>maven-javadoc-plugin</report>
+ <report>maven-jdepend-plugin</report>
+ <report>maven-junit-report-plugin</report>
+ <report>maven-jxr-plugin</report>
+ <report>maven-license-plugin</report>
+ </reports>
+
+</project>
More information about the pkg-java-commits
mailing list