head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2001.08.06.20.58.21;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2001.08.06.20.38.35;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Allow specifying a variable with which to override javadoc.destdir in
the Ant build file.  Default to the right place on tigris.org.
@
text
@#!/bin/sh
#
# Builds the Helm API documentation (i.e. JavaDoc), placing it in the specified
# directory (defaulting to $SANDBOX/data/helm/htdoc/helm/www/docs/apidocs).
#
# usage: build_api_docs [destination dir]

JAVA_HOME="${JAVA_HOME:-/usr/jdk}"
ANT_HOME="${ANT_HOME:-/usr/lib/java}"
SANDBOX="${SANDBOX:-__SANDBOX__}"
export JAVA_HOME ANT_HOME SANDBOX

DEST_DIR="${1:-$SANDBOX/data/helm/htdoc/helm/www/docs/apidocs}"

cd ${SANDBOX}/helm/build
${ANT_HOME}/bin/ant javadocs -Djavadoc.destdir=${DEST_DIR} 2> /dev/null > /dev/null
@


1.1
log
@Cron'd commands for building API documentation.
@
text
@d1 6
a6 1
#/bin/sh
d13 2
d16 1
a16 1
${ANT_HOME}/bin/ant javadocs 2> /dev/null > /dev/null
@

