57 |
|
<property name="product.jar" location="${build.lib.dir}/jsr166.jar"/> |
58 |
|
<property name="junit.jar" location="${lib.dir}/junit.jar"/> |
59 |
|
<property name="rt.jar" location="${java.home}/lib/rt.jar"/> |
60 |
< |
|
60 |
> |
<property name="sinjdoc.jar" location="${lib.dir}/sinjdoc.jar"/> |
61 |
|
|
62 |
|
|
63 |
|
<!-- Files excluded from dist-docs and emulation jar --> |
173 |
|
|
174 |
|
</target> |
175 |
|
|
176 |
+ |
|
177 |
+ |
<target name="sinjdocs" |
178 |
+ |
depends="configure-tests" |
179 |
+ |
description="Builds javadocs with custom tags to build folder"> |
180 |
+ |
|
181 |
+ |
<delete dir="${build.javadocs.dir}"/> |
182 |
+ |
<mkdir dir="${build.javadocs.dir}"/> |
183 |
+ |
|
184 |
+ |
<java classname="net.cscott.sinjdoc.Main" fork="true"> |
185 |
+ |
|
186 |
+ |
<jvmarg value="-Xbootclasspath/p:${test.run.bootclasspath}"/> |
187 |
+ |
|
188 |
+ |
<classpath> |
189 |
+ |
<pathelement location="${sinjdoc.jar}"/> |
190 |
+ |
<path refid="test.classpath"/> |
191 |
+ |
</classpath> |
192 |
+ |
|
193 |
+ |
<!-- <arg value="-link"/> <arg value="http://java.sun.com/j2se/1.4.1/docs/api"/> --> |
194 |
+ |
|
195 |
+ |
<arg value="-d"/> <arg value="${build.javadocs.dir}"/> |
196 |
+ |
<arg value="-sourcepath"/> <arg value="${src.dir}"/> |
197 |
+ |
<arg value="-overview"/> <arg value="${src.dir}/intro.html"/> |
198 |
+ |
<arg value="-source"/> <arg value="1.5"/> |
199 |
+ |
<arg value="-verbose"/> |
200 |
+ |
<arg value="java.util"/> |
201 |
+ |
|
202 |
+ |
<!-- |
203 |
+ |
<arg value="-help"/> |
204 |
+ |
--> |
205 |
+ |
|
206 |
+ |
</java> |
207 |
+ |
|
208 |
+ |
</target> |
209 |
+ |
|
210 |
|
|
211 |
|
<target name="strip" |
212 |
|
depends="init, configure-compiler" |