ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael B. Allen" <>
Subject How do you write a good javadoc task?
Date Sat, 27 Jul 2002 21:17:32 GMT
This doesn't work:

<target name="d">
    <delete dir="docs/api"/>
    <mkdir dir="docs/api"/>
    <javadoc destdir="docs/api">
        <fileset dir="src">
            <include name="jcifs/smb/,jcifs/smb/"/>

I get:

/home/miallen/p/j/jcifs_0.6.5/build.xml:71: The <javadoc2> task doesn't support the
nested "fileset" element.

Actually I want javadoc to be generated for select files from 3 different
packages; jcifs, jcifs.netbios, and jcifs.smb. Can someone show me an
optimal way to do that? My old build.xml doesn't work with the latest
Ant. I get lot's of:

[javadoc] javadoc: No package, class, or source file found named /home/miallen/p/j/jcifs_0.6.5/jcifs/smb/SmbFileOutputStream.


A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and more importantly to tasks that have not
yet been conceived. 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message