Add BSD license file
[platform/upstream/db4.git] / dist / s_javadoc
1 #!/bin/sh
2 #
3 # Build the HTML documentation for the Java API.
4
5 . RELEASE
6
7 # Save the absolute path of the target Berkeley DB documents directory.
8 DB_HOME=`dirname $0`/..
9
10 javadoc $JAVADOC_ARGS -protected -d $DB_HOME/docs/java \
11     -use -link http://java.sun.com/j2se/1.5.0/docs/api/ \
12     -link http://java.sun.com/javaee/5/docs/api/ \
13     -sourcepath $DB_HOME/java/src \
14     -source 1.5 \
15     -stylesheetfile $DB_HOME/java/doc/style.css \
16     -header '<b>Berkeley DB</b><br><font size="-1"> version '$DB_VERSION_MAJOR.$DB_VERSION_MINOR.$DB_VERSION_PATCH'</font>' \
17     -windowtitle 'Oracle - Berkeley DB Java API' -bottom '<font size=1>Copyright (c) 1996-2009 Oracle.  All rights reserved.</font>' \
18     com.sleepycat.db \
19     com.sleepycat.bind com.sleepycat.bind.serial com.sleepycat.bind.tuple \
20     com.sleepycat.collections \
21     com.sleepycat.persist com.sleepycat.persist.model \
22     com.sleepycat.persist.evolve com.sleepycat.persist.raw \
23     com.sleepycat.util \
24     -group 'Berkeley DB Core Package' com.sleepycat.db \
25     -group 'Berkeley DB Direct Persistence Layer (DPL) Packages' \
26     com.sleepycat.persist:com.sleepycat.persist.model:com.sleepycat.persist.evolve:com.sleepycat.persist.raw \
27     -group 'Berkeley DB Bind and Collections Packages' com.sleepycat.bind:com.sleepycat.bind.serial:com.sleepycat.bind.tuple:com.sleepycat.collections:com.sleepycat.util | \
28     egrep -v 'Generating|first sentence'