export JBOSS_HOME=/opt/was/jboss-eap-6.4
export JBOSS_MODULES_BASE=$JBOSS_HOME/modules/system/layers/base

export CLASSPATH=.
export CLASSPATH=$CLASSPATH:./javax.servlet.jsp.jstl-api-1.2.1.jar
export CLASSPATH=$CLASSPATH:./jsp-api-2.0.jar
export CLASSPATH=$CLASSPATH:$JBOSS_MODULES_BASE/javax/servlet/api/main/jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar
export CLASSPATH=$CLASSPATH:$JBOSS_MODULES_BASE/javax/servlet/jsp/api/main/jboss-jsp-api_2.2_spec-1.0.2.Final-redhat-1.jar
export CLASSPATH=$CLASSPATH:$JBOSS_MODULES_BASE/javax/servlet/jstl/api/main/jboss-jstl-api_1.2_spec-1.0.6.Final-redhat-1.jar
export CLASSPATH=$CLASSPATH:$JBOSS_MODULES_BASE/org/jboss/log4j/logmanager/main/log4j-jboss-logmanager-1.0.2.Final-redhat-1.jar

export JAVA_HOME=/opt/java/jdk1.6.0_45
export PATH=$JAVA_HOME/bin:$PATH

CLASSES_HOME=../classes


javac -d $CLASSES_HOME -cp $CLASSPATH $1 
