ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LEBLANC, CLAUDE" <claude.lebl...@bell.ca>
Subject javadoc for *.java ??
Date Mon, 31 Jul 2000 18:19:04 GMT
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