| <?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 commonRun SYSTEM "./../../../config/run.xml"> |
| <!ENTITY reporting SYSTEM "./report.xml"> |
| ]> |
| |
| <project name="connector" default="usage" basedir="."> |
| |
| &commonSetup; |
| &commonBuild; |
| &commonRun; |
| &reporting; |
| |
| <property name="connector-target" value="all"/> |
| |
| <target name="pe-all"> |
| <antcall target="backup-config-pe"/> |
| <echo message="NOTE: The file ${env.APS_HOME}/config.properties is being replaced with ${basedir}/config/pe-config.properties. The file will be reverted to its original state after the completion of these tests."/> |
| <copy file="${basedir}/config/pe-config.properties" tofile="${env.APS_HOME}/config.properties" |
| overwrite="true"/> |
| <antcall target="create-pe-passwordfile"/> |
| <antcall target="all"/> |
| <antcall target="restore-config-pe"/> |
| </target> |
| |
| <target name="das-all"> |
| <antcall target="backup-config-pe"/> |
| <echo message="NOTE: The file ${env.APS_HOME}/config.properties is being replaced with ${basedir}/config/das-config.properties. The file will be reverted to its original state after the completion of these tests."/> |
| <copy file="${basedir}/config/das-config.properties" tofile="${env.APS_HOME}/config.properties" |
| overwrite="true"/> |
| <antcall target="create-ee-passwordfile"/> |
| <antcall target="all"/> |
| <antcall target="restore-config-pe"/> |
| </target> |
| |
| <target name="ee-all"> |
| <antcall target="backup-config-pe"/> |
| <antcall target="backup-config-ee"/> |
| <echo message="NOTE: The file ${env.APS_HOME}/config.properties is being replaced with ${basedir}/config/das-config.properties. The file will be reverted to its original state after the completion of these tests."/> |
| <copy file="${basedir}/config/ee-config.properties" tofile="${env.APS_HOME}/config.properties" |
| overwrite="true"/> |
| <copy file="${basedir}/config/ee-config.properties" tofile="${env.APS_HOME}/eeconfig/ee-config.properties" |
| overwrite="true"/> |
| <antcall target="create-ee-passwordfile"/> |
| <antcall target="ee"/> |
| <antcall target="all"/> |
| <antcall target="restore-config-pe"/> |
| <antcall target="restore-config-ee"/> |
| </target> |
| |
| <target name="backup-config-pe" depends="replace-password-with-passwordfile"> |
| <copy file="${env.APS_HOME}/config.properties" tofile="${env.APS_HOME}/config.properties.bak" overwrite="true"/> |
| </target> |
| |
| <target name="restore-config-pe" depends="undo-replace-password-with-passwordfile"> |
| <copy file="${env.APS_HOME}/config.properties.bak" tofile="${env.APS_HOME}/config.properties" overwrite="true"/> |
| </target> |
| |
| <target name="backup-config-ee"> |
| <copy file="${env.APS_HOME}/eeconfig/ee-config.properties" |
| tofile="${env.APS_HOME}/eeconfig/ee-config.properties.bak" overwrite="true"/> |
| </target> |
| |
| <target name="restore-config-ee"> |
| <copy file="${env.APS_HOME}/eeconfig/ee-config.properties.bak" |
| tofile="${env.APS_HOME}/eeconfig/ee-config.properties" overwrite="true"/> |
| </target> |
| |
| <target name="create-pe-passwordfile"> |
| <property file="${env.APS_HOME}/config.properties"/> |
| <echo message="AS_ADMIN_PASSWORD=${admin.password}${line.separator}" |
| file="${env.APS_HOME}/devtests/connector/config/password.txt"/> |
| </target> |
| |
| <target name="create-ee-passwordfile"> |
| <property file="${env.APS_HOME}/config.properties"/> |
| <echo message="AS_ADMIN_PASSWORD=${admin.password}${line.separator}" |
| file="${env.APS_HOME}/devtests/connector/config/password.txt"/> |
| <echo message="AS_ADMIN_MASTERPASSWORD=${master.password}${line.separator}" |
| file="${env.APS_HOME}/devtests/connector/config/password.txt" append="true"/> |
| </target> |
| |
| <target name="replace-password-with-passwordfile"> |
| <replace dir="${env.APS_HOME}/config/"> |
| <include name="**/*.xml"/> |
| <replacetoken>--password ${admin.password}</replacetoken> |
| <replacevalue>--passwordfile ${env.APS_HOME}/devtests/connector/config/password.txt</replacevalue> |
| </replace> |
| </target> |
| |
| <target name="undo-replace-password-with-passwordfile"> |
| <replace dir="${env.APS_HOME}/config/"> |
| <include name="**/*.xml"/> |
| <replacetoken>--passwordfile ${env.APS_HOME}/devtests/connector/config/password.txt</replacetoken> |
| <replacevalue>--password ${admin.password}</replacevalue> |
| </replace> |
| </target> |
| |
| <target name="run-test"> |
| <antcall target="connector"> |
| <param name="connector-target" value="run-test"/> |
| </antcall> |
| </target> |
| |
| <target name="all"> |
| <delete> |
| <fileset dir="${env.APS_HOME}" includes="test_results*"/> |
| </delete> |
| <delete> |
| <fileset dir="." includes="*.output"/> |
| </delete> |
| <antcall target="connector"> |
| <param name="connector-target" value="all"/> |
| </antcall> |
| </target> |
| |
| <target name="all-with-security-manager"> |
| <delete> |
| <fileset dir="${env.APS_HOME}" includes="test_results*"/> |
| </delete> |
| <delete> |
| <fileset dir="." includes="*.output"/> |
| </delete> |
| <antcall target="connector-with-security-manager"> |
| <param name="connector-target" value="all"/> |
| </antcall> |
| </target> |
| |
| <target name="build"> |
| <antcall target="connector"> |
| <param name="connector-target" value="build"/> |
| </antcall> |
| </target> |
| |
| <target name="setup"> |
| <antcall target="connector"> |
| <param name="connector-target" value="setup"/> |
| </antcall> |
| </target> |
| |
| <target name="deploy"> |
| <antcall target="connector"> |
| <param name="connector-target" value="deploy"/> |
| </antcall> |
| </target> |
| |
| <target name="undeploy"> |
| <antcall target="connector"> |
| <param name="connector-target" value="undeploy"/> |
| </antcall> |
| </target> |
| |
| <target name="unsetup"> |
| <antcall target="connector"> |
| <param name="connector-target" value="unsetup"/> |
| </antcall> |
| </target> |
| |
| <target name="run"> |
| <antcall target="connector"> |
| <param name="connector-target" value="run"/> |
| </antcall> |
| </target> |
| |
| <target name="enable-security-manager"> |
| <echo message="enabling security manager"/> |
| <antcall target="create-jvm-options"> |
| <param name="option" value="-Djava.security.manager"/> |
| </antcall> |
| |
| <antcall target="restart-server"/> |
| </target> |
| |
| <target name="disable-security-manager"> |
| <echo message="disabling security manager"/> |
| <antcall target="delete-jvm-options"> |
| <param name="option" value="-Djava.security.manager"/> |
| </antcall> |
| <antcall target="restart-server"/> |
| </target> |
| |
| <target name="connector-with-security-manager"> |
| <antcall target="enable-security-manager"/> |
| <antcall target="connector"> |
| <param name="connector-target" value="all"/> |
| </antcall> |
| <antcall target="disable-security-manager"/> |
| </target> |
| |
| <target name="clean-file"> |
| <delete file="connector.output" failonerror="false"/> |
| <delete file="glassfish-resources-xml-tests.output" failonerror="false"/> |
| </target> |
| |
| <target name="connector_group_1"> |
| <echo message="************ Starting connector_group_1 ************"/> |
| <echo message="@@## connector1.5 ##@@"/> |
| <ant dir="connector1.5" target="${connector-target}"/> |
| |
| <echo message="@@## embeddedConnector1.5 ##@@"/> |
| <ant dir="../embeddedConnector1.5" target="${connector-target}"/> |
| |
| <echo message="@@## embeddedweb ##@@"/> |
| <ant dir="embeddedweb" target="${connector-target}"/> |
| |
| <echo message="@@## mq ##@@"/> |
| <ant dir="../mq" target="${connector-target}"/> |
| |
| <echo message="@@## nonacc ##@@"/> |
| <ant dir="../nonacc" target="${connector-target}"/> |
| |
| <echo message="@@## web2connector ##@@"/> |
| <ant dir="../web2connector" target="${connector-target}" /> |
| |
| <echo message="@@## web2connector (second time) ##@@"/> |
| <ant dir="../web2connector" target="${connector-target}" /> |
| |
| <echo message="@@## nonstringmcfproperties ##@@"/> |
| <ant dir="nonstringmcfproperties" target="${connector-target}"/> |
| |
| <echo message="@@## nonstringraproperties ##@@"/> |
| <ant dir="../nonstringraproperties" target="${connector-target}" /> |
| |
| <echo message="@@## txlevelswitch ##@@"/> |
| <ant dir="../txlevelswitch" target="${connector-target}" /> |
| |
| <echo message="@@## threadpool ##@@"/> |
| <ant dir="../threadpool" target="${connector-target}" /> |
| |
| <echo message="@@## ejb 3.2 connector 1.7 mdb test##@@"/> |
| <ant dir="ejb32-mdb" target="${connector-target}"/> |
| |
| <echo message="@@## SunRaXml ##@@"/> |
| <ant dir="SunRaXml" target="${connector-target}"/> |
| |
| <echo message="@@## serializabletest ##@@"/> |
| <ant dir="serializabletest" target="${connector-target}"/> |
| |
| <echo message="@@## config-property-accessor-test ##@@"/> |
| <ant dir="config-property-accessor-test" target="${connector-target}"/> |
| |
| <echo message="@@## Annotated Connector - mixed mode (ra.xml as well annotations) ##@@"/> |
| <ant dir="annotation-connector-mixedmode" target="${connector-target}"/> |
| |
| <echo message="@@## redeployRar ##@@"/> |
| <ant dir="redeployRar" target="${connector-target}"/> |
| |
| <echo message="@@## annotation-embeddedweb ##@@"/> |
| <ant dir="annotation-embeddedweb" target="${connector-target}"/> |
| |
| <echo message="@@## installed libraries embedded rar EXTENSION_LIST ##@@"/> |
| <ant dir="installed-libraries-embedded" target="all-ext"/> |
| |
| <echo message="@@## defaultConnectorResource ##@@"/> |
| <ant dir="defaultConnectorResource" target="${connector-target}"/> |
| </target> |
| |
| <target name="connector_group_2"> |
| <echo message="************ Starting connector_group_2 ************"/> |
| <echo message="@@## force-deploy-rar ##@@"/> |
| <ant dir="force-deploy-rar" target="${connector-target}"/> |
| |
| <echo message="@@## built-in-custom-resources ##@@"/> |
| <ant dir="built-in-custom-resources" target="${connector-target}"/> |
| |
| <echo message="@@## datasource-definition##@@"/> |
| <ant dir="datasource-definition" target="${connector-target}"/> |
| |
| <echo message="@@## connection-factory-definition##@@"/> |
| <ant dir="connection-factory-definition" target="${connector-target}"/> |
| |
| </target> |
| |
| <target name="connector_group_3"> |
| <echo message="************ Starting connector_group_3 ************"/> |
| <echo message="@@## connection-factory-definition-embedra##@@"/> |
| <ant dir="connection-factory-definition-embedra" target="${connector-target}"/> |
| |
| <echo message="@@## administered-object-definition-embedra##@@"/> |
| <ant dir="administered-object-definition-embedra" target="${connector-target}"/> |
| |
| <echo message="@@## administered-object-definition##@@"/> |
| <ant dir="administered-object-definition" target="${connector-target}"/> |
| |
| <echo message="@@## jms-connection-factory-definition##@@"/> |
| <ant dir="jms-connection-factory-definition" target="${connector-target}"/> |
| </target> |
| |
| <target name="connector_group_4"> |
| <echo message="************ Starting connector_group_4 ************"/> |
| <echo message="@@## jms-destination-definition##@@"/> |
| <ant dir="jms-destination-definition" target="${connector-target}"/> |
| |
| <echo message="@@## installed libraries EXTENSION_LIST ##@@"/> |
| <ant dir="installed-libraries" target="all-ext"/> |
| |
| <echo message="@@## installed libraries (--libraries) ##@@"/> |
| <ant dir="installed-libraries" target="all--libraries"/> |
| |
| <echo message="@@## security-map-web#@@"/> |
| <ant dir="securitymapweb" target="all"/> |
| |
| <echo message="@@## rar-accessibility ##@@"/> |
| <ant dir="rar-accessibility" target="all"/> |
| |
| <echo message="@@## glassfish-resources-xml tests ##@@"/> |
| <antcall target="glassfish-resources-xml-tests"/> |
| |
| <echo message="@@## osgi-resources-test ##@@"/> |
| <ant dir="osgi-resources-test" target="all"/> |
| |
| <echo message="@@## beanvalidation-simple ##@@"/> |
| <ant dir="beanvalidation-simple" target="all"/> |
| |
| <echo message="@@## beanvalidation-simple ##@@"/> |
| <ant dir="beanvalidation-simple" target="embedded-all"/> |
| |
| <!--echo message="@@## defaultConnectorResource-standalone-rar ##@@"/> |
| <ant dir="defaultConnectorResource-standalone-rar" target="${connector-target}"/--> |
| |
| <!--echo message="@@## connector1.6 ##@@"/> |
| <ant dir="connector1.6" target="${connector-target}"/--> |
| |
| <!--echo message="@@## Annotated Connector1.5 ##@@"/> |
| <ant dir="annotation-connector1.5" target="${connector-target}"/--> |
| </target> |
| |
| <target name="start-record"> |
| <record name="connector.output" action="start"/> |
| </target> |
| |
| <target name="stop-record"> |
| <record name="connector.output" action="stop"/> |
| </target> |
| |
| <target name="connector"> |
| <antcall target="connector_group_1"/> |
| <antcall target="connector_group_2"/> |
| <antcall target="connector_group_3"/> |
| <antcall target="connector_group_4"/> |
| </target> |
| |
| <target name="connector-clean"> |
| <delete file="connector.output" failonerror="false"/> |
| <record name="connector.output" action="start"/> |
| <echo message="@@## connector1.5 ##@@"/> |
| <ant dir="connector1.5" target="${connector-target}"/> |
| |
| <echo message="@@## embeddedConnector1.5 ##@@"/> |
| <ant dir="../embeddedConnector1.5" target="${connector-target}"/> |
| |
| <echo message="@@## embeddedweb ##@@"/> |
| <ant dir="embeddedweb" target="${connector-target}"/> |
| |
| <!-- executing again to make sure that "cascade=true" for embedded rars work fine --> |
| <echo message="@@## embeddedweb ##@@"/> |
| <ant dir="embeddedweb" target="${connector-target}"/> |
| |
| <echo message="@@## mq ##@@"/> |
| <ant dir="../mq" target="${connector-target}"/> |
| |
| <echo message="@@## nonacc ##@@"/> |
| <ant dir="../nonacc" target="${connector-target}"/> |
| |
| <echo message="@@## web2connector ##@@"/> |
| <ant dir="../web2connector" target="${connector-target}" /> |
| |
| <echo message="@@## web2connector (second time) ##@@"/> |
| <ant dir="../web2connector" target="${connector-target}" /> |
| |
| <echo message="@@## nonstringmcfproperties ##@@"/> |
| <ant dir="nonstringmcfproperties" target="${connector-target}"/> |
| |
| <echo message="@@## nonstringraproperties ##@@"/> |
| <ant dir="../nonstringraproperties" target="${connector-target}" /> |
| |
| <echo message="@@## txlevelswitch ##@@"/> |
| <ant dir="../txlevelswitch" target="${connector-target}" /> |
| |
| <echo message="@@## threadpool ##@@"/> |
| <ant dir="../threadpool" target="${connector-target}" /> |
| |
| <echo message="@@## connector1.6 ##@@"/> |
| <ant dir="connector1.6" target="${connector-target}"/> |
| |
| <echo message="@@## ejb 3.2 connector 1.7 mdb test##@@"/> |
| <ant dir="ejb32-mdb" target="${connector-target}"/> |
| |
| <echo message="@@## SunRaXml ##@@"/> |
| <ant dir="SunRaXml" target="${connector-target}"/> |
| |
| <echo message="@@## defaultConnectorResource ##@@"/> |
| <ant dir="defaultConnectorResource" target="${connector-target}"/> |
| |
| <echo message="@@## defaultConnectorResource-standalone-rar ##@@"/> |
| <ant dir="defaultConnectorResource-standalone-rar" target="${connector-target}"/> |
| |
| <echo message="@@## serializabletest ##@@"/> |
| <ant dir="serializabletest" target="${connector-target}"/> |
| |
| <echo message="@@## config-property-accessor-test ##@@"/> |
| <ant dir="config-property-accessor-test" target="${connector-target}"/> |
| |
| <echo message="@@## redeployRar ##@@"/> |
| <ant dir="redeployRar" target="${connector-target}"/> |
| |
| <echo message="@@## connector1.6 - with mappings ##@@"/> |
| <ant dir="connector1.6" target="${connector-target}"/> |
| |
| <echo message="@@## Annotated Connector1.5 ##@@"/> |
| <ant dir="annotation-connector1.5" target="${connector-target}"/> |
| |
| <echo message="@@## Annotated Connector - mixed mode (ra.xml as well annotations) ##@@"/> |
| <ant dir="annotation-connector-mixedmode" target="${connector-target}"/> |
| |
| <echo message="@@## force-deploy-rar ##@@"/> |
| <ant dir="force-deploy-rar" target="${connector-target}"/> |
| |
| <echo message="@@## annotation-embeddedweb ##@@"/> |
| <ant dir="annotation-embeddedweb" target="${connector-target}"/> |
| |
| <echo message="@@## built-in-custom-resources ##@@"/> |
| <ant dir="built-in-custom-resources" target="${connector-target}"/> |
| |
| <echo message="@@## datasource-definition##@@"/> |
| <ant dir="datasource-definition" target="${connector-target}"/> |
| |
| <echo message="@@## connection-factory-definition##@@"/> |
| <ant dir="connection-factory-definition" target="${connector-target}"/> |
| |
| <echo message="@@## connection-factory-definition-embedra##@@"/> |
| <ant dir="connection-factory-definition-embedra" target="${connector-target}"/> |
| |
| <echo message="@@## administered-object-definition-embedra##@@"/> |
| <ant dir="administered-object-definition-embedra" target="${connector-target}"/> |
| |
| <echo message="@@## administered-object-definition##@@"/> |
| <ant dir="administered-object-definition" target="${connector-target}"/> |
| |
| <echo message="@@## jms-connection-factory-definition##@@"/> |
| <ant dir="jms-connection-factory-definition" target="${connector-target}"/> |
| |
| <echo message="@@## jms-destination-definition##@@"/> |
| <ant dir="jms-destination-definition" target="${connector-target}"/> |
| |
| <echo message="@@## installed libraries EXTENSION_LIST ##@@"/> |
| <ant dir="installed-libraries" target="${connector-target}"/> |
| |
| <echo message="@@## installed libraries (--libraries) ##@@"/> |
| <ant dir="installed-libraries" target="${connector-target}"/> |
| |
| <echo message="@@## installed libraries embedded rar (--libraries) ##@@"/> |
| <ant dir="installed-libraries-embedded" target="${connector-target}"/> |
| |
| <echo message="@@## installed libraries embedded rar EXTENSION_LIST ##@@"/> |
| <ant dir="installed-libraries-embedded" target="${connector-target}"/> |
| |
| <echo message="@@## beanvalidation-simple ##@@"/> |
| <ant dir="beanvalidation-simple" target="${connector-target}"/> |
| |
| <echo message="@@## beanvalidation-simple ##@@"/> |
| <ant dir="beanvalidation-simple" target="${connector-target}"/> |
| |
| <echo message="@@## security-map-web#@@"/> |
| <ant dir="securitymapweb" target="${connector-target}"/> |
| |
| <echo message="@@## rar-accessibility ##@@"/> |
| <ant dir="rar-accessibility" target="${connector-target}"/> |
| |
| <echo message="@@## osgi-resources-test ##@@"/> |
| <ant dir="osgi-resources-test" target="${connector-target}"/> |
| |
| <antcall target="report"/> |
| <record name="connector.output" action="stop"/> |
| </target> |
| |
| <target name="glassfish-resources-xml-tests"> |
| |
| <delete file="glassfish-resources-xml-tests.output" failonerror="false"/> |
| <record name="glassfish-resources-xml-tests.output" action="start"/> |
| |
| <echo message="@@## connector1.5-resourcesxml ##@@"/> |
| <ant dir="../connector1.5-resourcesxml" target="all"/> |
| |
| <echo message="@@## embeddedConnector1.5-resourcesxml ##@@"/> |
| <ant dir="../embeddedConnector1.5-resourcesxml" target="all"/> |
| |
| <echo message="@@## embeddedweb-resourcesxml-defaultconnpool ##@@"/> |
| <ant dir="../embeddedweb-resourcesxml-defaultconnpool" target="all"/> |
| |
| <echo message="@@## beanvalidation-simple-resources-xml ##@@"/> |
| <ant dir="beanvalidation-simple-resources-xml" target="all"/> |
| |
| <echo message="@@## embeddedweb-resources-xml ##@@"/> |
| <ant dir="embeddedweb-resources-xml" target="all"/> |
| |
| <echo message="@@## installed-libraries-resources-xml ##@@"/> |
| <ant dir="installed-libraries-resources" target="all-ext"/> |
| |
| <echo message="@@## installed-libraries-resources-xml ##@@"/> |
| <ant dir="installed-libraries-resources" target="all--libraries"/> |
| |
| <echo message="@@## connector1.6-resources-xml ##@@"/> |
| <ant dir="connector1.6-resources-xml" target="all-with-mappings"/> |
| |
| <echo message="@@## built-in-custom-resources-resources-xml ##@@"/> |
| <ant dir="built-in-custom-resources-resources-xml" target="all"/> |
| |
| <echo message="@@## built-in-custom-resources-resources-xml-module ##@@"/> |
| <ant dir="custom-resources-gf-resources-module-scoped" target="all"/> |
| |
| <echo message="@@## multiple-resources.xml ##@@"/> |
| <ant dir="multiple-resources.xml" target="all-with-mappings"/> |
| |
| <echo message="@@## multiple-resources.xml-1 ##@@"/> |
| <ant dir="multiple-resources-app-module-scoped" target="all-with-mappings"/> |
| |
| <echo message="@@## connector1.5-resourcesxml-module-scope ##@@"/> |
| <ant dir="../connector1.5-resourcesxml-module-scope" target="all"/> |
| |
| <echo message="jpa-tx_propagation-resources-xml##@@"/> |
| <ant dir="jpa-tx-propagation-gf-resources-xml" target="all"/> |
| |
| <echo message="@@## ejb30mdb-resources-xml ##@@"/> |
| <ant dir="./../mq/ejb30mdb-resources-xml" target="all"/> |
| |
| <!--echo message="@@## markconnectionasbad.xa.resources-xml ##@@"/> |
| <ant dir="./../markconnectionasbad.xa.resources-xml" target="all"/--> |
| |
| <record name="glassfish-resources-xml-tests.output" action="stop"/> |
| |
| </target> |
| |
| <target name="usage"> |
| <echo>Usage: |
| ant connector1.5 (Executes the connector1.5 tests) |
| ant embdeddedWeb (Executes embeddedWeb tests) |
| ant mq (Executes the mq tests) |
| ant nonacc (Executes the nonacc test) |
| ant all (Executes all the connector tests) |
| ant clean (cleans all the connector tests) |
| ant build (builds all the connector tests) |
| ant setup (sets up all resources for connector tests) |
| ant deploy (deploys all the connector apps) |
| ant run (Executes all the connector tests) |
| ant undeploy (undeploys all the connector apps) |
| ant unsetup (unsets all resources for connector tests) |
| </echo> |
| </target> |
| |
| <target name="oracle"> |
| <property name="oracle" value="true"/> |
| </target> |
| |
| <target name="report-local"> |
| <exec executable="sh"> |
| <arg value="./resultCount.sh"/> |
| </exec> |
| </target> |
| |
| <target name="clean-all"> |
| <delete file="glassfish-resources-xml-tests.output" failonerror="false"/> |
| <delete file="connector.output" failonerror="false"/> |
| <record name="connector.output" action="start"/> |
| |
| <echo message="@@## connector1.5 ##@@"/> |
| <ant dir="connector1.5" target="clean"/> |
| |
| <echo message="@@## embeddedConnector1.5 ##@@"/> |
| <ant dir="../embeddedConnector1.5" target="clean"/> |
| |
| <echo message="@@## embeddedweb ##@@"/> |
| <ant dir="embeddedweb" target="clean"/> |
| |
| <echo message="@@## embeddedweb ##@@"/> |
| <ant dir="embeddedweb" target="clean"/> |
| |
| <echo message="@@## mq ##@@"/> |
| <ant dir="../mq" target="clean"/> |
| |
| <echo message="@@## nonacc ##@@"/> |
| <ant dir="../nonacc" target="clean"/> |
| |
| <echo message="@@## web2connector ##@@"/> |
| <ant dir="../web2connector" target="clean" /> |
| |
| <echo message="@@## web2connector (second time) ##@@"/> |
| <ant dir="../web2connector" target="clean" /> |
| |
| <echo message="@@## nonstringmcfproperties ##@@"/> |
| <ant dir="nonstringmcfproperties" target="clean"/> |
| |
| <echo message="@@## nonstringraproperties ##@@"/> |
| <ant dir="../nonstringraproperties" target="clean" /> |
| |
| <echo message="@@## txlevelswitch ##@@"/> |
| <ant dir="../txlevelswitch" target="clean" /> |
| |
| <echo message="@@## threadpool ##@@"/> |
| <ant dir="../threadpool" target="clean" /> |
| |
| <echo message="@@## connector1.6 ##@@"/> |
| <ant dir="connector1.6" target="clean"/> |
| |
| <echo message="@@## ejb 3.2 connector 1.7 mdb test##@@"/> |
| <ant dir="ejb32-mdb" target="clean"/> |
| |
| <echo message="@@## SunRaXml ##@@"/> |
| <ant dir="SunRaXml" target="clean"/> |
| |
| <echo message="@@## defaultConnectorResource ##@@"/> |
| <ant dir="defaultConnectorResource" target="clean"/> |
| |
| <echo message="@@## defaultConnectorResource-standalone-rar ##@@"/> |
| <ant dir="defaultConnectorResource-standalone-rar" target="clean"/> |
| |
| <echo message="@@## serializabletest ##@@"/> |
| <ant dir="serializabletest" target="clean"/> |
| |
| <echo message="@@## config-property-accessor-test ##@@"/> |
| <ant dir="config-property-accessor-test" target="clean"/> |
| |
| <echo message="@@## redeployRar ##@@"/> |
| <ant dir="redeployRar" target="clean"/> |
| |
| <echo message="@@## connector1.6 - with mappings ##@@"/> |
| <ant dir="connector1.6" target="clean"/> |
| |
| <echo message="@@## Annotated Connector1.5 ##@@"/> |
| <ant dir="annotation-connector1.5" target="clean"/> |
| |
| <echo message="@@## Annotated Connector - mixed mode (ra.xml as well annotations) ##@@"/> |
| <ant dir="annotation-connector-mixedmode" target="clean"/> |
| |
| <echo message="@@## force-deploy-rar ##@@"/> |
| <ant dir="force-deploy-rar" target="clean"/> |
| |
| <echo message="@@## annotation-embeddedweb ##@@"/> |
| <ant dir="annotation-embeddedweb" target="clean"/> |
| |
| <echo message="@@## built-in-custom-resources ##@@"/> |
| <ant dir="built-in-custom-resources" target="clean"/> |
| |
| <echo message="@@## datasource-definition##@@"/> |
| <ant dir="datasource-definition" target="clean"/> |
| |
| <echo message="@@## connection-factory-definition##@@"/> |
| <ant dir="connection-factory-definition" target="clean"/> |
| |
| <echo message="@@## connection-factory-definition-embedra##@@"/> |
| <ant dir="connection-factory-definition-embedra" target="clean"/> |
| |
| <echo message="@@## administered-object-definition-embedra##@@"/> |
| <ant dir="administered-object-definition-embedra" target="clean"/> |
| |
| <echo message="@@## administered-object-definition##@@"/> |
| <ant dir="administered-object-definition" target="clean"/> |
| |
| <echo message="@@## jms-connection-factory-definition##@@"/> |
| <ant dir="jms-connection-factory-definition" target="clean"/> |
| |
| <echo message="@@## jms-destination-definition##@@"/> |
| <ant dir="jms-destination-definition" target="clean"/> |
| |
| <echo message="@@## installed libraries embedded rar (--libraries) ##@@"/> |
| <ant dir="installed-libraries-embedded" target="clean"/> |
| |
| <echo message="@@## beanvalidation-simple ##@@"/> |
| <ant dir="beanvalidation-simple" target="clean"/> |
| |
| <echo message="@@## installed libraries EXTENSION_LIST ##@@"/> |
| <ant dir="installed-libraries" target="clean"/> |
| |
| <echo message="@@## installed libraries (--libraries) ##@@"/> |
| <ant dir="installed-libraries" target="clean"/> |
| |
| <echo message="@@## installed libraries embedded rar (--libraries) ##@@"/> |
| <ant dir="installed-libraries-embedded" target="clean"/> |
| |
| <echo message="@@## installed libraries embedded rar EXTENSION_LIST ##@@"/> |
| <ant dir="installed-libraries-embedded" target="clean"/> |
| |
| <echo message="@@## beanvalidation-simple ##@@"/> |
| <ant dir="beanvalidation-simple" target="clean"/> |
| |
| <echo message="@@## security-map-web#@@"/> |
| <ant dir="securitymapweb" target="clean"/> |
| |
| <echo message="@@## rar-accessibility ##@@"/> |
| <ant dir="rar-accessibility" target="clean"/> |
| |
| <echo message="@@## osgi-resources-test ##@@"/> |
| <ant dir="osgi-resources-test" target="clean"/> |
| |
| <echo message="@@## connector1.5-resourcesxml ##@@"/> |
| <ant dir="../connector1.5-resourcesxml" target="clean"/> |
| |
| <echo message="@@## embeddedConnector1.5-resourcesxml ##@@"/> |
| <ant dir="../embeddedConnector1.5-resourcesxml" target="clean"/> |
| |
| <echo message="@@## embeddedweb-resourcesxml-defaultconnpool ##@@"/> |
| <ant dir="../embeddedweb-resourcesxml-defaultconnpool" target="clean"/> |
| |
| <echo message="@@## beanvalidation-simple-resources-xml ##@@"/> |
| <ant dir="beanvalidation-simple-resources-xml" target="clean"/> |
| |
| <echo message="@@## embeddedweb-resources-xml ##@@"/> |
| <ant dir="embeddedweb-resources-xml" target="clean"/> |
| |
| <echo message="@@## connector1.6-resources-xml ##@@"/> |
| <ant dir="connector1.6-resources-xml" target="clean"/> |
| |
| <echo message="@@## built-in-custom-resources-resources-xml ##@@"/> |
| <ant dir="built-in-custom-resources-resources-xml" target="clean"/> |
| |
| <echo message="@@## built-in-custom-resources-resources-xml-module ##@@"/> |
| <ant dir="custom-resources-gf-resources-module-scoped" target="clean"/> |
| |
| <echo message="@@## multiple-resources.xml ##@@"/> |
| <ant dir="multiple-resources.xml" target="clean"/> |
| |
| <echo message="@@## multiple-resources.xml-1 ##@@"/> |
| <ant dir="multiple-resources-app-module-scoped" target="clean"/> |
| |
| <echo message="@@## connector1.5-resourcesxml-module-scope ##@@"/> |
| <ant dir="../connector1.5-resourcesxml-module-scope" target="clean"/> |
| |
| <echo message="jpa-tx_propagation-resources-xml##@@"/> |
| <ant dir="jpa-tx-propagation-gf-resources-xml" target="clean"/> |
| |
| <echo message="@@## ejb30mdb-resources-xml ##@@"/> |
| <ant dir="./../mq/ejb30mdb-resources-xml" target="clean"/> |
| |
| <echo message="@@## markconnectionasbad.xa.resources-xml ##@@"/> |
| <ant dir="./../markconnectionasbad.xa.resources-xml" target="clean"/> |
| |
| <record name="connector.output" action="start"/> |
| </target> |
| </project> |