You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2008/04/07 11:39:44 UTC
svn commit: r645431 - /commons/proper/net/trunk/build.xml
Author: sebb
Date: Mon Apr 7 02:39:42 2008
New Revision: 645431
URL: http://svn.apache.org/viewvc?rev=645431&view=rev
Log:
Fix up so test works on Java 1.3.1
Modified:
commons/proper/net/trunk/build.xml
Modified: commons/proper/net/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/build.xml?rev=645431&r1=645430&r2=645431&view=diff
==============================================================================
--- commons/proper/net/trunk/build.xml (original)
+++ commons/proper/net/trunk/build.xml Mon Apr 7 02:39:42 2008
@@ -4,6 +4,14 @@
on date September 8 2004, time 2216-->
<project default="jar" name="commons-net" basedir=".">
+
+ <available property="jre.dom.available" classname="java.lang.CharSequence" />
+
+ <fileset id="xmlLibs" dir="${ant.home}/lib">
+ <include name="xml-apis.jar" unless="jre.dom.available" />
+ <include name="xercesImpl.jar" unless="jre.dom.available" />
+ </fileset>
+
<property name="defaulttargetdir" value="target">
</property>
<property name="libdir" value="target/lib">
@@ -104,6 +112,7 @@
</pathelement>
<pathelement path="${classesdir}">
</pathelement>
+ <fileset refid="xmlLibs" />
</classpath>
<batchtest todir="${testreportdir}">
<fileset dir="src/test">