# The contents of this file are subject to the JOnAS Public License Version 
# 1.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License on the JOnAS web site.
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied.
# See the License for the specific terms governing rights and limitations
# under the License.
#
# The Original Code is JOnAS application server code released July 1999.
#
# The Initial Developer of the Original Code is Bull S.A.
# The Original Code and portions created by Bull S.A. are
#    Copyright (C) 1999 Bull S.A. All Rights Reserved.
#
# Contributor(s): ______________________________________.
#
# ---------------------------------------------------------------------------
# $Id: compile.sh,v 1.5 2000/03/16 08:50:26 durieuph Exp $
# ---------------------------------------------------------------------------

if [ ! -f $JONAS_ROOT/bin/config.env ]
then
    echo "JONAS_ROOT must be set"
    exit 1
fi

. $JONAS_ROOT/bin/config.env


set -x
 
[ -d ../../classes ] || mkdir ../../classes

# Compiles the source files
javac -d ../../classes Category.java CategoryBeanPK.java CategoryBean.java CategoryHome.java CategoryClient.java
 


# Generates the interposition classes and compiles them
GenIC -d ../../classes -keepgenerated Category.xml
