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 --> |
72 |
|
<exclude name="java/util/concurrent/atomic/AtomicInteger*"/> |
73 |
|
<exclude name="java/util/concurrent/atomic/AtomicLong*"/> |
74 |
|
<exclude name="java/util/concurrent/atomic/AtomicReference*"/> |
75 |
+ |
<exclude name="java/util/concurrent/locks/LockSupport*"/> |
76 |
+ |
<exclude name="java/util/concurrent/locks/ReentrantLock*"/> |
77 |
|
</patternset> |
78 |
|
|
79 |
|
|
147 |
|
<packageset dir="${build.filter.doccheck.dir}"/> |
148 |
|
</javadoc> |
149 |
|
|
150 |
+ |
<echo>DocCheck output is in ${build.doccheck.dir}</echo> |
151 |
+ |
|
152 |
|
</target> |
153 |
|
|
154 |
|
|
175 |
|
|
176 |
|
</target> |
177 |
|
|
178 |
+ |
|
179 |
+ |
<target name="sinjdocs" |
180 |
+ |
depends="configure-tests" |
181 |
+ |
description="Builds javadocs with custom tags to build folder"> |
182 |
+ |
|
183 |
+ |
<delete dir="${build.javadocs.dir}"/> |
184 |
+ |
<mkdir dir="${build.javadocs.dir}"/> |
185 |
+ |
|
186 |
+ |
<java classname="net.cscott.sinjdoc.Main" fork="true"> |
187 |
+ |
|
188 |
+ |
<jvmarg value="-Xbootclasspath/p:${test.run.bootclasspath}"/> |
189 |
+ |
|
190 |
+ |
<classpath> |
191 |
+ |
<pathelement location="${sinjdoc.jar}"/> |
192 |
+ |
<path refid="test.classpath"/> |
193 |
+ |
</classpath> |
194 |
+ |
|
195 |
+ |
<!-- <arg value="-link"/> <arg value="http://java.sun.com/j2se/1.4.1/docs/api"/> --> |
196 |
+ |
|
197 |
+ |
<arg value="-d"/> <arg value="${build.javadocs.dir}"/> |
198 |
+ |
<arg value="-sourcepath"/> <arg value="${src.dir}"/> |
199 |
+ |
<arg value="-overview"/> <arg value="${src.dir}/intro.html"/> |
200 |
+ |
<arg value="-source"/> <arg value="1.5"/> |
201 |
+ |
<arg value="-verbose"/> |
202 |
+ |
<arg value="java.util"/> |
203 |
+ |
|
204 |
+ |
<!-- |
205 |
+ |
<arg value="-help"/> |
206 |
+ |
--> |
207 |
+ |
|
208 |
+ |
</java> |
209 |
+ |
|
210 |
+ |
</target> |
211 |
+ |
|
212 |
|
|
213 |
|
<target name="strip" |
214 |
|
depends="init, configure-compiler" |