I checked in a ruby script for generating Javadoc for all the Concord 
Java projects with maven poms:

svn:
   https://svn.concord.org/svn/projects/trunk/common/java/javadoc.rb

trac:
   http://trac.cosmos.concord.org/projects/browser/trunk/common/java/javadoc.rb

Running the script creates index.html at the root dir with links to 
javadoc for each project.

Tested on a hierarchical dir structure created by executing:

   svn co https://svn.concord.org/svn/projects/trunk/common/java

The ruby script would probably work fine in other maven-managed 
multi-project codebases/dir-structures and could be easily extended 
to support ant-based javadoc tasks also.

Running the script:

   cd /path/to/root/of/common/java
   ./javadoc.rb

or if the script is not directly executable:

   ruby javadoc.rb

I found I had to set a high maximum memory for maven:

   export MAVEN_OPTS=-Xmx1024m

It takes about 12m on my system.

While generating Javadoc for JackRabbit (the Apache project) the mvn 
javadoc:javadoc task still kept running out of memory.

I'm running on MacOS 10.5.3.  The out of memory problem happened with 
Java 1.5.0_13 and Java 1.6.0_05 from Apple. Generating the JackRabbit 
Javadoc worked when I switched to Soylatte 1.6.0_03.

fyi: here's how I built and installed Soylatte on MacOS 10.5.2:

   https://confluence.concord.org/display/TSC/SoyLatte+Java+1.6.0_03

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to