FaunaEuropeae basionym import
[cdmlib.git] / pdfdocs / cdmlib-doc.sh
index 5d3349d292abd499f0d6340d255d366e0248a63f..bb6228867f1fa0868dbc613d2e09c4fa2083aeb0 100755 (executable)
@@ -1,13 +1,15 @@
 #!/bin/sh
 
-# Simple example shell script which demonstrates
-# how to use the PDFDoclet with javadoc directly
-# (which means: without ANT).
+# shell script producing PDF documentation for the CDM model packages
+# http://sourceforge.net/projects/pdfdoclet/
+# PLEASE ADJUST JAVA_HOME
+JAVA_HOME=/Library/Java/Home
+
+
 CFG=cdmlib-config.properties
 BASEPCKG="eu.etaxonomy.cdm.model"
 PACKAGES="$BASEPCKG.agent $BASEPCKG.common $BASEPCKG.description $BASEPCKG.location $BASEPCKG.molecular $BASEPCKG.name $BASEPCKG.occurrence $BASEPCKG.package.html $BASEPCKG.reference $BASEPCKG.taxon"
 SRC=../cdmlib-model/src/main/java
-JAVA_HOME=/Library/Java/Home
 
 PATH=$JAVA_HOME/bin
 VERSION=1.0.2
@@ -17,4 +19,4 @@ JARS=pdfdoclet-$VERSION-all.jar
 
 export JAVA_HOME PATH DOCLET JARS PACKAGES
 
-javadoc -doclet $DOCLET -docletpath $JARS -config $CFG -sourcepath $SRC $PACKAGES
+javadoc -J-Xmx128M -doclet $DOCLET -docletpath $JARS -config $CFG -sourcepath $SRC $PACKAGES