Thanks to people answer to me about this topic. The following invokation:
<target name = "antdoc">
<taskdef name = "AntDoc"
classname = "org.ed.pack.ant.AntDoc"
classpathref = "antDoc.classpath"/>
<AntDoc
destination = "${doc.dir}/antdoc"
antURL = "http://ant.apache.org"
processor ="org.apache.xalan.processor.TransformerFactoryImpl"
welcome = "${doc.dir}/antdoc/antDoc_welcome.html"
buildfile="build.xml"
/>
</target>
With:
<path id="antDoc.classpath">
<pathelement location="${lib.downloaded.dir}/log4j-${log4j.v}.jar"/>
<pathelement location="${lib.downloaded.dir}/xalan-${xalan.v}.jar"/>
<pathelement location="${lib.dir}/AntDoc.jar"/>
</path>
Works but not under Eclipse 3.1.1 I don't know way. I am using Xalan 2.7.0
Thanks,
David
************************* AVISO LEGAL *************************
Este mensaje y sus documentos anexos son privados y confidenciales y estan
dirigidos exclusivamente a sus
destinatarios. Si por error, ha recibido este mensaje y no se encuentra entre
los destinatarios, por favor, no use,
informe, distribuya, imprima o copie su contenido por ningun medio. Le rogamos
lo comunique al remitente y borre
todo su contenido.
La empresa no asume ningun tipo de responsabilidad legal por el contenido de
este mensaje. Cualquier opinion
manifestada en el pertenece solo al autor y no representa necesariamente la
opinion de la compañía salvo que
expresamente se especifique lo contrario.
************************* DISCLAIMER **************************
This message and its attached files may contain confidential and/or privileged
information. If you are not the addressee
or authorized to receive this for the addressee, you must not use, copy,
disclose, or take any action based on this message
or any other information herein. If you have received this message in error,
please notify the sender immediately by reply
e-mail and delete this message.
The company does not assume any legal responsability for the contents of this
message. Any opinion contained in it belongs
exclusively to its author and does not necessarily represent the company's
opinion unless it is specifically expressed on the
contrary.