<?xml version="1.0" encoding="iso-8859-1"?>
<project name="anttasks">

    <!--This file has been modified for use by the Oracle Eclipse WTP plugin. 	-->    
    <property environment="env"/>     

    <property name="J2EE_HOME" value="${OC4J_HOME}"/>
    <property name="ORACLE_HOME" value="${OC4J_HOME}/../.."/>
    <property name="JAVA_HOME" value="${java.home}"/>
    <property name="OJDK_HOME" value="${ORACLE_HOME}/jdk"/>
    <property name="TOPLINK_HOME" value="${env.TOPLINK_HOME}"/>
	
    <!-- Runtime classpath for J2EE based applications -->
    <path id="common.j2ee.class.path">
        <pathelement location="."/>
        <pathelement location="${ORACLE_HOME}/jdbc/lib/ojdbc14dms.jar"/>
        <pathelement location="${J2EE_HOME}/oc4j.jar"/>
        <pathelement location="${J2EE_HOME}/lib/ejb.jar"/>
        <pathelement location="${J2EE_HOME}/lib/servlet.jar"/>
        <pathelement location="${J2EE_HOME}/lib/jta.jar"/>
        <pathelement location="${J2EE_HOME}/lib/jms.jar"/>
        <pathelement location="${J2EE_HOME}/lib/javax88.jar"/>
        <pathelement location="${J2EE_HOME}/lib/javax77.jar"/>
        <pathelement location="${J2EE_HOME}/lib/jmxri.jar"/>
        <pathelement location="${J2EE_HOME}/lib/jmx_remote_api.jar"/>
        <pathelement location="./build"/>
    </path>
    <property name="common.j2ee.class.path" refid="common.j2ee.class.path"/>

    <!-- Runtime classpath for webservices applications. -->
    <path id="common.webservices.class.path">
        <pathelement location="${J2EE_HOME}/lib/jax-qname-namespace.jar"/>
        <pathelement location="${J2EE_HOME}/lib/activation.jar"/>
        <pathelement location="${J2EE_HOME}/lib/mail.jar"/>
        <pathelement location="${J2EE_HOME}/lib/http_client.jar"/>
        <pathelement location="${ORACLE_HOME}/lib/xmlparserv2.jar"/>
        <pathelement location="${ORACLE_HOME}/jlib/ojpwss.jar"/>
        <pathelement location="${ORACLE_HOME}/jlib/ojpxml.jar"/>
        <pathelement location="${ORACLE_HOME}/jlib/ojpse.jar"/>
        <pathelement location="${ORACLE_HOME}/jlib/ojpsaml.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/wsserver.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/wsclient.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/wssecurity.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/dom4j.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/commons-logging.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/jaxrpc-api.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/jaxrpc.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/saaj-api.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/orasaaj.jar"/>
        <pathelement location="${ORACLE_HOME}/webservices/lib/xsdlib.jar"/>
    </path>
    <property name="common.webservices.class.path" refid="common.webservices.class.path"/>

    <!-- OC4J tasks classpath.  -->
    <path id="common.tasks.class.path">
    	<pathelement location="${ORACLE_HOME}/ant/lib/ant-oracle.jar"/>
    </path>
    <property name="common.tasks.class.path" refid="common.tasks.class.path"/>

    <!-- Target for displaying build information. -->
    <target name="common">
        <echo message="BuildName: ${ant.project.name}"/>
        <echo message="BuildHome: ${basedir}"/>
        <echo message="BuildFile: ${ant.file}"/>
        <echo message="BuildJVM: ${ant.java.version}"/>
    </target>

    <!-- Task definitions for oc4j deployment tasks -->
    <taskdef resource="oracle/antlib.xml" uri="antlib:oracle" loaderRef="oracle.tasks.loader">
    	<classpath>
            <pathelement path="${common.tasks.class.path}"/> 
        </classpath>
    </taskdef>

    <!-- Task definitions for oc4j webservices tasks -->
    <taskdef resource="oracle/antlib.xml" uri="antlib:oracle" loaderRef="oracle.tasks.loader">
        <classpath>
            <pathelement path="${common.tasks.class.path}"/>
        </classpath>
    </taskdef>	
	
</project>
