blob: c89feb3a346973c7518946b159739cc15ba9bc7c [file] [log] [blame]
<?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
-->
<project name="mdb" default="usage" basedir=".">
<property name="mdb-target" value="all"/>
<target name="run-test">
<antcall target="mq">
<param name="mdb-target" value="run-test"/>
</antcall>
</target>
<target name="all">
<antcall target="mq">
<param name="mdb-target" value="all"/>
</antcall>
</target>
<target name="clean">
<antcall target="mq">
<param name="mdb-target" value="clean"/>
</antcall>
</target>
<target name="build">
<antcall target="mq">
<param name="mdb-target" value="build"/>
</antcall>
</target>
<target name="setup">
<antcall target="mq">
<param name="mdb-target" value="setup"/>
</antcall>
</target>
<target name="deploy">
<antcall target="mq">
<param name="mdb-target" value="deploy"/>
</antcall>
</target>
<target name="undeploy">
<antcall target="mq">
<param name="mdb-target" value="undeploy"/>
</antcall>
</target>
<target name="unsetup">
<antcall target="mq">
<param name="mdb-target" value="unsetup"/>
</antcall>
</target>
<target name="run">
<antcall target="mq">
<param name="mdb-target" value="run"/>
</antcall>
</target>
<target name="mq">
<record name="mq.output" action="start" />
<ant dir="cmt" target="${mdb-target}"/>
<ant dir="simplestress" target="${mdb-target}"/>
<ant dir="stress" target="${mdb-target}"/>
<ant dir="lifecycle" target="${mdb-target}"/>
<ant dir="ejb30mdb" target="${mdb-target}"/>
<record name="mq.output" action="stop" />
</target>
<target name="usage">
<echo> Usage:
ant cmt (Executes the cmt test)
ant all (Executes all the mq tests)
ant clean (cleans all the mq tests)
ant build (builds all the mq tests)
ant setup (sets up all resources for mq tests)
ant deploy (deploys all the mq apps)
ant run (Executes all the mq tests)
ant undeploy (undeploys all the mq apps)
ant unsetup (unsets all resources for mq tests)
</echo>
</target>
</project>