2005-12-30 17:37:11 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2005-12-12 12:53:59 -05:00
|
|
|
<!--
|
2006-07-27 23:22:58 -04:00
|
|
|
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
|
2005-12-30 17:37:11 -05:00
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
2005-12-12 12:53:59 -05:00
|
|
|
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 default="default" xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:license="license" xmlns:util="jelly:util" xmlns:maven="jelly:maven">
|
|
|
|
|
|
|
|
<preGoal name="test:compile">
|
|
|
|
<attainGoal name="systest:generate" />
|
|
|
|
</preGoal>
|
|
|
|
|
|
|
|
<postGoal name="clean">
|
|
|
|
<delete dir="${basedir}/activemq-data"/>
|
|
|
|
</postGoal>
|
|
|
|
|
|
|
|
<goal name="systest:generate" description="Generates the system tests." prereqs="setclasspath">
|
|
|
|
|
|
|
|
<delete dir="target/test"/>
|
|
|
|
|
2005-12-28 13:58:36 -05:00
|
|
|
<taskdef name="systest" classname="org.apache.activemq.systest.task.SystemTestTask">
|
2005-12-12 12:53:59 -05:00
|
|
|
<classpath refid="test.classpath"/>
|
|
|
|
</taskdef>
|
|
|
|
|
|
|
|
<systest srcDir="${basedir}/src/main/java" destDir="${basedir}/target/test" scenariosFile="${basedir}/src/main/resources/activemq-scenarios.properties">
|
|
|
|
<clientFiles dir="${basedir}/src/test/resources/clients">
|
|
|
|
<include name="**/*.xml"/>
|
|
|
|
</clientFiles>
|
|
|
|
<brokerFiles dir="${basedir}/src/test/resources/brokers">
|
|
|
|
<include name="**/*.xml"/>
|
|
|
|
<exclude name="**/broker_non_persistent_discovery.xml"/>
|
|
|
|
<!--
|
|
|
|
<exclude name="**/broker_separate_process.xml"/>
|
|
|
|
-->
|
|
|
|
</brokerFiles>
|
|
|
|
</systest>
|
|
|
|
</goal>
|
|
|
|
|
|
|
|
<goal name="setclasspath" prereqs="java:compile">
|
|
|
|
<path id="test.classpath">
|
|
|
|
<pathelement path="${maven.build.dest}"/>
|
2005-12-30 17:37:11 -05:00
|
|
|
<pathelement path="${basedir}/src/main/resources"/>
|
|
|
|
<pathelement path="${basedir}/target/classes"/>
|
|
|
|
<pathelement path="${basedir}/target/test-classes"/>
|
2005-12-12 12:53:59 -05:00
|
|
|
<path refid="maven.dependency.classpath"/>
|
|
|
|
</path>
|
|
|
|
</goal>
|
|
|
|
|
|
|
|
</project>
|