ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russ Baker <rba...@NETdelivery.com>
Subject RE: classpath issue on Javadoc stuff!!!!
Date Mon, 04 Jun 2001 18:20:22 GMT
Pinar,

You are definitely getting closer.  You still are missing the struts stuff,
which is probably in a jar called struts.jar, but not having the software,
this is just a guess :-)  But check in your javadoc.home, wherever that is
and you will see that it worked.

-Russ

-----Original Message-----
From: Pinar Bicioglu [mailto:pinarbici@hotmail.com]
Sent: Monday, June 04, 2001 12:08 PM
To: ant-user@jakarta.apache.org
Subject: RE: classpath issue on Javadoc stuff!!!!




I corrected the classpath setup. But still can't get javadoc up and 
running.and here is the message it generates

D:\ap20>ant -debug javadoc
Ant version 1.3 compiled on March 2 2001

Buildfile: build.xml
Setting project property: ant.java.version -> 1.2
Detected Java Version: 1.2
Detected OS: Windows NT
+User task: ilasm     org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
+User task: cab     org.apache.tools.ant.taskdefs.optional.Cab
+User task: copydir     org.apache.tools.ant.taskdefs.Copydir
+User task: chmod     org.apache.tools.ant.taskdefs.Chmod
+User task: mail     org.apache.tools.ant.taskdefs.SendEmail
+User task: ddcreator     
org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
+User task: propertyfile     
org.apache.tools.ant.taskdefs.optional.PropertyFile
+User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
+User task: wlrun     org.apache.tools.ant.taskdefs.optional.ejb.WLRun
+User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
+User task: cccheckin     
org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
+User task: ejbjar     org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
+User task: wljspc     org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
+User task: compileTask     org.apache.tools.ant.taskdefs.CompileTask
+User task: copy     org.apache.tools.ant.taskdefs.Copy
+User task: ccupdate     
org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
+User task: javacc     org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
+User task: gzip     org.apache.tools.ant.taskdefs.GZip
+User task: sound     org.apache.tools.ant.taskdefs.optional.sound.SoundTask
+User task: unjar     org.apache.tools.ant.taskdefs.Expand
+User task: p4label     
org.apache.tools.ant.taskdefs.optional.perforce.P4Label
+User task: available     org.apache.tools.ant.taskdefs.Available
+User task: war     org.apache.tools.ant.taskdefs.War
+User task: csc     org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
+User task: patch     org.apache.tools.ant.taskdefs.Patch
+User task: netrexxc     org.apache.tools.ant.taskdefs.optional.NetRexxC
+User task: test     org.apache.tools.ant.taskdefs.optional.Test
+User task: unzip     org.apache.tools.ant.taskdefs.Expand
+User task: signjar     org.apache.tools.ant.taskdefs.SignJar
+User task: javah     org.apache.tools.ant.taskdefs.optional.Javah
+User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
+User task: javac     org.apache.tools.ant.taskdefs.Javac
+User task: ccuncheckout     
org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckou
t
+User task: fail     org.apache.tools.ant.taskdefs.Exit
+User task: deltree     org.apache.tools.ant.taskdefs.Deltree
+User task: get     org.apache.tools.ant.taskdefs.Get
+User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
+User task: java     org.apache.tools.ant.taskdefs.Java
+User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
+User task: replace     org.apache.tools.ant.taskdefs.Replace
+User task: ant     org.apache.tools.ant.taskdefs.Ant
+User task: p4edit     
org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
+User task: property     org.apache.tools.ant.taskdefs.Property
+User task: p4have     
org.apache.tools.ant.taskdefs.optional.perforce.P4Have
+User task: depend     org.apache.tools.ant.taskdefs.optional.depend.Depend
+User task: tar     org.apache.tools.ant.taskdefs.Tar
+User task: renameext     
org.apache.tools.ant.taskdefs.optional.RenameExtensions
+User task: native2ascii     
org.apache.tools.ant.taskdefs.optional.Native2Ascii
+User task: vssget     org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
+User task: antlr     org.apache.tools.ant.taskdefs.optional.ANTLR
+User task: cccheckout     
org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
+User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
+User task: touch     org.apache.tools.ant.taskdefs.Touch
+User task: junitreport     
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggrega
tor
+User task: rmic     org.apache.tools.ant.taskdefs.Rmic
+User task: jlink     org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
+User task: delete     org.apache.tools.ant.taskdefs.Delete
+User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
+User task: ejbc     org.apache.tools.ant.taskdefs.optional.ejb.Ejbc
+User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
+User task: jjtree     org.apache.tools.ant.taskdefs.optional.javacc.JJTree
+User task: stylebook     org.apache.tools.ant.taskdefs.optional.StyleBook
+User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
+User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
+User task: unwar     org.apache.tools.ant.taskdefs.Expand
+User task: filter     org.apache.tools.ant.taskdefs.Filter
+User task: wlstop     org.apache.tools.ant.taskdefs.optional.ejb.WLStop
+User task: cvs     org.apache.tools.ant.taskdefs.Cvs
+User task: mparse     
org.apache.tools.ant.taskdefs.optional.metamata.MParse
+User task: echo     org.apache.tools.ant.taskdefs.Echo
+User task: p4sync     
org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
+User task: sql     org.apache.tools.ant.taskdefs.SQLExec
+User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
+User task: p4change     
org.apache.tools.ant.taskdefs.optional.perforce.P4Change
+User task: jar     org.apache.tools.ant.taskdefs.Jar
+User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
+User task: move     org.apache.tools.ant.taskdefs.Move
+User task: rename     org.apache.tools.ant.taskdefs.Rename
+User task: zip     org.apache.tools.ant.taskdefs.Zip
+User task: p4submit     
org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
+User task: exec     org.apache.tools.ant.taskdefs.ExecTask
+User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
+User task: vsslabel     
org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
+User task: untar     org.apache.tools.ant.taskdefs.Untar
+User task: apply     org.apache.tools.ant.taskdefs.Transform
+User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
+User datatype: mapper     org.apache.tools.ant.types.Mapper
+User datatype: patternset     org.apache.tools.ant.types.PatternSet
+User datatype: fileset     org.apache.tools.ant.types.FileSet
+User datatype: path     org.apache.tools.ant.types.Path
Setting project property: ant.home -> d:\jakarta-ant-1.3
Setting project property: java.specification.name -> Java Platform API 
Specification
Setting project property: awt.toolkit -> sun.awt.windows.WToolkit
Setting project property: java.version -> 1.2.2
Setting project property: java.awt.graphicsenv -> 
sun.awt.Win32GraphicsEnvironment
Setting project property: user.timezone -> America/New_York
Setting project property: java.specification.version -> 1.2
Setting project property: java.vm.vendor -> Sun Microsystems Inc.
Setting project property: java.vm.specification.version -> 1.0
Setting project property: user.home -> C:\WINNT\Profiles\pbicioglu
Setting project property: os.arch -> x86
Setting project property: java.awt.fonts ->
Setting project property: java.vendor.url -> http://java.sun.com/
Setting project property: file.encoding.pkg -> sun.io
Setting project property: user.region -> US
Setting project property: java.home -> d:\jdk1.2.2\jre
Setting project property: java.class.path -> 
d:\jdk1.2.2\lib\tools.jar;d:\jakarta-ant-1.3\
lib\xerces.jar;d:\jakarta-ant-1.3\lib\parser.jar;d:\jakarta-ant-1.3\lib\jaxp
.jar;d:\jakart
a-ant-1.3\lib\jakarta-ant-1.3-optional.jar;d:\jakarta-ant-1.3\lib\ant.jar;d:
\Tomcat\jakart
a-tomcat-3.2.2b3\lib\servlet.jar;d:\Tomcat\jakarta-tomcat-3.2.2b\ant.jar;d:\
Tomcat\jakarta
-tomcat-3.2.2b3\lib\jasper.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\jaxp.jar
;d:\Tomcat\jak
arta-tomcat-3.2.2b3\lib\parser.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\webs
erver.jar;d:\a
p20\websrc\WEB-INF\classes\org\apache\struts\form
Setting project property: line.separator ->

