summaryrefslogtreecommitdiff
path: root/java/broker/python-test.xml
blob: 8ade392d1cf4c4074d9deb34b6dca6168d4102cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>

<!-- ====================================================================== -->
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above.        -->
<!-- ====================================================================== -->

<project basedir="." default="default">

  <target name="default" >
      <echo message="Used via maven to run python tests."/>
  </target>

  <property name="pythondir" value="../../python"/>

  <target name="run-tests" unless="skip-python-tests">

	<echo message="Starting Broker with command"/>

	<java classname="org.apache.qpid.server.RunBrokerWithCommand"
			fork="true"
			dir="${pythondir}"
			failonerror="true"
			>
		<arg value="${command}"/>
		
		<classpath refid="maven.test.classpath"/>
		<sysproperty key="QPID_HOME" value="${broker.dir}"/>
		<sysproperty key="QPID_WORK" value="${broker.dir}${file.separator}target"/>
	</java>

	</target>
</project>