hillion 01/05/31 05:40:02 Modified: . build.xml sources/org/apache/batik/dom AbstractDocument.java Log: - Added a target to build.xml to create a jar without SAX and DOM bindings, - Fixed AbstractDocument.cloneNode(). Revision Changes Path 1.73 +15 -1 xml-batik/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-batik/build.xml,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- build.xml 2001/05/21 15:53:47 1.72 +++ build.xml 2001/05/31 12:39:58 1.73 @@ -44,7 +44,7 @@ [win32] .\build.bat help - $Id: build.xml,v 1.72 2001/05/21 15:53:47 hillion Exp $ + $Id: build.xml,v 1.73 2001/05/31 12:39:58 hillion Exp $ --> @@ -288,6 +288,20 @@ <jar jarfile="${build}/lib/${project}-all.jar"> <fileset dir="${dest}" excludes="**/CVS"> <include name="**"/> + </fileset> + <fileset dir="${resources}" excludes="${resources}/**/CVS"> + <include name="**"/> + </fileset> + </jar> + </target> + + + <!-- All batik in a single jar, without SAX and DOM bindings + (dependencies: batik-ext.jar) --> + <target name="libs-jar" depends="compile, prepare-build"> + <jar jarfile="${build}/lib/${project}-libs.jar"> + <fileset dir="${dest}" excludes="**/CVS"> + <include name="org/apache/batik/**"/> </fileset> <fileset dir="${resources}" excludes="${resources}/**/CVS"> <include name="**"/> 1.6 +2 -2 xml-batik/sources/org/apache/batik/dom/AbstractDocument.java Index: AbstractDocument.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/dom/AbstractDocument.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- AbstractDocument.java 2001/05/18 06:20:44 1.5 +++ AbstractDocument.java 2001/05/31 12:40:00 1.6 @@ -40,7 +40,7 @@ * This class implements the {@link org.w3c.dom.Document} interface. * * @author <a href="mailto:[EMAIL PROTECTED]">Stephane Hillion</a> - * @version $Id: AbstractDocument.java,v 1.5 2001/05/18 06:20:44 hillion Exp $ + * @version $Id: AbstractDocument.java,v 1.6 2001/05/31 12:40:00 hillion Exp $ */ public abstract class AbstractDocument extends AbstractParentNode @@ -230,8 +230,8 @@ * <b>DOM</b>: Implements {@link org.w3c.dom.Node#cloneNode(boolean)}. */ public Node cloneNode(boolean deep) { - String message = null; Document n = (Document)newNode(); + copyInto(n); if (deep) { for (Node c = getFirstChild(); c != null; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]