1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!-- |
2 <!-- |
3 Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. |
3 Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. |
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 |
5 |
6 This code is free software; you can redistribute it and/or modify it |
6 This code is free software; you can redistribute it and/or modify it |
7 under the terms of the GNU General Public License version 2 only, as |
7 under the terms of the GNU General Public License version 2 only, as |
8 published by the Free Software Foundation. Oracle designates this |
8 published by the Free Software Foundation. Oracle designates this |
455 <compilerarg line="${javac.version.opt}"/> |
455 <compilerarg line="${javac.version.opt}"/> |
456 <compilerarg line="-Xdoclint:all/protected,-missing"/> |
456 <compilerarg line="-Xdoclint:all/protected,-missing"/> |
457 </javac> |
457 </javac> |
458 </target> |
458 </target> |
459 |
459 |
|
460 <!-- Generate API docs for "important" test classes that are used by |
|
461 multiple tests. |
|
462 --> |
|
463 <target name="test-framework-docs" depends="build-all-classes"> |
|
464 <javadoc executable="${target.java.home}/bin/javadoc" |
|
465 destdir="${build.dir}/testframeworkdocs"> |
|
466 <!-- disable doclint for now; it might be good to enable -Xdoclint:missing --> |
|
467 <arg value="-Xdoclint:none"/> |
|
468 <!-- source files to be documented --> |
|
469 <sourcefiles> |
|
470 <fileset dir="${test.dir}"> |
|
471 <include name="**/ToolBox.java"/> |
|
472 <include name="**/*Tester.java"/> |
|
473 <include name="**/*TestBase.java"/> |
|
474 <include name="**/*Testing*.java"/> |
|
475 </fileset> |
|
476 </sourcefiles> |
|
477 <!-- source path used for documentation --> |
|
478 <sourcepath> |
|
479 <pathelement path="${test.dir}/lib"/> |
|
480 <pathelement path="${test.dir}/lib/combo"/> |
|
481 <pathelement path="${test.dir}/tools/javac/lib"/> |
|
482 <pathelement path="${test.dir}/tools/javac/classfiles/attributes/LocalVariableTable"/> |
|
483 </sourcepath> |
|
484 <!-- exclude the following "packages" found by <javadoc> |
|
485 on the sourcepath --> |
|
486 <excludepackage name="combo.tools.javac.combo"/> |
|
487 <excludepackage name="tools.javac.combo"/> |
|
488 <!-- library classes used for documentation --> |
|
489 <classpath> |
|
490 <pathelement path="${jtreg.home}/lib/testng.jar"/> |
|
491 </classpath> |
|
492 <!-- platform classes used for documentation --> |
|
493 <bootclasspath> |
|
494 <pathelement path="${build.dir}/classes"/> |
|
495 <pathelement path="${target.java.home}/jre/lib/rt.jar"/> |
|
496 </bootclasspath> |
|
497 </javadoc> |
|
498 </target> |
|
499 |
460 <!-- |
500 <!-- |
461 **** Debugging/diagnostic targets. |
501 **** Debugging/diagnostic targets. |
462 --> |
502 --> |
463 |
503 |
464 <!-- standard JDK target --> |
504 <!-- standard JDK target --> |
759 <target name="idea"> |
799 <target name="idea"> |
760 <mkdir dir=".idea"/> |
800 <mkdir dir=".idea"/> |
761 <copy todir=".idea" > |
801 <copy todir=".idea" > |
762 <fileset dir="make/intellij" includes="**"/> |
802 <fileset dir="make/intellij" includes="**"/> |
763 </copy> |
803 </copy> |
764 <replace file=".idea/ant.xml" token="@@@" value="${jtreg.home}"/> |
804 <replace file=".idea/ant.xml" token="@@@" value="${jtreg.home}"/> |
765 </target> |
805 </target> |
766 |
806 |
767 <!-- |
807 <!-- |
768 **** Check targets. |
808 **** Check targets. |
769 **** "-check-*" targets check that a required property is set, and set to a reasonable value. |
809 **** "-check-*" targets check that a required property is set, and set to a reasonable value. |