Hello, --- JS developer <[EMAIL PROTECTED]> wrote:
> hi, > i'm a beginner with ant, i want to generate the > javadoc for the entire src.zip that comes with the > sun jdk download. Quite an ambitious undertaking :). Why don't you just download it from[1]. Anyway, it you want it for educational purposes, here are some guideliness: 0) Read <javadoc> task documentation[2] 1) <javadoc> task will (in this case) a very long command line, that might exceeed the maximal command line length for some OS. If so, use useexternalfile attribute of <javadoc> task 2) It will definitely consume a great deal with memory so you should increase the maximum heap size using ANT_OPTS environement variable[3]. In fact, I run the following snippet with 512m heap size and it fails with an OutOfMemoryError: <javadoc author="yes" destdir="C:\\j2sdk1.4.2_03\\javadocs" useexternalfile="true" package="yes"> <fileset dir="C:\\j2sdk1.4.2_03\\src"> <include name="**/*.java"/> </fileset> </javadoc> Regards Ivan [1]http://java.sun.com/j2se/1.5.0/download.jsp [2]http://ant.apache.org/manual/CoreTasks/javadoc.html [3]http://ant.apache.org/manual/running.html#envvars > > Thanks in advance, > JS ____________________________________________________ Sell on Yahoo! Auctions no fees. Bid on great items. http://auctions.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]