22 |
|
$HOME/jdk/src/jdk8 |
23 |
|
where each of the above is a complete JDK source tree |
24 |
|
(e.g. mercurial forest) or a symlink to same. |
25 |
+ |
As of 2013-02, the very latest lambda 8 jdk is needed for jdk8. |
26 |
|
------------------------------------------------------------------------------ |
27 |
|
</description> |
28 |
|
|
29 |
< |
<target name="usage" description="Advises user to run with -projecthelp"> |
30 |
< |
<echo>Run "ant -projecthelp" for full usage information.</echo> |
29 |
> |
<target name="usage" description="Display main targets by running 'ant -projecthelp'"> |
30 |
> |
<java classname="org.apache.tools.ant.Main"> |
31 |
> |
<arg value="-projecthelp" /> |
32 |
> |
</java> |
33 |
|
</target> |
34 |
|
|
35 |
|
|
42 |
|
<property name="build.debug" value="true"/> |
43 |
|
<property name="build.debuglevel" value="source,lines,vars"/> |
44 |
|
<property name="build.deprecation" value="false"/> |
45 |
+ |
<property name="build.javadoc.access" value="protected"/> |
46 |
|
|
47 |
|
<!-- Build locations --> |
48 |
|
<property name="build.dir" location="build"/> |
175 |
|
<attribute name="workdir"/> |
176 |
|
<attribute name="classes"/> |
177 |
|
<attribute name="jvmflags" default=""/> |
178 |
+ |
<element name="javac-elements" optional="true"/> |
179 |
|
<sequential> |
180 |
|
|
181 |
|
<mkdir dir="@{workdir}/tck-classes"/> |
197 |
|
<compilerarg value="-XDignore.symbol.file=true"/> |
198 |
|
<compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation"/> |
199 |
|
<compilerarg line="${build.args}"/> |
200 |
+ |
<javac-elements/> |
201 |
|
|
202 |
|
</javac> |
203 |
|
|
285 |
|
packagenames="none" |
286 |
|
link="${jdkapi8docs.url}" |
287 |
|
overview="${src.dir}/intro.html" |
288 |
+ |
access="${build.javadoc.access}" |
289 |
|
sourcepath="${src.dir}:${jdk8src.dir}" |
290 |
|
classpath="" |
291 |
|
executable="${javadoc8}"> |
415 |
|
|
416 |
|
</target> |
417 |
|
|
418 |
+ |
<target name="test-tck" |
419 |
+ |
depends="jar" |
420 |
+ |
description="Runs tck tests for main directly"> |
421 |
+ |
|
422 |
+ |
<run-tck-tests |
423 |
+ |
target="8" |
424 |
+ |
workdir="${build.dir}" |
425 |
+ |
classes="${product.jar}"/> |
426 |
+ |
</target> |
427 |
|
|
428 |
|
<target name="run-tests" |
429 |
|
depends="compile-tests"> |
616 |
|
<run-tck-tests |
617 |
|
target="7" |
618 |
|
workdir="${build.4jdk7.dir}" |
619 |
< |
classes="${4jdk7product.jar}"/> |
619 |
> |
classes="${4jdk7product.jar}"> |
620 |
> |
<javac-elements> |
621 |
> |
<exclude name="StampedLockTest.java"/> |
622 |
> |
</javac-elements> |
623 |
> |
</run-tck-tests> |
624 |
|
</target> |
625 |
|
|
626 |
|
|
690 |
|
packagenames="none" |
691 |
|
link="${jdkapi7docs.url}" |
692 |
|
overview="${4jdk7src.dir}/intro.html" |
693 |
+ |
access="${build.javadoc.access}" |
694 |
|
sourcepath="${4jdk7src.dir}:${jdk7src.dir}" |
695 |
|
classpath="" |
696 |
|
executable="${javadoc7}"> |
782 |
|
<javadoc destdir="${jsr166xdocs.dir}" |
783 |
|
packagenames="jsr166x.*" |
784 |
|
link="${jdkapidocs.url}" |
785 |
+ |
access="${build.javadoc.access}" |
786 |
|
sourcepath="${topsrc.dir}:${jdk6src.dir}" |
787 |
|
bootclasspath="${bootclasspath6}" |
788 |
|
source="5" |
873 |
|
<javadoc destdir="${jsr166ydocs.dir}" |
874 |
|
packagenames="jsr166y.*" |
875 |
|
link="${jdkapidocs.url}" |
876 |
+ |
access="${build.javadoc.access}" |
877 |
|
sourcepath="${topsrc.dir}:${jdk6src.dir}" |
878 |
|
bootclasspath="${bootclasspath6}" |
879 |
|
source="6" |
964 |
|
<javadoc destdir="${extra166ydocs.dir}" |
965 |
|
packagenames="extra166y.*" |
966 |
|
link="${jdkapidocs.url}" |
967 |
+ |
access="${build.javadoc.access}" |
968 |
|
sourcepath="${topsrc.dir}:${jdk6src.dir}" |
969 |
|
bootclasspath="${bootclasspath6}" |
970 |
|
source="6" |
1052 |
|
<javadoc destdir="${jsr166edocs.dir}" |
1053 |
|
packagenames="jsr166e.*" |
1054 |
|
link="${jdkapidocs.url}" |
1055 |
+ |
access="${build.javadoc.access}" |
1056 |
|
sourcepath="${topsrc.dir}:${jdk7src.dir}" |
1057 |
|
source="7" |
1058 |
|
executable="${javadoc7}"> |
1101 |
|
<mirror-dir src="${jsr166edocs.dir}" dst="${dist.jsr166edocs.dir}"/> |
1102 |
|
</target> |
1103 |
|
|
1104 |
+ |
|
1105 |
+ |
<!-- Find buglets that can be detected by static build tools --> |
1106 |
+ |
|
1107 |
+ |
<target name="lint"> |
1108 |
+ |
<antcall target="dists"> |
1109 |
+ |
<param name="build.javadoc.access" value="private"/> |
1110 |
+ |
</antcall> |
1111 |
+ |
</target> |
1112 |
+ |
|
1113 |
+ |
|
1114 |
|
</project> |