| <!-- |
| - |
| - Licensed to the Apache Software Foundation (ASF) under one |
| - or more contributor license agreements. See the NOTICE file |
| - distributed with this work for additional information |
| - regarding copyright ownership. The ASF licenses this file |
| - to you under the Apache License, Version 2.0 (the |
| - "License"); you may not use this file except in compliance |
| - with the License. You may obtain a copy of the License at |
| - |
| - http://www.apache.org/licenses/LICENSE-2.0 |
| - |
| - Unless required by applicable law or agreed to in writing, |
| - software distributed under the License is distributed on an |
| - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| - KIND, either express or implied. See the License for the |
| - specific language governing permissions and limitations |
| - under the License. |
| - |
| --> |
| <project name="Performance Tests" default="build"> |
| <condition property="perftests.optional.test.depends" value="bdbstore" else=""> |
| <or> |
| <and> |
| <contains string="${modules.opt}" substring="bdbstore"/> |
| <contains string="${profile}" substring="bdb"/> |
| </and> |
| <and> |
| <istrue value="${optional}"/> |
| <contains string="${profile}" substring="bdb"/> |
| </and> |
| </or> |
| </condition> |
| |
| <property name="module.depends" value="client common"/> |
| <property name="module.test.depends" value="systests broker broker-plugins/memory-store broker-plugins/derby-store common/tests management/common broker-plugins/amqp-0-8-protocol broker-plugins/amqp-0-10-protocol broker-plugins/amqp-1-0-protocol ${perftests.optional.test.depends}"/> |
| |
| <import file="../module.xml"/> |
| |
| <property name="xms" value="-Xms256m"/> |
| <property name="xmx" value="-Xmx1024m"/> |
| <property name="test.logging.level" value="-Damqj.test.logging.level=info"/> |
| <property name="qpid.logging.level" value="-Damqj.logging.level=warn"/> |
| <property name="log4j.config" value="-Dlog4j.configuration=perftests.log4j"/> |
| <property name="properties" value="perftests.properties"/> |
| |
| <target name="release-bin" depends="release-bin-tasks"/> |
| |
| <target name="libs-release" description="overridden to not copy depended-on modules or their dependencies, so that a perf tests release is not tied to a particular client version"> |
| <!-- Copy the module dependencies --> |
| <echo message="${module.libs}"/> |
| <echo message="overridden to not copy qpid-client or its dependencies so that this release is not tied to a particular client version"/> |
| |
| <copylist todir="${module.release}/lib" dir="${project.root}" files="${module.libs}"/> |
| <!-- Copy the jar for this module --> |
| <copy todir="${module.release}/lib" failonerror="true"> |
| <fileset file="${module.jar}"/> |
| </copy> |
| </target> |
| |
| <target name="copy-etc-release" description="override target from module.xml to set flatten=false"> |
| <copy todir="${module.release}/etc" failonerror="false" flatten="false"> |
| <fileset dir="${module.etc}"/> |
| </copy> |
| </target> |
| |
| </project> |