ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David <>
Subject Re:Re:AntDoc fails under JDK 1.5
Date Tue, 29 Nov 2005 12:42:15 GMT
>Read the messages David. Looks like AntDoc wants to use an XSL 2.0
>processor, and the only one I know for Java is Saxon, so it must be in
>your path so that the Trax API picks it up ahead of the default XSL
>processor of the JDK, which is a 1.0 one only. --DD
  <path id="antDoc.classpath">
  <pathelement location="${lib.downloaded.dir}/log4j-${log4j.v}.jar"/>
  <pathelement location="${lib.dir}/saxon.jar"/>
  <pathelement location="${lib.dir}/AntDoc.jar"/>
  <target name = "antdoc"
    depends = "set-current-time"
    description = "Generates the documentation of build file"
 <mkdir dir="${doc.dir}/antDoc"/>
    <taskdef name    = "AntDoc" 
        classname    = "org.ed.pack.ant.AntDoc"
        classpathref = "antDoc.classpath"/>
        destination = "${doc.dir}/antdoc"
     buildfile ="build.xml">
  I have tested also adding the property 
  processor ="com.icl.saxon.TransformerFactoryImpl"
  with the same result. As you can see saxon.jar is on the classpath. Probably it has to come
first on the boot classpath (before the JDK), but I don't know how to do that with ant. Do
you have any idea about how to do that?

 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message