| <?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 commonJMS SYSTEM "../../../config/common.xml"> |
| ]> |
| |
| <project name="subscriptionScope-cluster" default="usage" basedir="."> |
| &commonSetup; |
| &commonBuild; |
| &commonJMS; |
| |
| <target name="all" depends="clean,setup,doTest,unsetup"/> |
| |
| <target name="clean" depends="init-common"> |
| <antcall target="clean-common"/> |
| </target> |
| |
| <target name="setup" depends="init-common"> |
| <antcall target="setupCluster"> |
| <param name="jmsServiceType" value="LOCAL"/> |
| </antcall> |
| </target> |
| |
| <target name="ping" depends="init-common"> |
| <antcall target="pingClusterJMS"/> |
| </target> |
| |
| <target name="doTest" depends="init-common"> |
| <antcall target="InstanceScopeDurableWithoutName"/> |
| <antcall target="InstanceScopeDurableWithName"/> |
| <antcall target="InstanceScopeNondurableWithoutName"/> |
| <antcall target="InstanceScopeNondurableWithName"/> |
| <antcall target="ClusterScopeDurableWithoutName"/> |
| <antcall target="ClusterScopeDurableWithName"/> |
| <antcall target="ClusterScopeNondurableWithoutName"/> |
| <antcall target="ClusterScopeNondurableWithName"/> |
| <antcall target="noScopeDurableWithName"/> |
| <antcall target="noScopeDurableNoClientIdWithName"/> |
| <!-- |
| <antcall target="noScopeNondurableNotSharedWithName"/> |
| <antcall target="noScopeNondurableNotSharedWithoutName"/> |
| --> |
| <antcall target="noScopeNondurableWithName"/> |
| <antcall target="noScopeNondurableWithoutName"/> |
| </target> |
| |
| <target name="unsetup" depends="init-common"> |
| <antcall target="deleteCluster"/> |
| </target> |
| |
| <target name="InstanceScopeDurableWithoutName"> |
| <record name="InstanceScopeDurableWithoutName.output" action="start" /> |
| <ant dir="InstanceScope/durableWithoutName" target="all"/> |
| <record name="InstanceScopeDurableWithoutName.output" action="stop" /> |
| </target> |
| |
| <target name="InstanceScopeDurableWithName"> |
| <record name="InstanceScopeDurableWithName.output" action="start" /> |
| <ant dir="InstanceScope/durableWithName" target="all"/> |
| <record name="InstanceScopeDurableWithName.output" action="stop" /> |
| </target> |
| |
| <target name="InstanceScopeNondurableWithoutName"> |
| <record name="InstanceScopeNondurableWithoutName.output" action="start" /> |
| <ant dir="InstanceScope/nondurableWithoutName" target="all"/> |
| <record name="InstanceScopeNondurableWithoutName.output" action="stop" /> |
| </target> |
| |
| <target name="InstanceScopeNondurableWithName"> |
| <record name="InstanceScopeNondurableWithName.output" action="start" /> |
| <ant dir="InstanceScope/nondurableWithName" target="all"/> |
| <record name="InstanceScopeNondurableWithName.output" action="stop" /> |
| </target> |
| |
| <target name="ClusterScopeDurableWithoutName"> |
| <record name="ClusterScopeDurableWithoutName.output" action="start" /> |
| <ant dir="ClusterScope/durableWithoutName" target="all"/> |
| <record name="ClusterScopeDurableWithoutName.output" action="stop" /> |
| </target> |
| |
| <target name="ClusterScopeDurableWithName"> |
| <record name="ClusterScopeDurableWithName.output" action="start" /> |
| <ant dir="ClusterScope/durableWithName" target="all"/> |
| <record name="ClusterScopeDurableWithName.output" action="stop" /> |
| </target> |
| |
| <target name="ClusterScopeNondurableWithoutName"> |
| <record name="ClusterScopeNondurableWithoutName.output" action="start" /> |
| <ant dir="ClusterScope/nondurableWithoutName" target="all"/> |
| <record name="ClusterScopeNondurableWithoutName.output" action="stop" /> |
| </target> |
| |
| <target name="ClusterScopeNondurableWithName"> |
| <record name="ClusterScopeNondurableWithName.output" action="start" /> |
| <ant dir="ClusterScope/nondurableWithName" target="all"/> |
| <record name="ClusterScopeNondurableWithName.output" action="stop" /> |
| </target> |
| |
| <target name="noScopeDurableWithName"> |
| <record name="noScopeDurableWithName.output" action="start" /> |
| <ant dir="noScope/durableWithName" target="all"/> |
| <record name="noScopeDurableWithName.output" action="stop" /> |
| </target> |
| |
| <target name="noScopeDurableNoClientIdWithName"> |
| <record name="noScopeDurableNoClientIdWithName.output" action="start" /> |
| <ant dir="noScope/durableNoClientIdWithName" target="all"/> |
| <record name="noScopeDurableNoClientIdWithName.output" action="stop" /> |
| </target> |
| |
| <target name="noScopeNondurableNotSharedWithName"> |
| <record name="noScopeNondurableNotSharedWithName.output" action="start" /> |
| <ant dir="noScope/nondurableNotSharedWithName" target="all"/> |
| <record name="noScopeNondurableNotSharedWithName.output" action="stop" /> |
| </target> |
| |
| <target name="noScopeNondurableNotSharedWithoutName"> |
| <record name="noScopeNondurableNotSharedWithoutName.output" action="start" /> |
| <ant dir="noScope/nondurableNotSharedWithoutName" target="all"/> |
| <record name="noScopeNondurableNotSharedWithoutName.output" action="stop" /> |
| </target> |
| |
| <target name="noScopeNondurableWithName"> |
| <record name="noScopeNondurableWithName.output" action="start" /> |
| <ant dir="noScope/nondurableWithName" target="all"/> |
| <record name="noScopeNondurableWithName.output" action="stop" /> |
| </target> |
| |
| <target name="noScopeNondurableWithoutName"> |
| <record name="noScopeNondurableWithoutName.output" action="start" /> |
| <ant dir="noScope/nondurableWithoutName" target="all"/> |
| <record name="noScopeNondurableWithoutName.output" action="stop" /> |
| </target> |
| </project> |