OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../junit/build_destination.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-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>
  43. - <mkdir dir="${dist}/javadoc" />
  44. + <mkdir dir="${dist}/docs/javadoc" />
  45. <javadoc
  46. sourcepath="."
  47. packagenames="org.junit, org.junit.runner, org.junit.runner.description, org.junit.runner.manipulation, org.junit.runner.notification, org.junit.runners"
  48. - destdir="${dist}/javadoc"
  49. + destdir="${dist}/docs/javadoc"
  50. author="false"
  51. version="false"
  52. use="false"
  53. windowtitle="JUnit API"
  54. stylesheetfile="stylesheet.css"
  55. />
  56. - <copy todir="${dist}/doc">
  57. + <copy todir="${dist}/docs">
  58. <fileset dir="doc"/>
  59. </copy>
  60. <copy file="README.html" tofile="${dist}/README.html" />
  61. <copy file="cpl-v10.html" tofile="${dist}/cpl-v10.html" />
  62. -
  63. - <java classname="org.junit.runner.JUnitCore" fork="yes" failonerror="true">
  64. - <arg value="org.junit.tests.AllTests"/>
  65. - <classpath>
  66. - <pathelement location="${dist}" />
  67. - <pathelement location="${dist}/${jarfile}" />
  68. - </classpath>
  69. - </java>
  70. </target>
  71. <target name="zip" depends="dist">