File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 8
8
value =" true"
9
9
description =" Whether to halt the build if the tests fail" />
10
10
11
+ <property name =" debug"
12
+ value =" true"
13
+ description =" Whether to build with debug information" />
14
+
11
15
<target name =" all"
12
16
depends =" clean, package"
13
17
description =" Performs clean build, runs tests and packages for distribution" />
54
58
<java-to-jar srcdir =" build/generated-code"
55
59
destjar =" build/hamcrest-library-${ version } .jar"
56
60
classpath =" build/hamcrest-api-${ version } .jar" />
57
- </target >
61
+ </target >
58
62
59
63
<target name =" integration"
60
64
depends =" api, library"
146
150
<attribute name =" classpath" description =" Anything additional to add on the classpath" default =" " />
147
151
<sequential >
148
152
<mkdir dir =" build/temp/@{ destjar } .contents" />
149
- <javac srcdir =" @{ srcdir } " destdir =" build/temp/@{ destjar } .contents" >
153
+ <javac srcdir =" @{ srcdir } " destdir =" build/temp/@{ destjar } .contents" debug = " ${ debug } " >
150
154
<classpath >
151
155
<fileset dir =" lib/integration" >
152
156
<include name =" *.jar" />
156
160
</javac >
157
161
<copy file =" LICENSE.txt" todir =" build/temp/@{ destjar } .contents" />
158
162
<!-- Put Java source in Jars for user's convenience. -->
159
- <copydir src =" @{ srcdir } " dest =" build/temp/@{ destjar } .contents" />
163
+ <copy todir =" build/temp/@{ destjar } .contents" >
164
+ <fileset dir =" @{ srcdir } " />
165
+ </copy >
160
166
<jar jarfile =" @{ destjar } " >
161
167
<fileset dir =" build/temp/@{ destjar } .contents" />
162
168
</jar >
You can’t perform that action at this time.
0 commit comments