Perhaps you also need a classpathref="java" attribute, along with any other
classpath refs required of course.

-----Original Message-----
From: Pinar Bicioglu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 3:05 PM
To: [EMAIL PROTECTED]
Subject: RE: specifying packages in javadoc task


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

>From: "Varnavas, Frank" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>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:[EMAIL PROTECTED]]
>Sent: Thursday, May 31, 2001 12:17 PM
>To: [EMAIL PROTECTED]
>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

Reply via email to