|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../junit/build_destination.patch # Copyright (C) 2006 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END ---
--- ./build.xml 2006-08-19 15:57:28.000000000 +0200
+++ ./build.xml 2006-08-19 17:46:18.000000000 +0200
@@ -1,7 +1,7 @@
<project name="junit" default="dist" basedir="."> <property file="${user.home}/.junit.properties" /> <property name="version" value="4.1" /> - <property name="dist" value="junit${version}" />
+ <property name="dist" value="dist" />
<property name="versionfile" value="junit/runner/Version.java" /> <property name="zipfile" value="${dist}.zip" /> <property name="unjarred" value="**/*.jar, **/junit/tests/**, **/junit/samples/**, doc/**, README.html, .classpath, .project, cpl-v10.html" /> @@ -41,11 +41,6 @@
<delete dir="${dist}" /> <mkdir dir="${dist}" /> <jar - jarfile="${dist}/junit-${version}-src.jar"
- basedir="."
- excludes="${unjarred}, **/*.class"
- />
- <jar
jarfile="${dist}/${jarfile}" basedir="." excludes="${unjarred}, **/*.java, build.xml" @@ -57,30 +52,22 @@
<param name="dir" value="org" /> </antcall> - <mkdir dir="${dist}/javadoc" />
+ <mkdir dir="${dist}/docs/javadoc" />
<javadoc sourcepath="." packagenames="org.junit, org.junit.runner, org.junit.runner.description, org.junit.runner.manipulation, org.junit.runner.notification, org.junit.runners" - destdir="${dist}/javadoc"
+ destdir="${dist}/docs/javadoc"
author="false" version="false" use="false" windowtitle="JUnit API" stylesheetfile="stylesheet.css" /> - <copy todir="${dist}/doc">
+ <copy todir="${dist}/docs">
<fileset dir="doc"/> </copy> <copy file="README.html" tofile="${dist}/README.html" /> <copy file="cpl-v10.html" tofile="${dist}/cpl-v10.html" /> -
- <java classname="org.junit.runner.JUnitCore" fork="yes" failonerror="true">
- <arg value="org.junit.tests.AllTests"/>
- <classpath>
- <pathelement location="${dist}" />
- <pathelement location="${dist}/${jarfile}" />
- </classpath>
- </java>
</target> <target name="zip" depends="dist">
|