ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinar Bicioglu" <pinarb...@hotmail.com>
Subject RE: specifying packages in javadoc task
Date Thu, 31 May 2001 19:04:51 GMT
What you suggest is completely right! However I am still getting these 
annoying "14 warnings" that I mentioned in my earlier messages. I am going 
to post it again anyway. Please let me know if you have any idea why it 
happens ...Thanks a lot...

D:\ap20>ant javadoc
Buildfile: build.xml

prepare:

compile:

javadoc:
  [javadoc] Generating Javadoc

BUILD FAILED

D:\ap20\build.xml:66: D:\ap20\ap20 not found.

Total time: 2 seconds
D:\ap20>ant javadoc
Buildfile: build.xml

prepare:

compile:

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [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] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating 
D:\Tomcat\jakarta-tomcat-3.2.1\webapps\struts\javadoc\stylesheet.cs
s...
  [javadoc] 14 warnings

BUILD SUCCESSFUL

Total time: 7 seconds


>From: "Varnavas, Frank" <frank.varnavas@gs.com>
>Reply-To: ant-user@jakarta.apache.org
>To: "'ant-user@jakarta.apache.org'" <ant-user@jakarta.apache.org>
>Subject: RE: specifying packages in javadoc task
>Date: Thu, 31 May 2001 14:02:28 -0400
>
>a packagenames attribute probably should end in .*, ans the classpath
>shouuld point to the root of the tree containing the package
>
>I'm guessing you meant something like
><javadoc sourcepath="java"
>          
>packagenames="org.apache.struts.form.*,org.apache.struts.action.*"
>          destdir="$javadoc.home}" />
>
>-----Original Message-----
>From: Pinar Bicioglu [mailto:pinarbici@hotmail.com]
>Sent: Thursday, May 31, 2001 12:17 PM
>To: ant-user@jakarta.apache.org
>Subject: specifying packages in javadoc task
>
>
>Hi,
>I have been trying to use javadoc task of ant correctly since yesterday. I
>have used struts in my project and used "org.apache.struts.form" package.
>
>Even though I have the followinf piece of code in my xml file, it doesn't
>seem working ?? Wehn I specify sourcefiles instead of packagenames then 
>code
>
>documentation is generated in javadoc directory with 13 warnings
>I appreciate any kind of help
>
>The code I have is,
>
><target name="javadoc" depends="compile">
>     <javadoc sourcepath="java/org/apache/struts/form"
>packagenames="java/org/apache/struts/form/org.apache.struts.action"
>             destdir="${javadoc.home}"/>
></target>
>
>Thanks
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com

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


Mime
View raw message