ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill.J.Fell...@mail.sprint.com
Subject RE: classpath issue on Javadoc stuff!!!!
Date Mon, 04 Jun 2001 17:39:25 GMT
Excellent to hear that you are nearly there.  One thing on the 
classpath you have showing, drop the ValidateForm.class and 
ProcessFormAction.class and just leave it as 
d:\ap20\websrc\WEB-INF\classes\org\apache\struts\form\
(the JVM figures out what naked classes are sitting in a directory - 
things in jars and zips need to be explicitly added)

I'm not seeing anything wrong with what you have there, so try

ant -verbose javadoc and look and see what you get.  Specifically, look 
at what it shows for your source path and your packages.  If they look 
fine, check out your javadoc args.

javadocs:
  [javadoc] Generating Javadoc
  [javadoc] Source path = /u1/home/bfellows/ikano/src
  [javadoc] Packages = [com.sprint.bwg.bil.jil.*]
  [javadoc] Exclude Packages = []
  [javadoc] Javadoc args: javadoc -d /u1/home/bfellows/ikano/docs 
-private -wind
owtitle "Ikano documentation" -classpath 
/usr/jdk1.2/lib/dt.jar:/usr/jdk1.2/lib/
ext/jaxp.jar:/opt/junit3.6/junit.jar:/usr/jdk1.2/lib/ext/parser.jar:/u1/
home/pre
sit/lib/pcm.jar:/usr/jdk1.2/lib/tools.jar:/u1/home/bfellows/ikano/lib/va
njavi.ja
r -sourcepath /u1/home/bfellows/ikano/src -version -author 
com.sprint.bwg.bil.ji
l.base com.sprint.bwg.bil.jil.controller com.sprint.bwg.bil.jil.model 
com.sprint
.bwg.bil.jil.util

If that doesn't help, try 
ant -debug javadoc

Still no insight, post the output of the latter.

-----Original Message-----
From: pinarbici [mailto:pinarbici@hotmail.com]
Sent: Monday, June 04, 2001 12:20 PM
To: ant-user
Cc: pinarbici
Subject: classpath issue on Javadoc stuff!!!!

{snip}

<target name="javadoc" depends="compile" >

    <property name="root"  value="org.apache.struts" />
    <property name="src"   value="d:\ap20\java" />

       <javadoc sourcepath="${src}"
         destdir="${javadoc.home}"
         classpath="${classpath}"
         packagenames="${root}.*"
         author="true"
         version="true"
         use="true"
         windowtitle="${app.name} ${version} API"
         doctitle="${app.name}" />
</target>

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message