[Spread-users] [PATCH] Fix XML syntax error in build.xml Ant file
Daniel Rall
dlr at finemaltcoding.com
Mon Sep 30 22:48:07 EDT 2002
When the 3.17.0 source code tarball was rolled, the src.java.dir
property was changed to point from the CVS location to the source
tarball tree location. This change introduced a XML syntax error,
making it impossible for Ant to build the Java code. Here's the
output of the error:
BUILD FAILED
file:/home/dlr/truckee1/src/support/spread/tmp/spread-src-3.17.0/java/build.xml:20: Use "<" for "<" in attribute values.
Total time: 4 seconds
Here's the fix:
--- java/build.xml-3.17.0 Thu Sep 26 16:42:45 2002
+++ java/build.xml Fri Sep 27 15:55:44 2002
@@ -16,7 +16,7 @@
<property name="build.dir" value="dest"/>
<property name="build.src" value="${build.dir}/src"/>
<property name="build.dest" value="${build.dir}/class"/>
- <property name="src.java.dir" value="spread/>
+ <property name="src.java.dir" value="spread"/>
<property name="jar.name" value="${project}-${version}.jar"/>
<property name="lib.dir" value="/usr/lib/java"/>
<property name="sample.build.src" value="${build.dir}/sample"/>
IMO, this should be corrected in the tarball sitting on the web site
for download. As that tarball already differed from the source in CVS
on this line, correcting the change is the Right Thing to do.
- Dan
More information about the Spread-users
mailing list