blob: 93c77d3b9a75c1bdb26dd301db9d7c0a235a095a [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE project [
<!--
Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<!ENTITY commonSetup SYSTEM "./../../../config/properties.xml">
<!ENTITY commonBuild SYSTEM "./../../../config/common.xml">
<!ENTITY jdbcCommon SYSTEM "./../JdbcCommon.xml">
<!ENTITY jdbcCommonProperties SYSTEM "./../JdbcCommon.properties">
<!ENTITY reporting SYSTEM "./../report.xml">
<!ENTITY eeCommon SYSTEM "./../config/ee-common.xml">
<!ENTITY eeCommonProperties SYSTEM "./../config/ee-properties.xml">
]>
<project name="jdbc" default="usage" basedir=".">
<!--
&commonSetup;
&commonBuild;
&reporting;
&jdbcCommon;
&jdbcCommonProperties;
-->
&eeCommon;
&eeCommonProperties;
<target name="all">
<antcall target="${execution.mode}-all"/>
</target>
<target name="pe-all">
<delete>
<fileset dir="${env.APS_HOME}" includes="test_results*"/>
</delete>
<delete>
<fileset dir="." includes="*.output"/>
</delete>
<record name="jdbc.output" action="start"/>
<antcall target="contauth"/>
<antcall target="autocommit"/>
<antcall target="maxconnectionusage"/>
<antcall target="multipleusercredentials"/>
<antcall target="statementtimeout"/>
<antcall target="connleaktracing"/>
<antcall target="conncreationretry"/>
<antcall target="resEnableDisable"/>
<record name="jdbc.output" action="stop"/>
</target>
<target name="ee-all">
<delete>
<fileset dir="${env.APS_HOME}" includes="test_results*"/>
</delete>
<delete>
<fileset dir="." includes="*.output"/>
</delete>
<record name="jdbc.output" action="start"/>
<antcall target="contauth"/>
<antcall target="autocommit"/>
<antcall target="maxconnectionusage"/>
<antcall target="multipleusercredentials"/>
<antcall target="statementtimeout"/>
<antcall target="connleaktracing"/>
<antcall target="conncreationretry"/>
<antcall target="resEnableDisable"/>
<record name="jdbc.output" action="stop"/>
</target>
<target name="contauth">
<record name="contauth/contauth.output" action="start"/>
<ant dir="contauth" target="all"/>
<record name="contauth/contauth.output" action="stop"/>
</target>
<target name="autocommit">
<record name="autocommit/autocommit.output" action="start"/>
<ant dir="autocommit" target="all"/>
<record name="autocommit/autocommit.output" action="stop"/>
</target>
<target name="maxconnectionusage">
<record name="maxconnectionusage/maxconnectionusage.output" action="start"/>
<ant dir="maxconnectionusage" target="all"/>
<record name="maxconnectionusage/maxconnectionusage.output" action="stop"/>
</target>
<target name="multipleusercredentials">
<record name="multipleusercredentials/multipleusercredentials.output" action="start"/>
<ant dir="multipleusercredentials" target="all"/>
<record name="multipleusercredentials/multipleusercredentials.output" action="stop"/>
</target>
<target name="statementtimeout">
<record name="statementtimeout/statementtimeout.output" action="start"/>
<ant dir="statementtimeout" target="all"/>
<record name="statementtimeout/statementtimeout.output" action="stop"/>
</target>
<target name="connleaktracing">
<record name="connleaktracing/connleaktracing.output" action="start"/>
<ant dir="connleaktracing" target="all"/>
<record name="connleaktracing/connleaktracing.output" action="stop"/>
</target>
<target name="conncreationretry">
<record name="conncreationretry/conncreationretry.output" action="start"/>
<ant dir="conncreationretry" target="all"/>
<record name="conncreationretry/conncreationretry.output" action="stop"/>
</target>
<target name="resEnableDisable">
<record name="resEnableDisable/resenabledisable.output" action="start"/>
<ant dir="resEnableDisable" target="all"/>
<record name="resEnableDisable/resenabledisable.output" action="stop"/>
</target>
<target name="usage">
<echo>
Usage:
ant all (Executes all the jdbc tests)
</echo>
</target>
</project>