38 |
------------------------------------------------------------------------------ |
------------------------------------------------------------------------------ |
39 |
</description> |
</description> |
40 |
|
|
41 |
<!-- Display main targets by running 'ant -projecthelp' --> |
<!-- Run 'ant -projecthelp' (default target) --> |
42 |
<target name="usage"> |
<target name="usage"> |
43 |
<java classname="org.apache.tools.ant.Main"> |
<java classname="org.apache.tools.ant.Main"> |
44 |
<arg value="-projecthelp" /> |
<arg value="-projecthelp" /> |
186 |
<property name="java6.docroot.url" value="http://docs.oracle.com/javase/6/docs"/> |
<property name="java6.docroot.url" value="http://docs.oracle.com/javase/6/docs"/> |
187 |
<property name="java7.docroot.url" value="http://docs.oracle.com/javase/7/docs"/> |
<property name="java7.docroot.url" value="http://docs.oracle.com/javase/7/docs"/> |
188 |
<property name="java8.docroot.url" value="http://docs.oracle.com/javase/8/docs"/> |
<property name="java8.docroot.url" value="http://docs.oracle.com/javase/8/docs"/> |
189 |
<!-- The expected canonical location does not yet exist as of 2016-03 --> |
<!-- The expected canonical location does not yet exist as of 2016-04 --> |
190 |
<!-- <property name="java9.docroot.url" value="http://docs.oracle.com/javase/9/docs"/> --> |
<!-- <property name="java9.docroot.url" value="http://docs.oracle.com/javase/9/docs"/> --> |
191 |
<property name="java9.docroot.url" value="http://download.java.net/jdk9/docs"/> |
<property name="java9.docroot.url" value="http://http://download.java.net/java/jdk9/docs"/> |
192 |
<!-- Default jdk doc location (latest stable release seems best) --> |
<!-- Default jdk doc location (latest stable release seems best) --> |
193 |
<property name="java.docroot.url" value="${java8.docroot.url}"/> |
<property name="java.docroot.url" value="${java8.docroot.url}"/> |
194 |
|
|
252 |
<compilerarg value="-XDignore.symbol.file=true"/> |
<compilerarg value="-XDignore.symbol.file=true"/> |
253 |
<compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation,-try"/> |
<compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation,-try"/> |
254 |
<compilerarg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
<compilerarg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
255 |
<compilerarg value="-Xpatch:${build.classes.dir}" if:set="modules"/> |
<compilerarg value="-Xpatch:java.base=${build.classes.dir}/java.base" if:set="modules"/> |
256 |
<compilerarg line="${build.args}"/> |
<compilerarg line="${build.args}"/> |
257 |
<javac-elements/> |
<javac-elements/> |
258 |
|
|
263 |
jvm="${java@{target}}" |
jvm="${java@{target}}" |
264 |
fork="true"> |
fork="true"> |
265 |
<jvmarg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
<jvmarg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
266 |
<jvmarg value="-Xpatch:${build.classes.dir}" if:set="modules"/> |
<jvmarg value="-Xpatch:java.base=${build.classes.dir}/java.base" if:set="modules"/> |
267 |
<jvmarg line="@{jvmflags}"/> |
<jvmarg line="@{jvmflags}"/> |
268 |
|
|
269 |
<!-- ant -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 tck --> |
<!-- ant -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 tck --> |
333 |
reportDir="@{workdir}/JTreport"> |
reportDir="@{workdir}/JTreport"> |
334 |
<patternset refid="jdk@{target}.jtreg.tests"/> |
<patternset refid="jdk@{target}.jtreg.tests"/> |
335 |
<arg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
<arg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
336 |
<arg value="-Xpatch:${build.classes.dir}" if:set="modules"/> |
<arg value="-vmoption:-Xpatch:java.base=${build.classes.dir}/java.base" if:set="modules"/> |
337 |
<arg value="-agentvm"/> |
<arg value="-agentvm"/> |
338 |
<arg value="-verbose:${jtreg.verbose}"/> |
<arg value="-verbose:${jtreg.verbose}"/> |
339 |
<arg value="-vmoptions:-esa -ea"/> |
<arg value="-vmoptions:-esa -ea"/> |
409 |
<target name="jar" |
<target name="jar" |
410 |
depends="compile" |
depends="compile" |
411 |
description="Builds library jar for src/main from compiled sources"> |
description="Builds library jar for src/main from compiled sources"> |
412 |
|
<local name="subdir"/> |
413 |
|
<available property="subdir" file="${build.classes.dir}/java.base" type="dir" value="/java.base"/> |
414 |
<jar destfile="${product.jar}"> |
<jar destfile="${product.jar}"> |
415 |
<fileset dir="${build.classes.dir}"/> |
<fileset dir="${build.classes.dir}${subdir}"/> |
416 |
<manifest> |
<manifest> |
417 |
<attribute name="Built-By" value="${user.name}"/> |
<attribute name="Built-By" value="${user.name}"/> |
418 |
<attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/> |
<attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/> |
540 |
</antcall> |
</antcall> |
541 |
</target> |
</target> |
542 |
|
|
543 |
|
<target name="tck-security-manager" |
544 |
|
description="Runs tck with a security manager"> |
545 |
|
<antcall target="tck"> |
546 |
|
<param name="jsr166.useSecurityManager" value="true"/> |
547 |
|
</antcall> |
548 |
|
</target> |
549 |
|
|
550 |
<target name="jtreg" |
<target name="jtreg" |
551 |
depends="jar" |
depends="jar" |
552 |
description="Runs jtreg tests for src/main using the jtreg ant task"> |
description="Runs jtreg tests for src/main using the jtreg ant task"> |