#! /bin/sh # # $Id: filesToXML.sh,v 1.2 2002/10/02 14:15:11 oros Exp $ # if [ "$1" = "" ]; then echo "you must specify the directory to convert" >&2 exit 1 fi if [ "$2" = "" ]; then echo "you must specify the relative path of the imported files to the webapp" >&2 exit 1 fi if [ "$3" = "" ]; then echo "you must specify the filename of the generated file" >&2 exit 1 fi if [ "$4" = "" ]; then echo "you must specify the component where the found childs should be added" >&2 exit 1 fi echo "starting converter using directory '$1' and generating file '$2'..." java -classpath ../build/classes/ -Xmx128M com.finix.contelligent.util.FilesToXML $1 $2 $3 $4