< prev index next >

make/build.xml

Print this page
rev 1358 : 8067636: ant javadoc target is broken
Reviewed-by: hannesw, lagergren
rev 1359 : 8080598: Javadoc warnings in Global.java after lazy initialization
Reviewed-by: lagergren, hannesw


 193            debug="${javac.debug}"
 194            encoding="${javac.encoding}"
 195            includeantruntime="false">
 196     </javac>
 197     <jar jarfile="${fxshell.jar}" manifest="${meta.inf.dir}/MANIFEST.MF" index="true" filesetmanifest="merge">
 198       <fileset dir="${fxshell.classes.dir}"/>
 199       <manifest>
 200         <attribute name="Archiver-Version" value="n/a"/>
 201         <attribute name="Build-Jdk" value="${java.runtime.version}"/>
 202         <attribute name="Built-By" value="n/a"/>
 203         <attribute name="Created-By" value="Ant jar task"/>
 204         <section name="jdk/nashorn/">
 205           <attribute name="Implementation-Title" value="Oracle Nashorn FXShell"/>
 206           <attribute name="Implementation-Version" value="${nashorn.version}"/>
 207         </section>
 208       </manifest>
 209     </jar>
 210   </target>
 211 
 212   <target name="javadoc" depends="jar">
 213     <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html" 
 214         extdirs="${nashorn.ext.path}" windowtitle="${nashorn.product.name} ${nashorn.version}"
 215         additionalparam="-quiet" failonerror="true">
 216       <classpath>
 217         <pathelement location="${build.classes.dir}"/>
 218       </classpath>
 219       <fileset dir="${src.dir}" includes="**/*.java"/>
 220       <fileset dir="${jdk.asm.src.dir}" includes="**/*.java"/>
 221       <link href="http://docs.oracle.com/javase/8/docs/api/"/>
 222       <!-- The following tags are used only in ASM sources - just ignore these -->
 223       <tag name="label" description="label tag in ASM sources" enabled="false"/>
 224       <tag name="linked" description="linked tag in ASM sources" enabled="false"/>
 225       <tag name="associates" description="associates tag in ASM sources" enabled="false"/>
 226     </javadoc>
 227   </target>
 228 
 229   <!-- generate javadoc only for nashorn extension api classes -->
 230   <target name="javadocapi" depends="jar">
 231     <javadoc destdir="${dist.javadoc.dir}" use="yes" extdirs="${nashorn.ext.path}" 
 232         windowtitle="${nashorn.product.name}" additionalparam="-quiet" failonerror="true">
 233       <classpath>


 443     <testng outputdir="${build.test.results.dir}/${testResultsSubDir}" classfilesetref="test.classes"
 444             verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
 445       <jvmarg line="${ext.class.path}"/>
 446       <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/>
 447       <jvmarg line="${debug.test.jvmargs}"/>
 448       <propertyset>
 449         <propertyref prefix="nashorn."/>
 450       </propertyset>
 451       <propertyset>
 452         <propertyref prefix="test-sys-prop."/>
 453         <mapper from="test-sys-prop.*" to="*" type="glob"/>
 454       </propertyset>
 455       <sysproperty key="optimistic.override" value="${optimistic}"/>
 456       <sysproperty key="test.js.excludes.file" value="${exclude.list}"/>
 457       <classpath>
 458           <pathelement path="${run.test.classpath}"/>
 459       </classpath>
 460     </testng>
 461   </target>
 462 
 463   <target name="test" depends="test-pessimistic, test-optimistic"/>
 464 
 465   <target name="test-optimistic" depends="jar, -test-classes-all,-test-classes-single, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
 466     <echo message="Running test suite in OPTIMISTIC mode..."/>
 467     <antcall target="-test-nosecurity" inheritRefs="true">
 468       <param name="optimistic" value="true"/>
 469       <param name="testResultsSubDir" value="optimistic"/>
 470     </antcall>    
 471     <antcall target="-test-security" inheritRefs="true">
 472       <param name="optimistic" value="true"/>
 473       <param name="testResultsSubDir" value="optimistic"/>
 474     </antcall>
 475   </target>
 476 
 477   <target name="test-pessimistic" depends="jar, -test-classes-all,-test-classes-single, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
 478     <echo message="Running test suite in PESSIMISTIC mode..."/>
 479     <antcall target="-test-nosecurity" inheritRefs="true">
 480       <param name="optimistic" value="false"/>
 481       <param name="testResultsSubDir" value="pessimistic"/>
 482     </antcall>    
 483     <antcall target="-test-security" inheritRefs="true">




 193            debug="${javac.debug}"
 194            encoding="${javac.encoding}"
 195            includeantruntime="false">
 196     </javac>
 197     <jar jarfile="${fxshell.jar}" manifest="${meta.inf.dir}/MANIFEST.MF" index="true" filesetmanifest="merge">
 198       <fileset dir="${fxshell.classes.dir}"/>
 199       <manifest>
 200         <attribute name="Archiver-Version" value="n/a"/>
 201         <attribute name="Build-Jdk" value="${java.runtime.version}"/>
 202         <attribute name="Built-By" value="n/a"/>
 203         <attribute name="Created-By" value="Ant jar task"/>
 204         <section name="jdk/nashorn/">
 205           <attribute name="Implementation-Title" value="Oracle Nashorn FXShell"/>
 206           <attribute name="Implementation-Version" value="${nashorn.version}"/>
 207         </section>
 208       </manifest>
 209     </jar>
 210   </target>
 211 
 212   <target name="javadoc" depends="jar">
 213     <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="${src.dir}/overview.html" 
 214         extdirs="${nashorn.ext.path}" windowtitle="${nashorn.product.name} ${nashorn.version}"
 215         additionalparam="-quiet" failonerror="true">
 216       <classpath>
 217         <pathelement location="${build.classes.dir}"/>
 218       </classpath>
 219       <fileset dir="${src.dir}" includes="**/*.java"/>
 220       <fileset dir="${jdk.asm.src.dir}" includes="**/*.java"/>
 221       <link href="http://docs.oracle.com/javase/8/docs/api/"/>
 222       <!-- The following tags are used only in ASM sources - just ignore these -->
 223       <tag name="label" description="label tag in ASM sources" enabled="false"/>
 224       <tag name="linked" description="linked tag in ASM sources" enabled="false"/>
 225       <tag name="associates" description="associates tag in ASM sources" enabled="false"/>
 226     </javadoc>
 227   </target>
 228 
 229   <!-- generate javadoc only for nashorn extension api classes -->
 230   <target name="javadocapi" depends="jar">
 231     <javadoc destdir="${dist.javadoc.dir}" use="yes" extdirs="${nashorn.ext.path}" 
 232         windowtitle="${nashorn.product.name}" additionalparam="-quiet" failonerror="true">
 233       <classpath>


 443     <testng outputdir="${build.test.results.dir}/${testResultsSubDir}" classfilesetref="test.classes"
 444             verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
 445       <jvmarg line="${ext.class.path}"/>
 446       <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/>
 447       <jvmarg line="${debug.test.jvmargs}"/>
 448       <propertyset>
 449         <propertyref prefix="nashorn."/>
 450       </propertyset>
 451       <propertyset>
 452         <propertyref prefix="test-sys-prop."/>
 453         <mapper from="test-sys-prop.*" to="*" type="glob"/>
 454       </propertyset>
 455       <sysproperty key="optimistic.override" value="${optimistic}"/>
 456       <sysproperty key="test.js.excludes.file" value="${exclude.list}"/>
 457       <classpath>
 458           <pathelement path="${run.test.classpath}"/>
 459       </classpath>
 460     </testng>
 461   </target>
 462 
 463   <target name="test" depends="javadoc, test-pessimistic, test-optimistic"/>
 464 
 465   <target name="test-optimistic" depends="jar, -test-classes-all,-test-classes-single, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
 466     <echo message="Running test suite in OPTIMISTIC mode..."/>
 467     <antcall target="-test-nosecurity" inheritRefs="true">
 468       <param name="optimistic" value="true"/>
 469       <param name="testResultsSubDir" value="optimistic"/>
 470     </antcall>    
 471     <antcall target="-test-security" inheritRefs="true">
 472       <param name="optimistic" value="true"/>
 473       <param name="testResultsSubDir" value="optimistic"/>
 474     </antcall>
 475   </target>
 476 
 477   <target name="test-pessimistic" depends="jar, -test-classes-all,-test-classes-single, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
 478     <echo message="Running test suite in PESSIMISTIC mode..."/>
 479     <antcall target="-test-nosecurity" inheritRefs="true">
 480       <param name="optimistic" value="false"/>
 481       <param name="testResultsSubDir" value="pessimistic"/>
 482     </antcall>    
 483     <antcall target="-test-security" inheritRefs="true">


< prev index next >