blob: 59a9a5ee6a0e34b81f317f7ca588b4d1a9b357e8 [file] [log] [blame]
Vinay Vishal57171472018-09-18 20:22:00 +05301<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE project [
3<!--
4
5 Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
6
7 This program and the accompanying materials are made available under the
8 terms of the Eclipse Public License v. 2.0, which is available at
9 http://www.eclipse.org/legal/epl-2.0.
10
11 This Source Code may also be made available under the following Secondary
12 Licenses when the conditions for such availability set forth in the
13 Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
14 version 2 with the GNU Classpath Exception, which is available at
15 https://www.gnu.org/software/classpath/license.html.
16
17 SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
18
19-->
20
21<!ENTITY commonSetup SYSTEM "./../../../config/properties.xml">
22 <!ENTITY commonBuild SYSTEM "./../../../config/common.xml">
23 <!ENTITY jdbcCommon SYSTEM "./../JdbcCommon.xml">
24 <!ENTITY jdbcCommonProperties SYSTEM "./../JdbcCommon.properties">
25 <!ENTITY reporting SYSTEM "./../report.xml">
26 <!ENTITY eeCommon SYSTEM "./../config/ee-common.xml">
27 <!ENTITY eeCommonProperties SYSTEM "./../config/ee-properties.xml">
28 ]>
29
30<project name="jdbc" default="usage" basedir=".">
31 <!--
32 &commonSetup;
33 &commonBuild;
34 &reporting;
35 &jdbcCommon;
36 &jdbcCommonProperties;
37 -->
38 &eeCommon;
39 &eeCommonProperties;
40
41 <target name="all">
42 <antcall target="${execution.mode}-all"/>
43 </target>
44
45 <target name="pe-all">
46 <delete>
47 <fileset dir="${env.APS_HOME}" includes="test_results*"/>
48 </delete>
49 <delete>
50 <fileset dir="." includes="*.output"/>
51 </delete>
52 <record name="jdbc.output" action="start"/>
53 <antcall target="contauth"/>
54 <antcall target="autocommit"/>
55 <antcall target="maxconnectionusage"/>
56 <antcall target="multipleusercredentials"/>
57 <antcall target="statementtimeout"/>
58 <antcall target="connleaktracing"/>
59 <antcall target="conncreationretry"/>
60 <antcall target="resEnableDisable"/>
61 <record name="jdbc.output" action="stop"/>
62 </target>
63
64 <target name="ee-all">
65 <delete>
66 <fileset dir="${env.APS_HOME}" includes="test_results*"/>
67 </delete>
68 <delete>
69 <fileset dir="." includes="*.output"/>
70 </delete>
71 <record name="jdbc.output" action="start"/>
72 <antcall target="contauth"/>
73 <antcall target="autocommit"/>
74 <antcall target="maxconnectionusage"/>
75 <antcall target="multipleusercredentials"/>
76 <antcall target="statementtimeout"/>
77 <antcall target="connleaktracing"/>
78 <antcall target="conncreationretry"/>
79 <antcall target="resEnableDisable"/>
80 <record name="jdbc.output" action="stop"/>
81 </target>
82
83 <target name="contauth">
84 <record name="contauth/contauth.output" action="start"/>
85 <ant dir="contauth" target="all"/>
86 <record name="contauth/contauth.output" action="stop"/>
87 </target>
88
89 <target name="autocommit">
90 <record name="autocommit/autocommit.output" action="start"/>
91 <ant dir="autocommit" target="all"/>
92 <record name="autocommit/autocommit.output" action="stop"/>
93 </target>
94
95 <target name="maxconnectionusage">
96 <record name="maxconnectionusage/maxconnectionusage.output" action="start"/>
97 <ant dir="maxconnectionusage" target="all"/>
98 <record name="maxconnectionusage/maxconnectionusage.output" action="stop"/>
99 </target>
100
101 <target name="multipleusercredentials">
102 <record name="multipleusercredentials/multipleusercredentials.output" action="start"/>
103 <ant dir="multipleusercredentials" target="all"/>
104 <record name="multipleusercredentials/multipleusercredentials.output" action="stop"/>
105 </target>
106
107 <target name="statementtimeout">
108 <record name="statementtimeout/statementtimeout.output" action="start"/>
109 <ant dir="statementtimeout" target="all"/>
110 <record name="statementtimeout/statementtimeout.output" action="stop"/>
111 </target>
112
113 <target name="connleaktracing">
114 <record name="connleaktracing/connleaktracing.output" action="start"/>
115 <ant dir="connleaktracing" target="all"/>
116 <record name="connleaktracing/connleaktracing.output" action="stop"/>
117 </target>
118
119 <target name="conncreationretry">
120 <record name="conncreationretry/conncreationretry.output" action="start"/>
121 <ant dir="conncreationretry" target="all"/>
122 <record name="conncreationretry/conncreationretry.output" action="stop"/>
123 </target>
124
125 <target name="resEnableDisable">
126 <record name="resEnableDisable/resenabledisable.output" action="start"/>
127 <ant dir="resEnableDisable" target="all"/>
128 <record name="resEnableDisable/resenabledisable.output" action="stop"/>
129 </target>
130 <target name="usage">
131 <echo>
132 Usage:
133 ant all (Executes all the jdbc tests)
134 </echo>
135 </target>
136</project>