You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Thielen <da...@thielen.com> on 2003/01/07 01:14:34 UTC

Ant: asking again - Javadoc command getting more source than I am pointing it to

Hi;

I am trying to generate javadocs for just the files that are the public api of my program. So I copy those files to a different directory and then javadoc that directory tree. However, it is somehow finding the additional files and including them in the javadocs. (It however does not include files for directories that I have no files in in the copied directory.) Here is my script (the directory temp2 does have just the copied files.):

<target name="doc_user">
    <delete dir="${temp2}"/>
    <mkdir dir="${temp2}"/>
    <copy todir="${temp2}" >
        <fileset dir="${src}" includes="net/windward/**/overview.html,
              net/windward/**/ProcessHtml.java,
              net/windward/**/ProcessPdf.java,
              net/windward/**/ProcessReport.java,
              net/windward/**/ProcessRtf.java,
              net/windward/**/ProcessTxt.java,
              net/windward/**/HtmlImage.java"/>
    </copy>

    <delete dir="${userdocs}"/>
    <mkdir dir="${userdocs}"/>
    <javadoc packagenames="net.windward.*"
           sourcepath="${temp2}"
           destdir="${userdocs}"
           use="true"
           Overview="${temp2}/net/windward/overview.html"
           />
    </javadoc>
</target>

Re: Ant: asking again - Javadoc command getting more source than I am pointing it to

Posted by David Thielen <da...@thielen.com>.
No - I have a lot of public methods & classes that are not part of my
"published" api.

thanks - dave


----- Original Message -----
From: "Stefan Bodewig" <bo...@apache.org>
To: <an...@jakarta.apache.org>
Sent: Monday, January 06, 2003 11:53 PM
Subject: Re: Ant: asking again - Javadoc command getting more source than I
am pointing it to


> On Mon, 6 Jan 2003, David Thielen <da...@thielen.com> wrote:
>
> > I am trying to generate javadocs for just the files that are the
> > public api of my program.
>
> Wouldn't <javadoc public="true" .../> do what you want without copying
> around any files?
>
> Stefan
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Ant: asking again - Javadoc command getting more source than I am pointing it to

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 6 Jan 2003, David Thielen <da...@thielen.com> wrote:

> I am trying to generate javadocs for just the files that are the
> public api of my program.

Wouldn't <javadoc public="true" .../> do what you want without copying
around any files?

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>