Setting project property: java.ext.dirs -> d:\jdk1.2.2\jre\lib\ext
Setting project property: java.io.tmpdir -> C:\TEMP\
Setting project property: os.name -> Windows NT
Setting project property: java.vendor -> Sun Microsystems Inc.
Setting project property: java.awt.printerjob -> sun.awt.windows.WPrinterJob
Setting project property: java.library.path -> 
d:\jdk1.2.2\bin;.;C:\WINNT\System32;C:\WINN
T;D:\PROGRA~1\MKSTOO~1\bin;D:\PROGRA~1\MKSTOO~1\bin\x11;D:\PROGRA~1\MKSTOO~1
\mksnt;D:\oran
t\bin;C:\WINNT\system32;C:\WINNT;C:\DMI\bin;d:\Program 
Files\Mts;C:\PROGRA~1\ULTRAE~1;C:\P
ROGRA~1\SEGUE\SILKTEST;D:\jdk1.2.2\bin;d:\jakarta-ant-1.3\bin;d:\Java2\Bin;C
:\Program 
File
s\Common Files\WebGain Shared;d:\Bin;
Setting project property: java.vm.specification.vendor -> Sun Microsystems 
Inc.
Setting project property: sun.io.unicode.encoding -> UnicodeLittle
Setting project property: file.encoding -> Cp1252
Setting project property: java.specification.vendor -> Sun Microsystems Inc.
Setting project property: user.name -> pbicioglu
Setting project property: user.language -> en
Setting project property: java.vendor.url.bug -> 
http://java.sun.com/cgi-bin/bugreport.cgi

