<?xml version="1.0" encoding="iso-8859-1"?>
<!--
     This file provides the common properties and settings used to build
     the application. It is referenced and included from the build.xml
     file.

     Note: the environment attribute used below may not work on all 
     operating systems. If this is the case, you will have to enter the
     physical locations of the directories that correspond to the JAVA_HOME, 
     ORACLE_HOME and J2EE_HOME locations referenced in this file. 
-->
<property environment="env"/>
<property name="JAVA_HOME" value="${env.JAVA_HOME}"/>
<property name="ORACLE_HOME" value="${env.ORACLE_HOME}"/>
<property name="J2EE_HOME" value="${env.J2EE_HOME}"/>

<!-- 
     Sets up a path to include the libraries required to compile the 
     application code 
-->
<path id="common.class.path">
   <pathelement location="."/>
   <pathelement location="./build" />
   <pathelement location="${J2EE_HOME}/oc4j.jar"/>
   <pathelement location="${J2EE_HOME}/lib/jdbc.jar"/>
   <pathelement location="${J2EE_HOME}/lib/jndi.jar"/>
   <pathelement location="${J2EE_HOME}/lib/ejb.jar"/>
   <pathelement location="${J2EE_HOME}/lib/servlet.jar"/>
   <pathelement location="${ORACLE_HOME}/webservices/lib/wsdl.jar"/>
   <pathelement location="${ORACLE_HOME}/soap/lib/soap.jar"/>
</path>

<!-- Set a property to easily reference the path common.class.path -->
<property name="common.class.path" refid="common.class.path"/>

<!-- The common target, displays info about the build -->
<target name="common">
      <echo message="Build Name: ${ant.project.name}" />
      <echo message="Build Home: ${basedir}" />
      <echo message="Build File: ${ant.file}" />
      <echo message="Build JVM : ${ant.java.version}" />
</target>
