1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!-- |
2 <!-- |
3 Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. |
3 Copyright (c) 2007, 2013, 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 |
430 <zip zipfile="${patch.rt.jar}" update="true"> |
430 <zip zipfile="${patch.rt.jar}" update="true"> |
431 <zipfileset dir="${build.classes.dir}" includes="javax/**"/> |
431 <zipfileset dir="${build.classes.dir}" includes="javax/**"/> |
432 </zip> |
432 </zip> |
433 </target> |
433 </target> |
434 |
434 |
|
435 <target name="doclint-api" depends="build-all-classes"> |
|
436 <delete dir="${build.dir}/doclint/classes"/> |
|
437 <mkdir dir="${build.dir}/doclint/classes"/> |
|
438 <javac fork="true" |
|
439 executable="${boot.javac}" |
|
440 srcdir="${src.classes.dir}:${build.gensrc.dir}" |
|
441 destdir="${build.dir}/doclint/classes" |
|
442 includes="javax/lang/model/** com/sun/javadoc/** com/sun/source/**" |
|
443 excludes="" |
|
444 sourcepath="${javac.sourcepath}" |
|
445 classpath="${javac.classpath}" |
|
446 includeAntRuntime="no" |
|
447 source="${javac.source}" |
|
448 target="${javac.target}" |
|
449 debug="${javac.debug}" |
|
450 debuglevel="${javac.debuglevel}"> |
|
451 <compilerarg value="-implicit:none"/> |
|
452 <compilerarg value="-Xprefer:source"/> |
|
453 <compilerarg value="-J-Xbootclasspath/p:${build.bootstrap.dir}/classes"/> |
|
454 <compilerarg line="${javac.no.jdk.warnings}"/> |
|
455 <compilerarg line="${javac.version.opt}"/> |
|
456 <compilerarg line="-Xdoclint:all/protected,-missing"/> |
|
457 </javac> |
|
458 </target> |
|
459 |
435 <!-- |
460 <!-- |
436 **** Debugging/diagnostic targets. |
461 **** Debugging/diagnostic targets. |
437 --> |
462 --> |
438 |
463 |
439 <!-- standard JDK target --> |
464 <!-- standard JDK target --> |
676 <build-jar name="sjavac" includes="${sjavac.includes}" |
701 <build-jar name="sjavac" includes="${sjavac.includes}" |
677 jarmainclass="com.sun.tools.sjavac.Main" |
702 jarmainclass="com.sun.tools.sjavac.Main" |
678 jarclasspath="sjavac.jar"/> |
703 jarclasspath="sjavac.jar"/> |
679 <build-tool name="sjavac"/> |
704 <build-tool name="sjavac"/> |
680 </target> |
705 </target> |
681 |
706 |
682 <!-- (no javadoc for javap) --> |
707 <!-- (no javadoc for javap) --> |
683 |
708 |
684 <target name="jtreg-sjavac" depends="build-sjavac,-def-jtreg"> |
709 <target name="jtreg-sjavac" depends="build-sjavac,-def-jtreg"> |
685 <jtreg-tool name="sjavac" tests="${sjavac.tests}"/> |
710 <jtreg-tool name="sjavac" tests="${sjavac.tests}"/> |
686 </target> |
711 </target> |