Permalink
Browse files

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
  • Loading branch information...
1 parent 4a7b96c commit 2882ae29b2e122b2d0dec189e627d705231f7804 @cbeams cbeams committed Dec 15, 2011
Showing with 5,181 additions and 3 deletions.
  1. +8 −3 .gitignore
  2. +33 −0 spring-build/aspect/artifact.xml
  3. +45 −0 spring-build/aspect/common.xml
  4. +25 −0 spring-build/aspect/default.xml
  5. +22 −0 spring-build/aspect/package.xml
  6. +22 −0 spring-build/aspect/publish.xml
  7. +74 −0 spring-build/aspect/quality.xml
  8. +120 −0 spring-build/common/artifact.xml
  9. +183 −0 spring-build/common/common.properties
  10. +240 −0 spring-build/common/common.xml
  11. +34 −0 spring-build/common/default-ivy-configurations.xml
  12. +22 −0 spring-build/common/findbugs-exclude.xml
  13. +82 −0 spring-build/common/ivysettings.xml
  14. BIN spring-build/common/javadoc-resources/TableHeading-background.png
  15. +109 −0 spring-build/common/package.xml
  16. +110 −0 spring-build/common/publish.xml
  17. +276 −0 spring-build/common/quality.xml
  18. +184 −0 spring-build/common/spring-javadoc.css
  19. +21 −0 spring-build/docbook/common.xml
  20. +46 −0 spring-build/docbook/css/html/highlight.css
  21. +75 −0 spring-build/docbook/css/html/stylesheet.css
  22. +24 −0 spring-build/docbook/default.xml
  23. +182 −0 spring-build/docbook/documentation.xml
  24. +29 −0 spring-build/docbook/package.xml
  25. +44 −0 spring-build/docbook/publish.xml
  26. +119 −0 spring-build/docbook/styles/html/custom.xsl
  27. +56 −0 spring-build/docbook/styles/html/titlepage.xml
  28. +661 −0 spring-build/docbook/styles/pdf/custom.xsl
  29. +96 −0 spring-build/docbook/styles/pdf/titlepage.xml
  30. BIN spring-build/lib/ivy/commons-codec.jar
  31. BIN spring-build/lib/ivy/commons-httpclient.jar
  32. BIN spring-build/lib/ivy/commons-logging.jar
  33. +20 −0 spring-build/lib/ivy/current.version
  34. BIN spring-build/lib/ivy/ivy.jar
  35. BIN spring-build/lib/ivy/jets3t.jar
  36. +26 −0 spring-build/lib/ivy/jets3t.properties
  37. BIN spring-build/lib/ivy/org.springframework.build.aws.ivy.jar
  38. +52 −0 spring-build/library/artifact.xml
  39. +21 −0 spring-build/library/common.xml
  40. +25 −0 spring-build/library/default.xml
  41. +37 −0 spring-build/library/package.xml
  42. +82 −0 spring-build/library/publish.xml
  43. +35 −0 spring-build/library/quality.xml
  44. +70 −0 spring-build/multi-bundle/artifact.xml
  45. +120 −0 spring-build/multi-bundle/common.xml
  46. +25 −0 spring-build/multi-bundle/default.xml
  47. +29 −0 spring-build/multi-bundle/package.xml
  48. +83 −0 spring-build/multi-bundle/publish.xml
  49. +138 −0 spring-build/multi-bundle/quality.xml
  50. +66 −0 spring-build/par/artifact.xml
  51. +21 −0 spring-build/par/common.xml
  52. +25 −0 spring-build/par/default.xml
  53. +31 −0 spring-build/par/package.xml
  54. +66 −0 spring-build/par/publish.xml
  55. +22 −0 spring-build/par/quality.xml
  56. +45 −0 spring-build/resource/artifact.xml
  57. +21 −0 spring-build/resource/common.xml
  58. +25 −0 spring-build/resource/default.xml
  59. +39 −0 spring-build/resource/package.xml
  60. +82 −0 spring-build/resource/publish.xml
  61. +35 −0 spring-build/resource/quality.xml
  62. +40 −0 spring-build/standard/artifact.xml
  63. +48 −0 spring-build/standard/common.xml
  64. +25 −0 spring-build/standard/default.xml
  65. +22 −0 spring-build/standard/package.xml
  66. +22 −0 spring-build/standard/publish.xml
  67. +22 −0 spring-build/standard/quality.xml
  68. +85 −0 spring-build/war/artifact.xml
  69. +48 −0 spring-build/war/common.xml
  70. +25 −0 spring-build/war/default.xml
  71. +31 −0 spring-build/war/package.xml
  72. +70 −0 spring-build/war/publish.xml
  73. +74 −0 spring-build/war/quality.xml
  74. +83 −0 spring-build/weaving-external/artifact.xml
  75. +48 −0 spring-build/weaving-external/common.xml
  76. +25 −0 spring-build/weaving-external/default.xml
  77. +22 −0 spring-build/weaving-external/package.xml
  78. +22 −0 spring-build/weaving-external/publish.xml
  79. +63 −0 spring-build/weaving-external/quality.xml
  80. +59 −0 spring-build/weaving/artifact.xml
  81. +50 −0 spring-build/weaving/common.xml
  82. +25 −0 spring-build/weaving/default.xml
  83. +22 −0 spring-build/weaving/package.xml
  84. +22 −0 spring-build/weaving/publish.xml
  85. +45 −0 spring-build/weaving/quality.xml
