blob: 7d84ededff2d132c24fa2b0062f6a45ffd784b62 [file] [log] [blame]
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Copyright (c) 2006, 2019 IBM Corporation and others.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial API and implementation
-->
<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}"/>
<!-- If your OS does not support the environment variable
Comment out the 3 lines above, and un-comment the 2
below. -->
<!--
<property name="JAVA_HOME" value="d:\Program Files\jdk131"/>
<property name="OC4J_HOME" value="d:\Apps\OC4Jv2"/>
-->
<!-- Runtime classpath for J2EE based applications -->
<path id="common.j2ee.class.path">
<pathelement location="."/>
<pathelement location="${ORACLE_HOME}/jdbc/lib/classes12.jar"/>
<pathelement location="${J2EE_HOME}/oc4j.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}/jdk/jre/lib/ext/jta.jar"/>
<pathelement location="${J2EE_HOME}/lib/jdbc.jar"/>
<pathelement location="./build"/>
<pathelement location="${J2EE_HOME}/lib/jms.jar"/>
</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/osdt_wss.jar"/>
<pathelement location="${ORACLE_HOME}/jlib/osdt_xmlsec.jar"/>
<pathelement location="${ORACLE_HOME}/jlib/osdt_cert.jar"/>
<pathelement location="${ORACLE_HOME}/jlib/osdt_core.jar"/>
<pathelement location="${ORACLE_HOME}/jlib/osdt_saml.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"/>
<pathelement location="${J2EE_HOME}/lib/javax88.jar"/>
<pathelement location="${J2EE_HOME}/admin_client.jar"/>
<pathelement location="${J2EE_HOME}/oc4jclient.jar"/>
<pathelement location="${ORACLE_HOME}/webservices/lib/wsa.jar"/>
<pathelement location="${J2EE_HOME}/lib/bcel.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>
</project>