ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LEBLANC, CLAUDE" <claude.lebl...@bell.ca>
Subject Re: javadoc for *.java ??
Date Mon, 31 Jul 2000 18:44:42 GMT
Forgot to say that what ever I try that differs from "doc" 
I get : No package, class or source file found!

thanks

> 
> Hi,
> I can't find the way to tell the javadoc task of jakarta-ant
> to look for every .java files in the source dir without having
> to enter the list of files myself.
> I'd like to have something like target "doc2" bellow but only target
> "doc" works.
> 
> Where am I wrong ??
> Thanks.
> 
>    <target name="doc" depends="prepare">
>       <javadoc sourcepath="./src"
>                sourcefiles="./src/file1.java, ./src/file2.java"
>                destdir="${project.deploy}/doc/"
>                private="on"
>       />
>    </target>
> 
>    <target name="doc2" depends="prepare">
>       <javadoc sourcepath="./src"
>                sourcefiles="*.java"
>                destdir="${project.deploy}/doc/"
>                private="on"
>       />
>    </target>

Mime
View raw message