--- /dev/null
+#!/bin/bash
+#
+# Usage:
+# classpath.sh [ownpath]
+#
+# ownpath: anzuhaengende persoenliche Klassen-Pfade
+#
+
+
+RCFILE=classpathrc
+
+# classpathrc auswerten
+DUM=$( cat $RCFILE )
+
+# Zeilenumbrueche entfernen und Tilde erweitern
+DUM2=$( for i in $DUM ; do eval echo -n "$i:" ; done )
+
+# Sicherstellen, dass kein doppelter Doppelpunkt in CLASSPATH enthalten ist. Nur wegen der Sicherheit.
+echo "$(/bin/echo $DUM2 | /bin/sed -e "s/::/:/g")"
+
--- /dev/null
+#!/bin/bash
+
+# Generates JavaDoc documentation of the Mir sources
+
+if ( grep XXXUNCONFIGUREDXXX classpathrc > /dev/null ); then
+ echo "Before you can use this script you have to edit classpathrc"
+ echo "so it contains all pathnames and .jar files that are neccessary"
+ echo "to build the docs. You'll see the warnings if some files are missing."
+fi
+
+
+OLDU=$(umask)
+umask 022
+
+BASEDIR=$(pwd)
+SOURCES=$(find $BASEDIR/../source -name \*.java)
+PACKAGES=$(. classpath.sh $BASEDIR/../../Mir/WEB-INF/lib/*.jar)
+LINK=/usr/share/doc/libservlet2.2-java/api
+
+#echo $BASEDIR
+#echo $SOURCES
+#echo $PACKAGES
+
+javadoc -link $LINK -sourcepath $PACKAGES -d /pub/Dokumente/Indymedia/de-tech/Mir/javadoc/ $SOURCES
+
+umask $OLDU
\ No newline at end of file