On Sat, 27 Jul 2002, Michael B. Allen <[EMAIL PROTECTED]> wrote:
> 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/SmbFile.java,jcifs/smb/SmbFileOutputStream.java"/>
>         </fileset>
>     </javadoc>
> </target>
> 
> I get:
> 
> /home/miallen/p/j/jcifs_0.6.5/build.xml:71: The <javadoc2> task
> doesn't support the nested "fileset" element.

(1) You are not using Ant 1.5 (1.4.1's <javadoc> doesn't support
<fileset>).

(2) <include>'s name attribute expects a single pattern, not multiple
patterns.  Use two <include> elements or the includes attribute of
<fileset>.

For an option that works in 1.4.1 and 1.5, take a look at <javadoc>'s
sourcefiles attribute.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to