You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David <ac...@yahoo.es> on 2005/11/28 12:11:52 UTC

AntDoc fails under JDK 1.5

I am trying to use antDoc with JDK 1.5, but it doesn't work. I get an error
(see below). Do I have to install another JDK version in order to get it
work or I have to install specific library?, I am using Ant 1.6.5

Do yo know about any other similar product?, it seem to me the author is not
going to mantain AntDoc, but there is no way to mantain the product, because
there is no information on the web page about the source code. It is a pity,
because it is very usefull.

Thanks in advance,

David

antdoc:
Trying to override old definition of task AntDoc
   [AntDoc] AntDoc running...
   [AntDoc] Destination directory is 'P:\SLZ\AMENA-CC\doc\antdoc'
   [AntDoc] 2005-11-26 20:36:04,135 WARN
[org.ed.pack.ant.antdoc.AntDocGenerator] - <The XSLT implementation is not
being recognized: using XSLT V2.0 standard>
   [AntDoc] The XSLT implementation is not being recognized: using XSLT V2.0
standard
   [AntDoc] ERROR:  'Error al comprobar el tipo de la expresión
'FilterParentPath(variable-ref(tokens/result-tree), step("child", 34))'.'
   [AntDoc] FATAL ERROR:  'Cant't compile style sheet'
   [AntDoc] 2005-11-26 20:36:04,636 ERROR
[org.ed.pack.ant.antdoc.AntDocGenerator] - <Internal error: could not create
the XSL transformer>
   [AntDoc] Internal error: could not create the XSL transformer

BUILD FAILED
P:\SLZ\AMENA-CC\build.xml:548:
javax.xml.transform.TransformerConfigurationException: Can't compile style
sheet
 at
org.ed.pack.ant.antdoc.AntDocGenerator.prepareAntDocTransformation(Unknown
Source)
 at org.ed.pack.ant.antdoc.AntDocGenerator.generateAntDoc(Unknown Source)
 at org.ed.pack.ant.AntDoc.generateAntDocForAtLeastOneBuildfile(Unknown
Source)
 at org.ed.pack.ant.AntDoc.launchAntDoc(Unknown Source)
 at org.ed.pack.ant.AntDoc.execute(Unknown Source)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 at org.apache.tools.ant.Task.perform(Task.java:364)
 at org.apache.tools.ant.Target.execute(Target.java:341)
 at org.apache.tools.ant.Target.performTasks(Target.java:369)
 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
 at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
ava:40)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
 at org.apache.tools.ant.Main.runBuild(Main.java:668)
 at org.apache.tools.ant.Main.startAnt(Main.java:187)
 at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
 at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: javax.xml.transform.TransformerConfigurationException: Can't
compile style sheet
 at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTempl
ates(TransformerFactoryImpl.java:824)
 at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTrans
former(TransformerFactoryImpl.java:619)
 ... 17 more
--- Nested Exception ---
javax.xml.transform.TransformerConfigurationException: Can't compile style
sheet
 at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTempl
ates(TransformerFactoryImpl.java:824)
 at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTrans
former(TransformerFactoryImpl.java:619)
 at
org.ed.pack.ant.antdoc.AntDocGenerator.prepareAntDocTransformation(Unknown
Source)
 at org.ed.pack.ant.antdoc.AntDocGenerator.generateAntDoc(Unknown Source)
 at org.ed.pack.ant.AntDoc.generateAntDocForAtLeastOneBuildfile(Unknown
Source)
 at org.ed.pack.ant.AntDoc.launchAntDoc(Unknown Source)
 at org.ed.pack.ant.AntDoc.execute(Unknown Source)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 at org.apache.tools.ant.Task.perform(Task.java:364)
 at org.apache.tools.ant.Target.execute(Target.java:341)
 at org.apache.tools.ant.Target.performTasks(Target.java:369)
 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
 at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
ava:40)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
 at org.apache.tools.ant.Main.runBuild(Main.java:668)
 at org.apache.tools.ant.Main.startAnt(Main.java:187)
 at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
 at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Total time: 2 seconds


************************* 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.

Re: AntDoc fails under JDK 1.5

Posted by Jakob Fix <ja...@gmail.com>.
On 28/11/05, Dominique Devienne <dd...@gmail.com> wrote:
> > I am trying to use antDoc with JDK 1.5, but it doesn't work. I get an error
> > (see below). Do I have to install another JDK version in order to get it
> > work or I have to install specific library?, I am using Ant 1.6.5
>
> This is the Ant list, not the AntDoc list ;-)
>
> > Do yo know about any other similar product?, it seem to me the author is not
> > going to mantain AntDoc, but there is no way to mantain the product, because
> > there is no information on the web page about the source code. It is a pity,
> > because it is very usefull.
>
> 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

I may be wrong, but if the OP is talking about the AntDoc project at
http://antdoc.free.fr/ then XSLT 2.0 appears to be supported but not
required: http://antdoc.free.fr/requirement_content.php.  Apparently,
it is possible to configure AntDoc to use a set of stylesheets
appropriate for a given XSLT processor.

--
cheers,
Jakob.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: AntDoc fails under JDK 1.5

Posted by Dominique Devienne <dd...@gmail.com>.
> I am trying to use antDoc with JDK 1.5, but it doesn't work. I get an error
> (see below). Do I have to install another JDK version in order to get it
> work or I have to install specific library?, I am using Ant 1.6.5

This is the Ant list, not the AntDoc list ;-)

> Do yo know about any other similar product?, it seem to me the author is not
> going to mantain AntDoc, but there is no way to mantain the product, because
> there is no information on the web page about the source code. It is a pity,
> because it is very usefull.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org