| <?xml version="1.0" encoding="ISO-8859-1"?> | |
| <!-- | |
| 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 | |
| --> | |
| <!DOCTYPE project [ | |
| <!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; | |
| &jdbcCommon; | |
| &jdbcCommonProperties; | |
| <!--&eeCommon; | |
| &eeCommonProperties; | |
| --> | |
| &reporting; | |
| <target name="jdbc-all"> | |
| <delete> | |
| <fileset dir="${env.APS_HOME}" includes="test_results*"/> | |
| </delete> | |
| <delete> | |
| <fileset dir="${env.APS_HOME}" includes="JDBCtest_results.html"/> | |
| </delete> | |
| <delete> | |
| <fileset dir="." includes="*.output"/> | |
| </delete> | |
| <record name="jdbc.output" action="start"/> | |
| <antcall target="run-tests"/> | |
| <antcall target="report"> | |
| <param name="htmlfile" value="${env.APS_HOME}/test_results.html"/> | |
| </antcall> | |
| <record name="jdbc.output" action="stop"/> | |
| </target> | |
| <target name="jdbc-all-security"> | |
| <delete> | |
| <fileset dir="${env.APS_HOME}" includes="test_results*"/> | |
| </delete> | |
| <delete> | |
| <fileset dir="${env.APS_HOME}" includes="JDBCSecuritytest_results.html"/> | |
| </delete> | |
| <delete> | |
| <fileset dir="." includes="*.output"/> | |
| </delete> | |
| <record name="jdbc.secman.output" action="start"/> | |
| <antcall target="run-tests"/> | |
| <antcall target="report"> | |
| <param name="htmlfile" value="${env.APS_HOME}/JDBCSecuritytest_results.html"/> | |
| </antcall> | |
| <record name="jdbc.secman.output" action="stop"/> | |
| </target> | |
| <target name="run-tests"> | |
| <ant dir="appauth" target="all"/> | |
| <ant dir="appauthtx" target="all"/> | |
| <ant dir="contauth" target="all"/> | |
| <ant dir="contauthtx" target="all"/> | |
| <ant dir="contauth1" target="all"/> | |
| <ant dir="contauth1tx" target="all"/> | |
| <ant dir="reconfig" target="all"/> | |
| <ant dir="autocommit" target="all"/> | |
| <ant dir="jdbcjmsauth" target="all"/> | |
| <ant dir="nopasswdfordb" target="all"/> | |
| <ant dir="txpassthrough" target="all"/> | |
| <ant dir="txafternontx" target="all"/> | |
| <ant dir="txafternontxjndi" target="all"/> | |
| <ant dir="notxops" target="all"/> | |
| <ant dir="nonacc" target="all"/> | |
| <ant dir="lazyassoc" target="all"/> | |
| <ant dir="markconnectionasbad.local" target="all"/> | |
| <ant dir="markconnectionasbad.xa" target="all"/> | |
| <ant dir="statementwrapper" target="all"/> | |
| <ant dir="maxconnectionusage" target="all"/> | |
| <ant dir="switchoffACCconnpooling" target="all"/> | |
| <ant dir="multipleusercredentials" target="all"/> | |
| <ant dir="multiplecloseconnection" target="all"/> | |
| <ant dir="statementtimeout" target="all"/> | |
| <ant dir="conval" target="all"/> | |
| <ant dir="conval" target="all-assoc-with-thread"/> | |
| <ant dir="connleaktracing" target="all"/> | |
| <ant dir="conncreationretry" target="all"/> | |
| <ant dir="validateatmostonceperiod" target="all"/> | |
| <ant dir="connsharing" target="nonxa"/> | |
| <ant dir="connsharing/nonxa" target="all-assoc-with-thread"/> | |
| <ant dir="cpds" target="all"/> | |
| <ant dir="txisolation" target="all"/> | |
| <ant dir="stmtCaching_hit_miss" target="all"/> | |
| <ant dir="pooling" target="all"/> | |
| <ant dir="dmmcf" target="all"/> | |
| <ant dir="dmmcf.markconnectionasbad.xa" target="all"/> | |
| <ant dir="dmmcf.appclient" target="all"/> | |
| <ant dir="tracingsql" target="all"/> | |
| <ant dir="datasource40" target="all"/> | |
| <ant dir="custom-validation" target="all"/> | |
| <ant dir="custom-validation-1" target="all"/> | |
| <ant dir="flushconnectionpool" target="all"/> | |
| <ant dir="connleakreclaimnotify" target="all"/> | |
| <ant dir="stmtCaching_hit_miss.monitoring" target="all"/> | |
| <!--ant dir="transparent-pool-reconfig" target="all"/--> | |
| <!--ant dir="transparent-pool-reconfig-resources-xml" target="all"/--> | |
| <!--ant dir="sqltracemonitoring" target="all"/--> | |
| <!--ant dir="statementleakdetection" target="all"/--> | |
| <!--ant dir="appbasedMonitoring" target="all"/--> | |
| <ant dir="jpa-dsd" target="all" /> | |
| <ant dir="jpa-dsd" target="all-appclient-exposed-dsd"/> | |
| <ant dir="stmtCaching_hit_miss.fixed" target="all"/> | |
| <!--<antcall target="all-oracle"/>--> | |
| </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"/> | |
| <ant dir="appauth" target="all"/> | |
| <ant dir="appauthtx" target="all"/> | |
| <ant dir="contauth" target="all"/> | |
| <ant dir="contauthtx" target="all"/> | |
| <ant dir="contauth1" target="all"/> | |
| <ant dir="contauth1tx" target="all"/> | |
| <ant dir="reconfig" target="all"/> | |
| <ant dir="autocommit" target="all"/> | |
| <ant dir="cmpsimple" target="all"/> | |
| <ant dir="jdbcjmsauth" target="all"/> | |
| <ant dir="nopasswdfordb" target="all"/> | |
| <ant dir="notxops" target="all"/> | |
| <ant dir="txafternontx" target="all"/> | |
| <ant dir="txafternontxjndi" target="all"/> | |
| <ant dir="lazyassoc" target="all"/> | |
| <ant dir="switchoffACCconnpooling" target="all"/> | |
| <ant dir="markconnectionasbad.local" target="all"/> | |
| <ant dir="markconnectionasbad.xa" target="all"/> | |
| <ant dir="statementwrapper" target="all"/> | |
| <ant dir="maxconnectionusage" target="all"/> | |
| <ant dir="multipleusercredentials" target="all"/> | |
| <ant dir="multiplecloseconnection" target="all"/> | |
| <ant dir="statementtimeout" target="all"/> | |
| <ant dir="conval" target="all"/> | |
| <ant dir="connleaktracing" target="all"/> | |
| <ant dir="conncreationretry" target="all"/> | |
| <ant dir="connsharing" target="nonxa"/> | |
| <ant dir="validateatmostonceperiod" target="all"/> | |
| <ant dir="cpds" target="all"/> | |
| <ant dir="txisolation" target="all"/> | |
| <ant dir="stmtCaching_hit_miss" target="all"/> | |
| <ant dir="pooling" target="all"/> | |
| <ant dir="transparent-pool-reconfig" target="all"/> | |
| <ant dir="transparent-pool-reconfig-resources-xml" target="all"/> | |
| <ant dir="jpa-dsd" target="all" /> | |
| <ant dir="jpa-dsd" target="all-appclient-exposed-dsd"/> | |
| <record name="jdbc.output" action="stop"/> | |
| </target> | |
| <target name="all"> | |
| <antcall target="jdbc-all"/> | |
| </target> | |
| <target name="all-oracle"> | |
| <record name="jdbc-oracle.output" action="start"/> | |
| <ant dir="connsharing" target="xa"/> | |
| <ant dir="simpleoradd" target="all"/> | |
| <ant dir="dmmcf.notxconn" target="all"/> | |
| <ant dir="notxconn" target="all"/> | |
| <ant dir="reconfig" target="userpass"/> | |
| <ant dir="simpleora" target="all"/> | |
| <ant dir="init-sql" target="all"/> | |
| <record name="jdbc-oracle.output" action="stop"/> | |
| </target> | |
| <target name="all-with-security-manager"> | |
| <antcall target="create-jvm-options"> | |
| <param name="option" value="-Djava.security.manager"/> | |
| </antcall> | |
| <antcall target="restart-server"/> | |
| <antcall target="jdbc-all-security"/> | |
| <antcall target="delete-jvm-options"> | |
| <param name="option" value="-Djava.security.manager"/> | |
| </antcall> | |
| <antcall target="restart-server"/> | |
| </target> | |
| <target name="appauth"> | |
| <record name="appauth.output" action="start"/> | |
| <ant dir="appauth" target="all"/> | |
| <record name="appauth.output" action="stop"/> | |
| </target> | |
| <target name="appauthtx"> | |
| <record name="appauthtx.output" action="start"/> | |
| <ant dir="appauthtx" target="all"/> | |
| <record name="appauthtx.output" action="stop"/> | |
| </target> | |
| <target name="contauth"> | |
| <record name="contauth.output" action="start"/> | |
| <ant dir="contauth" target="all"/> | |
| <record name="contauth.output" action="stop"/> | |
| </target> | |
| <target name="contauthtx"> | |
| <record name="contauthtx.output" action="start"/> | |
| <ant dir="contauthtx" target="all"/> | |
| <record name="contauthtx.output" action="stop"/> | |
| </target> | |
| <target name="contauth1"> | |
| <record name="contauth1.output" action="start"/> | |
| <ant dir="contauth1" target="all"/> | |
| <record name="contauth1.output" action="stop"/> | |
| </target> | |
| <target name="contauth1tx"> | |
| <record name="contauth1tx.output" action="start"/> | |
| <ant dir="contauth1tx" target="all"/> | |
| <record name="contauth1tx.output" action="stop"/> | |
| </target> | |
| <target name="simple"> | |
| <record name="simple.output" action="start"/> | |
| <ant dir="simple" target="all"/> | |
| <record name="simple.output" action="stop"/> | |
| </target> | |
| <target name="reconfig-test"> | |
| <record name="reconfig.output" action="start"/> | |
| <ant dir="reconfig" target="all"/> | |
| <record name="reconfig.output" action="stop"/> | |
| </target> | |
| <target name="autocommit"> | |
| <record name="autocommit.output" action="start"/> | |
| <ant dir="autocommit" target="all"/> | |
| <record name="autocommit.output" action="stop"/> | |
| </target> | |
| <target name="conval"> | |
| <record name="conval.output" action="start"/> | |
| <ant dir="conval" target="all"/> | |
| <record name="conval.output" action="stop"/> | |
| </target> | |
| <target name="transactions"> | |
| <record name="transactions.output" action="start"/> | |
| <ant dir="transactions" target="all"/> | |
| <record name="transactions.output" action="stop"/> | |
| </target> | |
| <target name="cmpsimple"> | |
| <record name="cmpsimple.output" action="start"/> | |
| <ant dir="cmpsimple" target="all"/> | |
| <record name="cmpsimple.output" action="stop"/> | |
| </target> | |
| <target name="jdbcjmsauth"> | |
| <record name="jdbcjmsauth.output" action="start"/> | |
| <ant dir="jdbcjmsauth" target="all"/> | |
| <record name="jdbcjmsauth.output" action="stop"/> | |
| </target> | |
| <target name="nopasswdfordb"> | |
| <record name="nopasswdfordb.output" action="start"/> | |
| <ant dir="nopasswdfordb" target="all"/> | |
| <record name="nopasswdfordb.output" action="stop"/> | |
| </target> | |
| <target name="notxops"> | |
| <record name="notxops.output" action="start"/> | |
| <ant dir="notxops" target="all"/> | |
| <record name="notxops.output" action="stop"/> | |
| </target> | |
| <target name="txafternontx"> | |
| <record name="txafternontx.output" action="start"/> | |
| <ant dir="txafternontx" target="all"/> | |
| <record name="txafternontx.output" action="stop"/> | |
| </target> | |
| <target name="txpassthrough"> | |
| <record name="txpassthrough.output" action="start"/> | |
| <ant dir="txpassthrough" target="all"/> | |
| <record name="txpassthrough.output" action="stop"/> | |
| </target> | |
| <target name="nonacc"> | |
| <record name="nonacc.output" action="start"/> | |
| <ant dir="nonacc" target="all"/> | |
| <record name="nonacc.output" action="stop"/> | |
| </target> | |
| <target name="lazyassoc"> | |
| <record name="lazyassoc.output" action="start"/> | |
| <ant dir="lazyassoc" target="all"/> | |
| <record name="lazyassoc.output" action="stop"/> | |
| </target> | |
| <target name="switchoffACCconnpooling"> | |
| <record name="switchoffACCconnpooling.output" action="start"/> | |
| <ant dir="switchoffACCconnpooling" target="all"/> | |
| <record name="switchoffACCconnpooling.output" action="stop"/> | |
| </target> | |
| <target name="markconnectionasbad.xa"> | |
| <record name="markconnectionasbad.xa.output" action="start"/> | |
| <ant dir="markconnectionasbad.xa" target="all"/> | |
| <record name="markconnectionasbad.xa.output" action="stop"/> | |
| </target> | |
| <target name="markconnectionasbad.local"> | |
| <record name="markconnectionasbad.local.output" action="start"/> | |
| <ant dir="markconnectionasbad.local" target="all"/> | |
| <record name="markconnectionasbad.local.output" action="stop"/> | |
| </target> | |
| <target name="maxconnectionusage"> | |
| <record name="maxconnectionusage.output" action="start"/> | |
| <ant dir="maxconnectionusage" target="all"/> | |
| <record name="maxconnectionusage.output" action="stop"/> | |
| </target> | |
| <target name="statementwrapper"> | |
| <record name="statementwrapper.output" action="start"/> | |
| <ant dir="statementwrapper" target="all"/> | |
| <record name="statementwrapper.output" action="stop"/> | |
| </target> | |
| <target name="multipleusercredentials"> | |
| <record name="multipleusercredentials.output" action="start"/> | |
| <ant dir="multipleusercredentials" target="all"/> | |
| <record name="multipleusercredentials.output" action="stop"/> | |
| </target> | |
| <target name="multiplecloseconnection"> | |
| <record name="multiplecloseconnection.output" action="start"/> | |
| <ant dir="multiplecloseconnection" target="all"/> | |
| <record name="multiplecloseconnection.output" action="stop"/> | |
| </target> | |
| <target name="statementtimeout"> | |
| <record name="statementtimeout.output" action="start"/> | |
| <ant dir="statementtimeout" target="all"/> | |
| <record name="statementtimeout.output" action="stop"/> | |
| </target> | |
| <target name="connleaktracing"> | |
| <record name="connleaktracing.output" action="start"/> | |
| <ant dir="connleaktracing" target="all"/> | |
| <record name="connleaktracing.output" action="stop"/> | |
| </target> | |
| <target name="conncreationretry"> | |
| <record name="conncreationretry.output" action="start"/> | |
| <ant dir="conncreationretry" target="all"/> | |
| <record name="conncreationretry.output" action="stop"/> | |
| </target> | |
| <target name="cpds"> | |
| <record name="cpds.output" action="start"/> | |
| <ant dir="cpds" target="all"/> | |
| <record name="cpds.output" action="stop"/> | |
| </target> | |
| <target name="txisolation"> | |
| <record name="txisolation.output" action="start"/> | |
| <ant dir="txisolation" target="all"/> | |
| <record name="txisolation.output" action="stop"/> | |
| </target> | |
| <target name="stmtCaching_hit_miss"> | |
| <record name="stmtCaching_hit_miss.output" action="start"/> | |
| <ant dir="stmtCaching_hit_miss" target="all"/> | |
| <record name="stmtCaching_hit_miss.output" action="stop"/> | |
| </target> | |
| <target name="pooling"> | |
| <record name="pooling.output" action="start"/> | |
| <ant dir="pooling" target="all"/> | |
| </target> | |
| <target name="dmmcf"> | |
| <record name="dmmcf.output" action="start"/> | |
| <ant dir="dmmcf" target="all"/> | |
| <record name="dmmcf.output" action="stop"/> | |
| </target> | |
| <target name="dmmcf.appclient"> | |
| <record name="dmmcf.appclient.output" action="start"/> | |
| <ant dir="dmmcf.appclient" target="all"/> | |
| <record name="dmmcf.appclient.output" action="stop"/> | |
| </target> | |
| <target name="tracingsql"> | |
| <record name="tracingsql.output" action="start"/> | |
| <ant dir="tracingsql" target="all"/> | |
| <record name="tracingsql.output" action="stop"/> | |
| </target> | |
| <target name="datasource40"> | |
| <record name="datasource40.output" action="start"/> | |
| <ant dir="datasource40" target="all"/> | |
| <record name="datasource40.output" action="stop"/> | |
| </target> | |
| <target name="flushconnectionpool"> | |
| <record name="flushconnectionpool.output" action="start"/> | |
| <ant dir="flushconnectionpool" target="all"/> | |
| <record name="flushconnectionpool.output" action="stop"/> | |
| </target> | |
| <target name="init-sql"> | |
| <record name="init-sql.output" action="start"/> | |
| <ant dir="init-sql" target="all"/> | |
| <record name="init-sql.output" action="stop"/> | |
| </target> | |
| <target name="connleakreclaimnotify"> | |
| <record name="connleakreclaimnotify.output" action="start"/> | |
| <ant dir="connleakreclaimnotify" target="all"/> | |
| <record name="connleakreclaimnotify.output" action="stop"/> | |
| </target> | |
| <target name="transparent-pool-reconfig"> | |
| <record name="transparent-pool-reconfig.output" action="start"/> | |
| <ant dir="transparent-pool-reconfig" target="all"/> | |
| <record name="transparent-pool-reconfig.output" action="stop"/> | |
| </target> | |
| <target name="transparent-pool-reconfig-resources-xml"> | |
| <record name="transparent-pool-reconfig-resources-xml.output" action="start"/> | |
| <ant dir="transparent-pool-reconfig-resources-xml" target="all"/> | |
| <record name="transparent-pool-reconfig-resources-xml.output" action="stop"/> | |
| </target> | |
| <target name="jpa-dsd"> | |
| <record name="jpa-dsd.output" action="start"/> | |
| <ant dir="jpa-dsd" target="all"/> | |
| <record name="jpa-dsd.output" action="stop"/> | |
| </target> | |
| <target name="jpa-dsd.appclient-exposed-dsd"> | |
| <record name="jpa-dsd.appclient-exposed-dsd.output" action="start"/> | |
| <ant dir="jpa-dsd" target="all-appclient-exposed-dsd"/> | |
| <record name="jpa-dsd.appclient-exposed-dsd.output" action="stop"/> | |
| </target> | |
| <target name="usage"> | |
| <echo> | |
| Usage: | |
| ant all (Executes all the jdbc tests) | |
| </echo> | |
| </target> | |
| </project> |