DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14101>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14101 Javadoc is failing when using with fileset nested element. Summary: Javadoc is failing when using with fileset nested element. Product: Ant Version: 1.5.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am using the 1.5.1 version of ant. I wrote the following ant script to generate the javadoc for a large number of java source files in a single folder(directory structure not matching the package structre). <project name="XYZ" default="publish-XYZJavadoc" > <!-- This target publishes the javadoc. --> <target name="publish-XYZJavadoc" description="This target publishes the Javadoc."> <copy todir=".\temp\server" preservelastmodified="yes" includeEmptyDirs="No"> <mapper type="flatten" /> <fileset dir=".\server" > <include name="**/*.java"/> </fileset> </copy> <javadoc public="true" destdir="C:\PVCSWORK\PC\api" author="true" version="true" use="true" maxmemory="128m" windowtitle="PC API"> <fileset dir=".\temp\server" > <include name="**/*.java"/> </fileset> <doctitle><![CDATA[<h1>Concorde</h1>]]></doctitle> <bottom><![CDATA[<i>Copyright (c) DST Interactive, Inc. and DST Innovis, Inc., 2002. All Rights Reserved.</i>]]></bottom> </javadoc> <echo>Published the javadoc .</echo> </target> </project> The above code is working satisfactorily, if there are less than 470 source files in the directory /temp/server and the javadoc is generated for all the source files. However, if the no. of files is more than 470, the following error is being thrown: Buildfile: temp.xml publish-XYZJavadoc: [copy] Copying 747 files to C:\PVCSWORK\ProductCatalog\temp\server [javadoc] Generating Javadoc [javadoc] Javadoc execution BUILD FAILED file:C:/PVCSWORK/ProductCatalog/temp.xml:19: Javadoc failed: java.io.IOException: CreateProcess: C:\bea\jdk131\bin\javad oc.exe -public -d C:\PVCSWORK\ProductCatalog\api -use -J-Xmx128m - windowtitle "PC API" -doctitle <h1>Concorde</h1> -bott -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