Setting project property: java.vm.name -> Classic VM
Setting project property: java.vm.specification.name -> Java Virtual Machine

Specification

Setting project property: java.class.version -> 46.0
Setting project property: sun.boot.library.path -> d:\jdk1.2.2\jre\bin
Setting project property: os.version -> 4.0
Setting project property: java.vm.info -> build JDK-1.2.2-001, native 
threads, symcjit
Setting project property: java.vm.version -> 1.2.2
Setting project property: java.compiler -> symcjit
Setting project property: path.separator -> ;
Setting project property: user.dir -> D:\ap20
Setting project property: file.separator -> \
Setting project property: sun.boot.class.path -> 
d:\jdk1.2.2\jre\lib\rt.jar;d:\jdk1.2.2\jr
e\lib\i18n.jar;d:\jdk1.2.2\jre\classes
Setting ro project property: ant.file -> D:\ap20\build.xml
parsing buildfile D:\ap20\build.xml with URI = file:D:/ap20/build.xml
Setting ro project property: ant.project.name -> ap20
Setting project property: basedir -> D:\ap20
Project base dir set to: D:\ap20
   +Task: property
Setting project property: app.name -> struts
   +Task: property
Setting project property: deploy.home -> 
d:/Tomcat/jakarta-tomcat-3.2.2b3/webapps/struts
   +Task: property
Setting project property: dist.home -> 
d:/Tomcat/jakarta-tomcat-3.2.2b3/webapps
   +Task: property
Setting project property: dist.src -> struts.jar
   +Task: property
Setting project property: dist.war -> struts.war
   +Task: property
Setting project property: javadoc.home -> 
d:/Tomcat/jakarta-tomcat-3.2.2b3/webapps/struts/
javadoc
   +Task: property
Setting project property: classpath -> 
d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\servlet.jar;d:
\Tomcat\jakarta-tomcat-3.2.2b3\lib\parser.jar;    
d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\jas
per.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\jasp.jar;d:\Tomcat\jakarta-tomc
at-3.2.2b3\lib
\ant.jar;    
d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\webserver.jar;d:\ap20\websrc\WEB-INF\cl
a
sses\org\apache\struts\form\ProcessFormAction;d:\ap20\websrc\WEB-INF\classes
\org\apache\st
ruts\form\ValidateForm.class
+Target: getcode
   +Task: vssget
+Target: prepare
   +Task: mkdir
   +Task: copy
   +Task: mkdir
+Target: clean
   +Task: delete
+Target: compile
   +Task: javac
   +Task: copy
+Target: javadoc
   +Task: property
   +Task: property
   +Task: javadoc
+Target: all
+Target: dist
   +Task: jar
   +Task: jar
