blob: b4813b5baf559ef1dfe69bc14fe9c12f6c15f2af [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 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="jms3" default="usage" basedir=".">
<property name="jms3-target" value="all"/>
<target name="run-test">
<antcall target="simple">
<param name="jms3-target" value="run-test"/>
</antcall>
</target>
<target name="all">
<antcall target="simple">
<param name="jms3-target" value="all"/>
</antcall>
</target>
<target name="clean">
<antcall target="simple">
<param name="jms3-target" value="clean"/>
</antcall>
</target>
<target name="build">
<antcall target="simple">
<param name="jms3-target" value="build"/>
</antcall>
</target>
<target name="setup">
<antcall target="simple">
<param name="jms3-target" value="setup"/>
</antcall>
</target>
<target name="deploy">
<antcall target="simple">
<param name="jms3-target" value="deploy"/>
</antcall>
</target>
<target name="undeploy">
<antcall target="simple">
<param name="jms3-target" value="undeploy"/>
</antcall>
</target>
<target name="unsetup">
<antcall target="simple">
<param name="jms3-target" value="unsetup"/>
</antcall>
</target>
<target name="run">
<antcall target="simple">
<param name="jms3-target" value="run"/>
</antcall>
</target>
<target name="simple">
<record name="simple.output" action="start" />
<ant dir="simple" target="${jms3-target}"/>
<record name="simple.output" action="stop" />
</target>
<target name="usage">
<echo> Usage:
ant simple (Executes the simple tests)
ant all (Executes all the ejb jms3 tests)
ant clean (cleans all the ejb jms3 tests)
ant build (builds all the ejb jms3 tests)
ant setup (sets up all resources for jms3 tests)
ant deploy (deploys all the ejb jms3 apps)
ant run (Executes all the ejb jms3 tests)
ant undeploy (undeploys all the jms3 apps)
ant unsetup (unsets all resources for jms3 tests)
</echo>
</target>
</project>