Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 81780838fe75ee59baaaf5253ae3ea6b5c8e911b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?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>

Back to the top