1 | | --- build.xml.orig 2009-06-12 21:55:56.000000000 +0200 |
2 | | +++ build.xml 2009-06-12 22:15:35.000000000 +0200 |
3 | | @@ -18,7 +18,7 @@ |
4 | | <property name="javadocdir" location="${dist}/javadoc" /> |
5 | | <property name="javadoczip" location="${dist}-javadoc.zip" /> |
6 | | <property name="javadocpackages" value="org.junit, org.junit.runner, org.junit.runner.description, org.junit.runner.manipulation, org.junit.runner.notification, org.junit.runners, org.hamcrest.core, org.junit.matchers" /> |
7 | | - <property name="hamcrestlib" location="lib/hamcrest-core-1.1.jar" /> |
8 | | + <property name="hamcrestlib" value="${prefix}/share/java/hamcrest-core.jar;${prefix}/share/java/hamcrest-library.jar" /> |
9 | | <property name="hamcrestsrc" location="${dist}/temp.hamcrest.source" /> |
10 | | |
11 | | <target name="init"> |
12 | | @@ -72,8 +72,6 @@ |
13 | | |
14 | | <target name="build" depends="versiontag"> |
15 | | <junit_compilation srcdir="${src}" destdir="${bin}" classpath="${hamcrestlib}"/> |
16 | | - <unjar src="${hamcrestlib}" dest="${bin}" /> |
17 | | - <junit_compilation srcdir="${testsrc}" destdir="${testbin}" classpath="${hamcrestlib};${bin}"/> |
18 | | </target> |
| 1 | --- build.xml.orig 2011-08-22 14:10:26.000000000 -0500 |
| 2 | +++ build.xml 2011-09-21 10:03:20.000000000 -0500 |
| 3 | @@ -27,7 +27,7 @@ |
20 | | <target name="jars"> |
21 | | @@ -106,17 +104,16 @@ |
22 | | <unjar src="${hamcrestlib}" dest="${hamcrestsrc}" /> |
23 | | </target> |
24 | | |
25 | | - <target name="javadoc" depends="unjar.hamcrest"> |
26 | | + <target name="javadoc"> |
27 | | <javadoc packagenames="${javadocpackages}" |
28 | | destdir="${javadocdir}" |
29 | | author="false" |
30 | | version="false" |
31 | | use="false" |
32 | | windowtitle="JUnit API" |
33 | | - stylesheetfile="stylesheet.css" |
34 | | + classpath="${hamcrestlib}" |
35 | | > |
36 | | <sourcepath location="${src}" /> |
37 | | - <sourcepath location="${hamcrestsrc}" /> |
38 | | </javadoc> |
39 | | </target> |
| 5 | <property name="javadocdir" location="${dist}/javadoc" /> |
| 6 | <property name="javadoczip" location="${dist}-javadoc.zip" /> |
| 7 | - <property name="hamcrestlib" location="lib/hamcrest-core-1.1.jar" /> |
| 8 | + <property name="hamcrestlib" value="${prefix}/share/java/hamcrest-core.jar;${prefix}/share/java/hamcrest-library.jar" /> |
| 9 | <property name="hamcrestsrc" location="${dist}/temp.hamcrest.source" /> |
| 11 | <target name="init"> |
| 12 | @@ -76,8 +76,6 @@ |
| 13 | |
| 14 | <target name="build" depends="versiontag"> |
| 15 | <junit_compilation srcdir="${src}" destdir="${bin}" classpath="${hamcrestlib}"/> |
| 16 | - <unjar src="${hamcrestlib}" dest="${bin}" /> |
| 17 | - <junit_compilation srcdir="${testsrc}" destdir="${testbin}" classpath="${hamcrestlib};${bin}"/> |
| 18 | </target> |
| 19 | |
| 20 | <target name="jars" depends="build"> |
| 21 | @@ -137,20 +135,19 @@ |
| 22 | </exec> |
| 23 | </target> |
| 24 | |
| 25 | - <target name="javadoc" depends="unjar.hamcrest"> |
| 26 | + <target name="javadoc"> |
| 27 | <javadoc destdir="${javadocdir}" |
| 28 | author="false" |
| 29 | version="false" |
| 30 | use="false" |
| 31 | windowtitle="JUnit API" |
| 32 | - stylesheetfile="stylesheet.css" |
| 33 | + classpath="${hamcrestlib}" |
| 34 | > |
| 35 | <excludepackage name="junit.*" /> |
| 36 | <excludepackage name="org.junit.internal.*" /> |
| 37 | <excludepackage name="org.junit.experimental.theories.internal.*" /> |
| 38 | |
| 39 | <sourcepath location="${src}" /> |
| 40 | - <sourcepath location="${hamcrestsrc}" /> |
| 41 | <link href="http://java.sun.com/javase/6/docs/api/" /> |
| 42 | </javadoc> |
| 43 | </target> |