|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project name="org.springframework.aspects">
|
|
|
|
<property file="${basedir}/../build.properties"/>
|
|
|
|
<property file="${basedir}/../build.versions"/>
|
|
|
|
<import file="${basedir}/../build-spring-framework/package-bundle.xml"/>
|
|
|
|
<import file="${basedir}/../spring-build/aspect/default.xml"/>
|
|
|
|
|
|
|
|
<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}"/>
|
|
|
|
-->
|
|
|
|
<iajc sourceroots="${test.java.dir}" aspectPath="${jar.output.file}" classpathRef="test.compile.classpath"
|
|
|
|
destDir="${test.output.dir}" source="${source.version}" checkRuntimeVersion="false"/>
|
|
|
|
<copy todir="${test.output.dir}">
|
|
|
|
<fileset dir="${test.java.dir}">
|
|
|
|
<exclude name="**/*.aj"/>
|
|
|
|
<exclude name="**/*.java"/>
|
|
|
|
<exclude name="*.aj"/>
|
|
|
|
<exclude name="*.java"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
<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>
|
|
|
|
<test-run classpath.id="test.run.classpath"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clover.instrument">
|
|
|
|
<!--
|
|
|
|
Override to avoid build failure. Created SPR-5921 to fix this propertly
|
|
|
|
-->
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clover">
|
|
|
|
<!--
|
|
|
|
Override to avoid build failure. Created SPR-5921 to fix this propertly
|
|
|
|
-->
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clover.do">
|
|
|
|
<!--
|
|
|
|
Override to avoid build failure. Created SPR-5921 to fix this propertly
|
|
|
|
-->
|
|
|
|
</target>
|
|
|
|
|
|
|
|
</project>
|