15 |
|
<property name="build.sourcelevel" value="1.5"/> |
16 |
|
<property name="build.debug" value="true"/> |
17 |
|
<property name="build.debuglevel" value="source,lines,vars"/> |
18 |
< |
<property name="build.deprecation" value="true"/> |
18 |
> |
<property name="build.deprecation" value="false"/> |
19 |
> |
<!-- |
20 |
|
<property name="build.warnings" value="true"/> |
21 |
+ |
--> |
22 |
|
|
23 |
|
<!-- Build locations --> |
24 |
|
<property name="build.dir" location="build"/> |
134 |
|
</target> |
135 |
|
|
136 |
|
|
137 |
+ |
<!-- Anthill targets --> |
138 |
+ |
|
139 |
+ |
<!-- Should really run the tests instead of just the jar target --> |
140 |
+ |
<target name="anthill-build" depends="jar, docs, dist-docs" |
141 |
+ |
description="Build the jar and both the external and internal docs"/> |
142 |
+ |
|
143 |
+ |
<target name="anthill-publish"> |
144 |
+ |
<copy todir="${deployDir}/docs/private"> |
145 |
+ |
<fileset dir="${build.javadocs.dir}"/> |
146 |
+ |
</copy> |
147 |
+ |
<copy todir="${deployDir}/docs/public"> |
148 |
+ |
<fileset dir="${dist.javadocs.dir}"/> |
149 |
+ |
</copy> |
150 |
+ |
</target> |
151 |
+ |
|
152 |
+ |
|
153 |
|
<!-- Internal targets --> |
154 |
|
|
155 |
|
<target name="set-warnings-if" if="build.warnings"> |
269 |
|
showoutput="true" |
270 |
|
errorProperty="junit.failed" |
271 |
|
failureProperty="junit.failed" |
272 |
< |
dir="${build.reports.dir}"> |
272 |
> |
dir="${build.reports.dir}" |
273 |
> |
fork="true"> |
274 |
> |
|
275 |
> |
<jvmarg value="-Xbootclasspath/p:${product.jar}"/> |
276 |
|
|
277 |
|
<classpath> |
278 |
< |
<path refid="test.classpath"/> |
278 |
> |
<!-- <path refid="test.classpath"/> --> |
279 |
|
<pathelement location="${build.testcases.dir}"/> |
280 |
|
</classpath> |
281 |
|
|