ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Rousse <rou...@ccr.jussieu.fr>
Subject arror building javadoc for xalan-j 2.2.x and ant 1.4
Date Mon, 10 Sep 2001 17:48:51 GMT
Already send to xalan-j-dev, but could also interest ant developers...

xalan-j uses its own doclet for javadoc, but it crashed with new ant 1.4:
autojavadocs:
     [echo] autojavadocs is for automated build process, without dependencies
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] javadoc: In doclet class xalanjdoc.Standard,  method optionLength
has thrown an exception java.lang.reflect.Invoc
ationTargetException
  [javadoc] java.lang.Error: Fatal: Resource for javadoc doclets is missing:
com.sun.tools.javadoc.resources.standard
  [javadoc] 1 error
  [javadoc]     at
com.sun.tools.doclets.MessageRetriever.<init>(MessageRetriever.java:39)
  [javadoc]     at
xalanjdoc.ConfigurationStandard.<init>(ConfigurationStandard.java:147)
  [javadoc]     at xalanjdoc.Standard.configuration(Standard.java:55)
  [javadoc]     at xalanjdoc.Standard.optionLength(Standard.java:210)
  [javadoc]     at java.lang.reflect.Method.invoke(Native Method)
  [javadoc]     at
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:193)
  [javadoc]     at
com.sun.tools.javadoc.DocletInvoker.optionLength(DocletInvoker.java:121)
  [javadoc]     at com.sun.tools.javadoc.Main.main(Main.java:187)

There isn't any com.sun.tools.javadoc.resources.standard in tools.jar (sun
jdk 1.3.1):
[guillaume@silbermann guillaume]$ jar tvf /usr/local/jdk1.3.1/lib/tools.jar |
grep com.sun.tools.javadoc.resources
     0 Sun May 06 03:41:12 CEST 2001 com/sun/tools/javadoc/resources/
  5560 Sun May 06 03:34:00 CEST 2001
com/sun/tools/javadoc/resources/javadoc.properties
 17240 Sun May 06 03:34:00 CEST 2001
com/sun/tools/javadoc/resources/javadoc_ja.properties

I tested this with 2.2.D9 and 2.2.D10. I also tested it works with ant 1.3. I 
found nothing relative to doclet in ant's changelog.

I'm not subscribed to the list, so please CC: answers to me.
-- 
Guillaume Rousse <rousse@ccr.jussieu.fr>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Mime
View raw message