blob: cd6a20a70e7316e9e800678d5fa49d7f926cc29c [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
******************************************************************************
* Copyright (c) 2008, 2010 VMware Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* VMware Inc. - initial contribution
******************************************************************************
-->
<project name="quality-weaving" xmlns:ivy="antlib:org.apache.ivy.ant">
<import file="common.xml"/>
<import file="../common/quality.xml"/>
<target name="clover.instrument" depends="ivy.init, resolve.aspects, quality-common.clover.instrument"
description="Creates a JAR file containing the output of a compilation of the source tree."/>
<target name="test.do" depends="ivy.init, resolve.test, resolve.aspects, compile.init, test.init" if="test.exists">
<path id="test.compile.classpath">
<pathelement location="${jar.output.file}"/>
<path refid="compile.classpath"/>
<path refid="test.classpath"/>
</path>
<test-compile classpath.id="test.compile.classpath" input.dir="${test.java.dir}" output.dir="${test.output.dir}"
resources.dir="${test.resources.dir}"/>
<path id="test.run.classpath">
<pathelement location="${jar.output.file}"/>
<pathelement location="${test.output.dir}"/>
<path refid="compile.classpath"/>
<path refid="test.classpath"/>
<path refid="runtime.classpath"/>
<path refid="aspects.classpath"/>
</path>
<test-run classpath.id="test.run.classpath"/>
</target>
</project>