Build sequence for target `javadoc' is [javadoc]
Complete build sequence is [javadoc, prepare, compile, dist, getcode, clean,

all]

javadoc:
Setting project property: root -> org.apache.struts
Setting project property: src -> d:\ap20\java
Property ${version} has not been set
  [javadoc] Generating Javadoc
  [javadoc] Source path = D:\ap20\java
  [javadoc] Packages = [org.apache.struts.*]
  [javadoc] Exclude Packages = []
  [javadoc] Javadoc args: javadoc -d 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javad
oc -use -windowtitle "struts ${version} API" -doctitle struts -classpath 
D:\Tomcat\jakarta
-tomcat-3.2.2b3\lib\servlet.jar;D:\Tomcat\jakarta-tomcat-3.2.2b3\lib\parser.
jar;D:\Tomcat\
jakarta-tomcat-3.2.2b3\lib\jasper.jar;D:\Tomcat\jakarta-tomcat-3.2.2b3\lib\a
nt.jar;D:\Tomc
at\jakarta-tomcat-3.2.2b3\lib\webserver.jar;D:\ap20\websrc\WEB-INF\classes\o
rg\apache\stru
ts\form\ValidateForm.class -sourcepath D:\ap20\java -version -author 
org.apache.struts.for
m
  [javadoc] Javadoc execution
Execute:CommandLauncher: javadoc -d 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javado
c -use -windowtitle "struts ${version} API" -doctitle struts -classpath 
D:\Tomcat\jakarta-
tomcat-3.2.2b3\lib\servlet.jar;D:\Tomcat\jakarta-tomcat-3.2.2b3\lib\parser.j
ar;D:\Tomcat\j
akarta-tomcat-3.2.2b3\lib\jasper.jar;D:\Tomcat\jakarta-tomcat-3.2.2b3\lib\an
t.jar;D:\Tomca
t\jakarta-tomcat-3.2.2b3\lib\webserver.jar;D:\ap20\websrc\WEB-INF\classes\or
g\apache\strut
s\form\ValidateForm.class -sourcepath D:\ap20\java -version -author 
org.apache.struts.form

  [javadoc] Loading source files for package org.apache.struts.form...
  [javadoc] Constructing Javadoc information...
  [javadoc] D:\ap20\java\org\apache\struts\form\ValidateForm.java:14: 
Package org.apache.s
truts.action not found in import.
  [javadoc] import org.apache.struts.action.*;
  [javadoc]        ^
  [javadoc] D:\ap20\java\org\apache\struts\form\ValidateForm.java:26: 
Superclass org.apach
e.struts.form.ActionForm of class org.apache.struts.form.ValidateForm not 
found.
  [javadoc] public final class ValidateForm extends ActionForm
  [javadoc]                                         ^
  [javadoc] javadoc: warning - Cannot find class 
org.apache.struts.form.ActionMapping
  [javadoc] javadoc: warning - Cannot find class 
org.apache.struts.form.ActionErrors
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.action.Action - ignorin
g!
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.action.ActionError - ig
noring!
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.action.ActionErrors - i
gnoring!
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.action.ActionForm - ign
oring!
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.action.ActionForward -
ignoring!
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.action.ActionMapping -
ignoring!
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.action.ActionServlet -
ignoring!
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.util.MessageResources -
ignoring!
  [javadoc] javadoc: warning - Import not found: 
org.apache.struts.util.PropertyUtils - ig
noring!
  [javadoc] javadoc: warning - Cannot find class 
org.apache.struts.action.ActionMapping
  [javadoc] javadoc: warning - Cannot find class 
org.apache.struts.action.ActionForm
  [javadoc] javadoc: warning - Cannot find class 
org.apache.struts.action.ActionForward
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\org\apache\
struts\form\class-use\ValidateForm.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\org\apache\
struts\form\class-use\ProcessFormAction.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\org\apache\
struts\form\package-use.html...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\overview-tr
ee.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\index-all.h
tml...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\deprecated-
list.html...
  [javadoc] Building index for all classes...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\allclasses-
frame.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\index.html.
..
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\packages.ht
ml...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\org\apache\
struts\form\package-summary.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\org\apache\
struts\form\package-tree.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\org\apache\
struts\form\package-frame.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\org\apache\
struts\form\ProcessFormAction.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\org\apache\
struts\form\ValidateForm.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\serialized-
form.html...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\package-lis
t...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\help-doc.ht
ml...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.2b3\webapps\struts\javadoc\stylesheet.
css...
  [javadoc] 14 warnings

BUILD SUCCESSFUL

Total time: 7 seconds

and the code i have is still the same as before . I am posting it here again

anyway

<property name="classpath"
   
value="d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\servlet.jar;d:\Tomcat\jakarta-to
mcat-3.2.2b3\lib\parser.jar;
   
d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\jasper.jar;d:\Tomcat\jakarta-tomcat-3.2
.2b3\lib\jasp.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\ant.jar;
   
d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\webserver.jar;d:\ap20\websrc\WEB-INF\cl
asses\org\apache\struts\form"/>

<target name="javadoc" >

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


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Mime
View raw message