View
@@ -1,7 +1,12 @@
+.springBeans
+.DS_Store
target
integration-repo
ivy-cache
-spring-build
jmx.log
-.springBeans
-.DS_Store
+jxl.log
+jmx.log
+org.springframework.jdbc/derby.log
+org.springframework.spring-parent/.classpath
+org.springframework.spring-parent/.project
+org.springframework.test/test-output/
@@ -0,0 +1,33 @@
+<?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-aspect" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <import file="common.xml"/>
+ <import file="../common/artifact.xml"/>
+
+ <target name="jar" depends="ivy.init, resolve.aspects, artifact-common.jar"
+ description="Creates a JAR file containing the output of a compilation of the source tree."/>
+
+<!-- Other targets -->
+ <target name="compile.init" depends="ivy.init">
+ <ivy:cachepath resolveId="ajc.classpath" pathid="ajc.classpath" organisation="org.aspectj"
+ module="com.springsource.org.aspectj.tools" revision="${org.aspectj.tools.version}" conf="runtime"
+ type="jar" inline="true" log="download-only"/>
+ <taskdef resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties" classpathref="ajc.classpath"/>
+ </target>
+
+</project>
@@ -0,0 +1,45 @@
+<?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-aspect">
+
+ <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>
+ <iajc sourceroots="@{input.dir}" destDir="@{output.dir}" classpathRef="@{classpath.id}" source="${source.version}"
+ debug="${compile.debug}" debugLevel="${compile.debug.level}" checkRuntimeVersion="false"
+ aspectPathRef="aspects.classpath" X="${aspectj.x}"/>
+ <copy todir="@{output.dir}">
+ <fileset dir="@{input.dir}" erroronmissingdir="false">
+ <exclude name="**/*.aj"/>
+ <exclude name="**/*.java"/>
+ <exclude name="*.aj"/>
+ <exclude name="*.java"/>
+ </fileset>
+ </copy>
+ <copy todir="@{output.dir}">
+ <fileset dir="@{resources.dir}" erroronmissingdir="false"/>
+ </copy>
+ </sequential>
+ </macrodef>
+
+</project>
@@ -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-aspect">
+
+ <import file="common.xml"/>
+ <import file="artifact.xml"/>
+ <import file="quality.xml"/>
+ <import file="package.xml"/>
+ <import file="publish.xml"/>
+
+</project>
@@ -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-aspect">
+
+ <import file="common.xml"/>
+ <import file="../common/package.xml"/>
+
+</project>
@@ -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-aspect">
+
+ <import file="common.xml"/>
+ <import file="../common/publish.xml"/>
+
+</project>
@@ -0,0 +1,74 @@
+<?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-aspect" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <import file="common.xml"/>
+ <import file="../common/quality.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>
+ <path id="test.aspect.path">
+ <pathelement location="${jar.output.file}"/>
+ <path refid="aspects.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 inPath="${test.output.dir}" aspectPathRef="test.aspect.path" classpathRef="test.compile.classpath"
+ destDir="${test.output.dir}" source="${source.version}" checkRuntimeVersion="false" X="${aspectj.x}"/>
+
+ <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" depends="ivy.init, resolve.aspects, resolve.test, compile.init, clover.init">
+ <instrument input.dir="${main.java.dir}" output.dir="${main.clover.dir}"/>
+ <path id="clover.compile.classpath">
+ <path refid="clover.classpath"/>
+ <path refid="compile.classpath"/>
+ </path>
+ <compile classpath.id="clover.compile.classpath" input.dir="${main.clover.dir}" output.dir="${main.output.dir}"
+ resources.dir="${main.resources.dir}"/>
+
+ <instrument input.dir="${test.java.dir}" output.dir="${test.clover.dir}"/>
+ <path id="test.compile.classpath">
+ <pathelement location="${main.output.dir}"/>
+ <path refid="clover.classpath"/>
+ <path refid="compile.classpath"/>
+ <path refid="test.classpath"/>
+ </path>
+ <path id="test.aspect.path">
+ <pathelement location="${main.output.dir}"/>
+ <path refid="aspects.classpath"/>
+ </path>
+ <test-compile classpath.id="test.compile.classpath" input.dir="${test.clover.dir}" output.dir="${test.output.dir}"
+ resources.dir="${test.resources.dir}"/>
+ <iajc inPath="${test.output.dir}" aspectPathRef="test.aspect.path" classpathRef="test.compile.classpath"
+ destDir="${test.output.dir}" source="${source.version}" checkRuntimeVersion="false" X="${aspectj.x}"/>
+ <delete dir="${clover.staging.dir}" quiet="true"/>
+ </target>
+
+</project>
@@ -0,0 +1,120 @@
+<?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-common" xmlns:ivy="antlib:org.apache.ivy.ant"
+ xmlns:bundlor="antlib:com.springsource.bundlor.ant">
+
+<!-- Main targets -->
+ <target name="javadoc-all" depends="ivy.init, resolve.compile, src.init" if="src.exists"
+ description="Creates javadoc documentation for all classes.">
+ <java-doc input.dir="${main.java.dir}" output.dir="${javadoc-all.output.dir}" classpath.id="compile.classpath"
+ access="private"/>
+ </target>
+
+ <target name="javadoc-api" depends="ivy.init, resolve.compile, src.init" if="src.exists"
+ description="Creates javadoc documentation for all classes.">
+ <java-doc input.dir="${main.java.dir}" output.dir="${javadoc-api.output.dir}" classpath.id="compile.classpath"
+ access="protected" exclude.package.names="${javadoc.exclude.package.names}"/>
+ </target>
+
+ <target name="jar" depends="ivy.init, resolve.compile, compile.init, jar.init"
+ description="Creates a JAR file containing the output of a compilation of the source tree.">
+ <delete quiet="true" file="${ivy.output.file}"/>
+ <mkdir dir="${ivy.output.dir}"/>
+ <delete quiet="true" file="${jar.output.file}"/>
+ <mkdir dir="${jar.output.dir}"/>
+ <delete quiet="true" file="${source-jar.output.file}"/>
+ <mkdir dir="${source-jar.output.dir}"/>
+
+ <compile classpath.id="compile.classpath" input.dir="${main.java.dir}" output.dir="${main.output.dir}"
+ resources.dir="${main.resources.dir}"/>
+ <ivy:retrieve resolveId="additional.classpath" conf="additional" type="jar" transitive="false"
+ pattern="${main.output.dir}/[artifact]-[revision].[ext]" log="download-only"/>
+ <antcall target="bundlor"/>
+ <jar destfile="${jar.output.file}" basedir="${main.output.dir}" index="true" filesetmanifest="merge">
+ <manifest>
+ <attribute name="Bundle-ManifestVersion" value="2"/>
+ <attribute name="Bundle-Version" value="${bundle.version}"/>
+ <attribute name="Bundle-Creator" value="${user.name}"/>
+ <attribute name="Implementation-Title" value="${implementation.title}"/>
+ <attribute name="Implementation-Version" value="${implementation.version}"/>
+ </manifest>
+ </jar>
+ <jar destfile="${source-jar.output.file}" basedir="${main.java.dir}" index="true"/>
+ <ivy:publish resolver="integration" pubdate="${timestamp}" status="${release.type}">
+ <artifacts pattern="${ivy.output.dir}/[artifact].[ext]"/>
+ <artifacts pattern="${jar.output.dir}/[artifact].[ext]"/>
+ <artifacts pattern="${source-jar.output.dir}/[artifact].[ext]"/>
+ <artifacts pattern="${license.dir}/[artifact].[ext]"/>
+ </ivy:publish>
+ </target>
+
+<!-- Other targets -->
+ <propertyset id="bundlor.properties"/>
+
+ <target name="compile.init" depends="ivy.init"/>
+
+ <target name="jar.init">
+ <fail message="The 'integration.repo.dir' property must be set on this project.">
+ <condition>
+ <not>
+ <isset property="integration.repo.dir"/>
+ </not>
+ </condition>
+ </fail>
+ <fail message="The 'ivy.cache.dir' property must be set on this project.">
+ <condition>
+ <not>
+ <isset property="ivy.cache.dir"/>
+ </not>
+ </condition>
+ </fail>
+ <fail message="The 'version' property must be set on this project.">
+ <condition>
+ <not>
+ <isset property="version"/>
+ </not>
+ </condition>
+ </fail>
+ </target>
+
+ <target name="bundlor" depends="bundlor.init" unless="disable.bundlor">
+ <bundlor:bundlor inputPath="${main.output.dir}" outputPath="${main.output.dir}"
+ bundleVersion="${bundle.version}" manifestTemplatePath="${manifest.template.file}"
+ failOnWarnings="${fail.on.warnings}">
+ <propertyset refid="bundlor.properties"/>
+ <propertyset>
+ <propertyref builtin="all"/>
+ </propertyset>
+ </bundlor:bundlor>
+ </target>
+
+ <target name="bundlor.init" depends="ivy.init" unless="disable.bundlor">
+ <ivy:cachepath resolveId="bundlor.classpath" pathid="bundlor.classpath" organisation="com.springsource.bundlor"
+ module="com.springsource.bundlor.ant" revision="${bundlor.ant.version}" conf="ant" inline="true"
+ type="jar" log="download-only"/>
+ <taskdef resource="com/springsource/bundlor/ant/antlib.xml" uri="antlib:com.springsource.bundlor.ant"
+ classpathref="bundlor.classpath"/>
+ </target>
+
+ <target name="javadoc.prep" depends="src.init" if="src.exists">
+ <mkdir dir="${javadoc.prep.dir}"/>
+ <copy todir="${javadoc.prep.dir}">
+ <fileset dir="${main.java.dir}" erroronmissingdir="false"/>
+ </copy>
+ </target>
+
+</project>
Oops, something went wrong.

0 comments on commit 2882ae2

Please sign in to comment.