#!/bin/bash
export JAVA_HOME=/usr/java/jdk1.6.0_18
export PATH=$JAVA_HOME/bin:$PATH
export LIBPATH=/home/manohar/software/baseproject/ejb3/lib
export CLASSPATH=$JAVA_HOME/jre/lib/rt.jar
export CLASSPATH=$CLASSPATH:$LIBPATH/mail.jar:$LIBPATH/poi-3.1-FINAL-20080629.jar:$LIBPATH/poi-contrib-3.1-FINAL-20080629.jar:$LIBPATH/poi-scratchpad-3.1-FINAL-20080629.jar:$LIBPATH/jaxrpc.jar:$LIBPATH/ibase-common.jar:$LIBPATH/ibase-webitm.jar:$LIBPATH/ibase-scheduler.jar:$LIBPATH/jboss-javaee.jar:$LIBPATH/jboss-ejb3-common-client.jar:$LIBPATH/jboss-ejb3-core-client.jar:$LIBPATH/log4j.jar:$LIBPATH/ibase-webitm-adm.jar:$LIBPATH/ibase-webitm-dis.jar:$LIBPATH/ibase-webitm-fin.jar:$LIBPATH/ibase-webitm-mfg.jar:$LIBPATH/ibase-webitm-sys.jar:$LIBPATH/webitm4-stubs.jar:$LIBPATH/servlet-api.jar:$LIBPATH/xerces.jar:$LIBPATH/axis.jar:$LIBPATH/easclient.jar:$LIBPATH/classes12.jar

$JAVA_HOME/bin/javac -deprecation -d classes ibase/webitm/ejb/eou/*.java 
cd classes
jar -cvfM ../ibase3-webitm-eou2-1-0.jar  ibase/webitm/ejb/eou/*.class 
