spring-build was previously included via an svn:external. Adding directly to the source tree under Git to avoid the need for a git submodule. In order to build from any earlier commit, it is recommended to export spring-build or symlink an existing copy into the root of the spring-framework project and then build normally. $ svn export https://src.springsource.org/svn/spring-build/tags/project-build-2.2.3 spring-build
33 lines
970 B
XML
33 lines
970 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project name="common-war" xmlns:s="antlib:org.springframework.build">
|
|
|
|
<import file="../common/common.xml"/>
|
|
|
|
<!-- Macros -->
|
|
<macrodef name="do-compile">
|
|
<attribute name="classpath.id"/>
|
|
<attribute name="input.dir"/>
|
|
<attribute name="output.dir"/>
|
|
<attribute name="resources.dir"/>
|
|
<sequential>
|
|
<s:javac destdir="@{output.dir}" source="${source.version}" target="${target.version}"
|
|
debug="${compile.debug}" debugLevel="${compile.debug.level}">
|
|
<compilerarg line="${compiler.args}"/>
|
|
<src path="@{input.dir}"/>
|
|
<include name="**/*.java"/>
|
|
<include name="*.java"/>
|
|
<classpath refid="@{classpath.id}"/>
|
|
</s:javac>
|
|
<copy todir="@{output.dir}">
|
|
<fileset dir="@{input.dir}">
|
|
<exclude name="**/*.java"/>
|
|
<exclude name="*.java"/>
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="@{output.dir}">
|
|
<fileset dir="@{resources.dir}"/>
|
|
</copy>
|
|
</sequential>
|
|
</macrodef>
|
|
|
|
</project> |