96 |
|
description="Runs all tests"/> |
97 |
|
|
98 |
|
|
99 |
+ |
<target name="checkstyle" depends="init, clean-filtered-src, filter-src"> |
100 |
+ |
<taskdef resource="checkstyletask.properties" |
101 |
+ |
classpath="${lib.dir}/checkstyle-all-2.4.jar"/> |
102 |
+ |
|
103 |
+ |
<checkstyle> |
104 |
+ |
<fileset dir="${build.filter.src.dir}" includes="**/*.java"/> |
105 |
+ |
</checkstyle> |
106 |
+ |
</target> |
107 |
+ |
|
108 |
|
<target name="docs" depends="init, clean-filtered-src, filter-src" |
109 |
|
description="Builds javadocs with custom tags to build folder"> |
110 |
|
<delete dir="${build.javadocs.dir}"/> |
143 |
|
</target> |
144 |
|
|
145 |
|
|
146 |
+ |
<!-- Anthill targets --> |
147 |
+ |
|
148 |
+ |
<!-- Should really run the tests instead of just the jar target --> |
149 |
+ |
<target name="anthill-build" depends="jar, docs, dist-docs" |
150 |
+ |
description="Build the jar and both the external and internal docs"/> |
151 |
+ |
|
152 |
+ |
<target name="anthill-publish"> |
153 |
+ |
<copy todir="${deployDir}/docs/private"> |
154 |
+ |
<fileset dir="${build.javadocs.dir}"/> |
155 |
+ |
</copy> |
156 |
+ |
<copy todir="${deployDir}/docs/public"> |
157 |
+ |
<fileset dir="${dist.javadocs.dir}"/> |
158 |
+ |
</copy> |
159 |
+ |
</target> |
160 |
+ |
|
161 |
+ |
|
162 |
|
<!-- Internal targets --> |
163 |
|
|
164 |
|
<target name="set-warnings-if" if="build.warnings"> |
216 |
|
<mkdir dir="${build.filter.src.dir}"/> |
217 |
|
<copy todir="${build.filter.src.dir}"> |
218 |
|
<fileset dir="${src.dir}"> |
219 |
< |
<include name="**/*.java"/> |
219 |
> |
<include name="java/**/*.java"/> |
220 |
|
</fileset> |
221 |
|
<filterchain> |
222 |
|
<filterreader classname="jsr166.ant.filters.ReplaceFilter" |