* updated ksmtp (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / java / junit / build_destination.patch
blob56e2ad2d85295a32305b1556a62c9f0f4964c7b8
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../junit/build_destination.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- ./build.xml 2006-08-19 15:57:28.000000000 +0200
18 +++ ./build.xml 2006-08-19 17:46:18.000000000 +0200
19 @@ -1,7 +1,7 @@
20 <project name="junit" default="dist" basedir=".">
21 <property file="${user.home}/.junit.properties" />
22 <property name="version" value="4.1" />
23 - <property name="dist" value="junit${version}" />
24 + <property name="dist" value="dist" />
25 <property name="versionfile" value="junit/runner/Version.java" />
26 <property name="zipfile" value="${dist}.zip" />
27 <property name="unjarred" value="**/*.jar, **/junit/tests/**, **/junit/samples/**, doc/**, README.html, .classpath, .project, cpl-v10.html" />
28 @@ -41,11 +41,6 @@
29 <delete dir="${dist}" />
30 <mkdir dir="${dist}" />
31 <jar
32 - jarfile="${dist}/junit-${version}-src.jar"
33 - basedir="."
34 - excludes="${unjarred}, **/*.class"
35 - />
36 - <jar
37 jarfile="${dist}/${jarfile}"
38 basedir="."
39 excludes="${unjarred}, **/*.java, build.xml"
40 @@ -57,30 +52,22 @@
41 <param name="dir" value="org" />
42 </antcall>
44 - <mkdir dir="${dist}/javadoc" />
45 + <mkdir dir="${dist}/docs/javadoc" />
46 <javadoc
47 sourcepath="."
48 packagenames="org.junit, org.junit.runner, org.junit.runner.description, org.junit.runner.manipulation, org.junit.runner.notification, org.junit.runners"
49 - destdir="${dist}/javadoc"
50 + destdir="${dist}/docs/javadoc"
51 author="false"
52 version="false"
53 use="false"
54 windowtitle="JUnit API"
55 stylesheetfile="stylesheet.css"
57 - <copy todir="${dist}/doc">
58 + <copy todir="${dist}/docs">
59 <fileset dir="doc"/>
60 </copy>
61 <copy file="README.html" tofile="${dist}/README.html" />
62 <copy file="cpl-v10.html" tofile="${dist}/cpl-v10.html" />
64 - <java classname="org.junit.runner.JUnitCore" fork="yes" failonerror="true">
65 - <arg value="org.junit.tests.AllTests"/>
66 - <classpath>
67 - <pathelement location="${dist}" />
68 - <pathelement location="${dist}/${jarfile}" />
69 - </classpath>
70 - </java>
71 </target>
73 <target name="zip" depends="dist">