spring 源码
https://spring.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.7 KiB
45 lines
1.7 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2010 SpringSource
|
|
|
|
Licensed 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="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> |