Add spring-build 2.5.2
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.5.2 spring-build
This commit is contained in:
40
spring-build/standard/artifact.xml
Normal file
40
spring-build/standard/artifact.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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="artifact-standard" xmlns:ivy="antlib:org.apache.ivy.ant">
|
||||
|
||||
<import file="common.xml"/>
|
||||
<import file="../common/artifact.xml"/>
|
||||
|
||||
|
||||
<!-- Other targets -->
|
||||
<target name="compile.init" depends="ivy.init">
|
||||
<ivy:cachepath resolveId="spring.ant.classpath" pathid="spring.ant.classpath"
|
||||
organisation="org.springframework.build" module="org.springframework.build.ant"
|
||||
revision="${org.springframework.build.ant.version}" conf="runtime" type="jar" inline="true"
|
||||
log="download-only"/>
|
||||
<ivy:cachepath resolveId="ecj.classpath" pathid="ecj.classpath" organisation="org.eclipse.jdt"
|
||||
module="com.springsource.org.eclipse.jdt.core.compiler.batch" revision="${org.eclipse.jdt.core.compiler.batch.version}"
|
||||
conf="runtime" type="jar" inline="true" log="download-only"/>
|
||||
<taskdef resource="org/springframework/build/ant/antlib.xml" uri="antlib:org.springframework.build">
|
||||
<classpath>
|
||||
<path refid="spring.ant.classpath"/>
|
||||
<path refid="ecj.classpath"/>
|
||||
</classpath>
|
||||
</taskdef>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
48
spring-build/standard/common.xml
Normal file
48
spring-build/standard/common.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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="common-standard" 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}" erroronmissingdir="false">
|
||||
<exclude name="**/*.java"/>
|
||||
<exclude name="*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="@{output.dir}">
|
||||
<fileset dir="@{resources.dir}" erroronmissingdir="false"/>
|
||||
</copy>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
</project>
|
||||
25
spring-build/standard/default.xml
Normal file
25
spring-build/standard/default.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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="default-standard">
|
||||
|
||||
<import file="common.xml"/>
|
||||
<import file="artifact.xml"/>
|
||||
<import file="quality.xml"/>
|
||||
<import file="package.xml"/>
|
||||
<import file="publish.xml"/>
|
||||
|
||||
</project>
|
||||
22
spring-build/standard/package.xml
Normal file
22
spring-build/standard/package.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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="package-standard">
|
||||
|
||||
<import file="common.xml"/>
|
||||
<import file="../common/package.xml"/>
|
||||
|
||||
</project>
|
||||
22
spring-build/standard/publish.xml
Normal file
22
spring-build/standard/publish.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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="publish-standard">
|
||||
|
||||
<import file="common.xml"/>
|
||||
<import file="../common/publish.xml"/>
|
||||
|
||||
</project>
|
||||
22
spring-build/standard/quality.xml
Normal file
22
spring-build/standard/quality.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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-standard">
|
||||
|
||||
<import file="common.xml"/>
|
||||
<import file="../common/quality.xml"/>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user