#!/bin/sh

if [ -z "$OPALE_DIR" ]
then
	echo "OPALE_DIR not initialized !"
	exit -1
fi

echo "--------------------------------------"
echo "Creates the documentation with javadoc"
echo "--------------------------------------"

javadoc -windowtitle "Opale API V1b2 documentation" -d $OPALE_DIR/documentation/API/ -author  -version opale opale.ode.ker opale.ode.scheme opale.m2d.ker opale.m2d.component2d opale.m2d.object2d opale.tools opale.mathtools

echo "The documentation is put in " $OPALE_DIR/documentation/API 
