ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Smith <anthony.sm...@fedex.com>
Subject InvocationTargetException tying to build do a javadoc command
Date Mon, 11 Aug 2003 16:32:45 GMT

I run this target and get the following error at the bottom:

The build.xml file is located in the same directory where the com folder is
located.


 <target name="javadoc" description="javadoc - create javadoc">
     <mkdir dir="docs/api"/>
     <javadoc
	   sourcepath="com"
           defaultexcludes="yes"
	   packagenames="com.company1.*, com.company2.*"
           destdir="docs/api"
           author="true"
           version="true"
           use="true"
           windowtitle="MyCompany API">
        <classpath refid="classpath"/>
 </javadoc>
  </target>


C:\gse>ant javadoc
Buildfile: build.xml

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package com.company1.cps...

  [javadoc] Constructing Javadoc information...
  [javadoc] javadoc: warning - No source files for package
com.company1.tools.check
ldap
  [javadoc] javadoc: warning - No source files for package
com.company1.tools.check
oracle
  [javadoc] javadoc: warning - No source files for package
com.company1.tools.check
wl
  [javadoc] javadoc: warning - No source files for package
com.company1.tools.crond
elete
  [javadoc] javadoc: warning - No source files for package
com.company1.tools.login
dexer
  [javadoc] javadoc: warning - No source files for package
com.company1.tools.logse
ek
  [javadoc] Standard Doclet version 1.4.0

  [javadoc] Building tree for all the packages and classes...
  [javadoc] javadoc: In doclet class
com.sun.tools.doclets.standard.Standard,  m
ethod start has thrown an exception
java.lang.reflect.InvocationTargetException
  [javadoc] com.sun.tools.javac.v8.code.Symbol$CompletionFailure: file
weblogic\
cmp\rdbms\PSRdbms_Base.class not found
  [javadoc]     at
com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.ja
va:1020)
  [javadoc]     at
com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.
java:977)
  [javadoc]     at
com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:375)
  [javadoc]     at
com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbo
l.java:697)
  [javadoc]     at
com.sun.tools.javac.v8.code.Symbol$ClassSymbol.flags(Symbol.j
ava:594)
  [javadoc]     at
com.sun.tools.javadoc.ClassDocImpl.getFlags(ClassDocImpl.java
:122)
  [javadoc]     at
com.sun.tools.javadoc.ProgramElementDocImpl.getModifiers(Prog
ramElementDocImpl.java:54)
  [javadoc]     at
com.sun.tools.javadoc.ClassDocImpl.isInterface(ClassDocImpl.j
ava:170)
  [javadoc]     at
com.sun.tools.javadoc.ClassDocImpl.superclass(ClassDocImpl.ja
va:357)
  [javadoc]     at
com.sun.tools.doclets.ClassTree.processClass(ClassTree.java:1
39)
  [javadoc]     at
com.sun.tools.doclets.ClassTree.processClass(ClassTree.java:1
44)
  [javadoc]     at
com.sun.tools.doclets.ClassTree.buildTree(ClassTree.java:108)

  [javadoc]     at com.sun.tools.doclets.ClassTree.<init>(ClassTree.java:67)
  [javadoc]     at
com.sun.tools.doclets.standard.Standard.startGeneration(Stand
ard.java:108)
  [javadoc]     at
com.sun.tools.doclets.standard.Standard.start(Standard.java:4
7)
  [javadoc]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
  [javadoc]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:42)
  [javadoc]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:28)
  [javadoc]     at java.lang.reflect.Method.invoke(Method.java:327)
  [javadoc]     at
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java
:196)
  [javadoc] 1 error
  [javadoc] 6 warnings
  [javadoc]     at
com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:
95)
  [javadoc]     at
com.sun.tools.javadoc.Start.parseAndExecute(Start.java:288)
  [javadoc]     at com.sun.tools.javadoc.Start.begin(Start.java:114)
  [javadoc]     at com.sun.tools.javadoc.Main.execute(Main.java:44)
  [javadoc]     at com.sun.tools.javadoc.Main.main(Main.java:34)

BUILD SUCCESSFUL
Total time: 14 seconds



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


Mime
View raw message