With the recent introduction of AreaTreeBuilder into the tools directory,
I'm having difficulty bootstrapping the xml-fop build.  To do a build, you
need buildtools, and now a tool in the same directory requires fop...

Below is one possible fix.

FYI: with curent versions of ant, it actually is possible to compile a
class and then reference the resulting class in a taskdef later in the same
target or in subsequent targets.

Index: buildtools.xml
===================================================================
RCS file: /home/cvs/xml-fop/buildtools.xml,v
retrieving revision 1.3
diff -u -r1.3 buildtools.xml
--- buildtools.xml      2001/05/10 01:44:04     1.3
+++ buildtools.xml      2001/10/23 19:23:15
@@ -35,7 +35,9 @@
    <target name="compile" depends="init,prepare.src">
      <mkdir dir="${build.dest}"/>
      <javac srcdir="${build.src}"
-           destdir="${build.dest}"/>
+           destdir="${build.dest}">
+        <exclude name="**/AreaTreeBuilder.java"/>
+     </javac>

    </target>

- Sam Ruby


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to