Changeset 5010
- Timestamp:
- 2003-07-23T11:37:43+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/document.sh
r4945 r5010 1 1 #!/bin/sh 2 2 3 4 ## -------- Generate documentation for the Greenstone Librarian Interface -------- 5 6 ## ---- Check Javadoc exists ---- 7 javadocpath= 8 9 # Some users may set the above line manually 10 if [ "$javadocpath" == "" ]; then 11 12 # If it is set, use the JAVAHOME environment variable 13 if [ "$JAVAHOME" != "" ]; then 14 javadocpath="$JAVAHOME/bin/javadoc" 15 16 # Check if Javadoc is on the search path 17 else 18 javadocpath=`which javadoc 2> /dev/null` 19 fi 20 fi 21 22 # Check that a Javadoc executable has been found 23 echo "Checking Javadoc: $javadocpath" 24 if [ ! -x "$javadocpath" ]; then 25 echo 26 echo "Failed to locate an appropriate version of Javadoc. You must install a" 27 echo "Java Development Kit (version 1.4 or greater) before generating the" 28 echo "documentation for the Greenstone Librarian Interface." 29 exit 1 30 fi 31 32 33 ## ---- Document the GLI ---- 34 echo 3 35 echo "Generating documentation for the Greenstone Librarian Interface..." 4 36 5 37 javadoc -classpath classes/ -sourcepath src/ -source 1.4 -author -breakiterator -d docs/ -group "Gatherer v2.3" org.greenstone.gatherer:org.greenstone.gatherer.checklist:org.greenstone.gatherer.collection:org.greenstone.gatherer.file:org.greenstone.gatherer.gui:org.greenstone.gatherer.gui.browser:org.greenstone.gatherer.gui.combobox:org.greenstone.gatherer.gui.messages:org.greenstone.gatherer.gui.metaaudit:org.greenstone.gatherer.gui.table:org.greenstone.gatherer.gui.tree:org.greenstone.gatherer.help:org.greenstone.gatherer.sarm:org.greenstone.gatherer.shell:org.greenstone.gatherer.util -group "Collection Design Module" org.greenstone.gatherer.cdm:org.greenstone.gatherer.cdm.custom -group "Metadata Set Manager" org.greenstone.gatherer.msm:org.greenstone.gatherer.msm.parsers -group "Value Tree Controls" org.greenstone.gatherer.valuetree -private -splitindex -version org.greenstone.gatherer org.greenstone.gatherer.checklist org.greenstone.gatherer.collection org.greenstone.gatherer.file org.greenstone.gatherer.gui org.greenstone.gatherer.gui.browser org.greenstone.gatherer.gui.combobox org.greenstone.gatherer.gui.messages org.greenstone.gatherer.gui.metaaudit org.greenstone.gatherer.gui.table org.greenstone.gatherer.gui.tree org.greenstone.gatherer.help org.greenstone.gatherer.sarm org.greenstone.gatherer.shell org.greenstone.gatherer.util org.greenstone.gatherer.cdm org.greenstone.gatherer.cdm.custom org.greenstone.gatherer.msm org.greenstone.gatherer.msm.parsers org.greenstone.gatherer.valuetree 6 38 7 echo "Done ."39 echo "Done!"
Note:
See TracChangeset
for help on using the changeset viewer.