/[cvs]/jsr166/build.xml
ViewVC logotype

Diff of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.202 by jsr166, Sat Mar 26 15:10:14 2016 UTC revision 1.208 by jsr166, Sat Apr 2 16:09:42 2016 UTC
# Line 327  Line 327 
327    
328      <delete dir="@{workdir}/JTwork"   quiet="true"/>      <delete dir="@{workdir}/JTwork"   quiet="true"/>
329      <delete dir="@{workdir}/JTreport" quiet="true"/>      <delete dir="@{workdir}/JTreport" quiet="true"/>
     <mkdir dir="@{workdir}/JTwork/scratch"/>  
     <!-- workaround for https://bugs.openjdk.java.net/browse/CODETOOLS-7901571 -->  
     <mkdir dir="@{workdir}/JTreport/html"/>  
     <mkdir dir="@{workdir}/JTreport/text"/>  
330      <jtreg dir="${jtreg@{target}.src.dir}"      <jtreg dir="${jtreg@{target}.src.dir}"
331             jdk="${jdk@{target}.home}"             jdk="${jdk@{target}.home}"
332             workDir="@{workdir}/JTwork"             workDir="@{workdir}/JTwork"
# Line 407  Line 403 
403        <compilerarg line="${build.args}"/>        <compilerarg line="${build.args}"/>
404    
405      </javac>      </javac>
   
     <!-- We need jdk9's Contended annotation, but at compile time only -->  
     <!--  
         <delete file="${destdir}/jdk/internal/vm/annotation/Contended.class"/>  
     -->  
406    </target>    </target>
407    
408    
409    <target name="jar"    <target name="jar"
410            depends="compile"            depends="compile"
411            description="Builds library jar from compiled sources">            description="Builds library jar for src/main from compiled sources">
412    
413      <jar destfile="${product.jar}">      <jar destfile="${product.jar}">
414        <fileset dir="${build.classes.dir}"/>        <fileset dir="${build.classes.dir}"/>
# Line 526  Line 517 
517    
518    <target name="tck"    <target name="tck"
519            depends="jar"            depends="jar"
520            description="Runs tck tests for main directly">            description="Runs tck tests for src/main directly">
521    
522      <run-tck-tests      <run-tck-tests
523        target="${build.main.java.version}"        target="${build.main.java.version}"
# Line 535  Line 526 
526    </target>    </target>
527    
528    <target name="tck-parallelism-1"    <target name="tck-parallelism-1"
529            description="Runs tck with given common pool parallelism">            description="Runs tck with common pool parallelism 1">
530      <antcall target="tck">      <antcall target="tck">
531        <param name="java.util.concurrent.ForkJoinPool.common.parallelism" value="1"/>        <param name="java.util.concurrent.ForkJoinPool.common.parallelism" value="1"/>
532      </antcall>      </antcall>
533    </target>    </target>
534    
535    <target name="tck-parallelism-0"    <target name="tck-parallelism-0"
536            description="Runs tck with given common pool parallelism">            description="Runs tck with common pool parallelism 0">
537      <antcall target="tck">      <antcall target="tck">
538        <param name="java.util.concurrent.ForkJoinPool.common.parallelism" value="0"/>        <param name="java.util.concurrent.ForkJoinPool.common.parallelism" value="0"/>
539      </antcall>      </antcall>
# Line 550  Line 541 
541    
542    <target name="jtreg"    <target name="jtreg"
543            depends="jar"            depends="jar"
544            description="Runs jtreg tests for main using the jtreg ant task">            description="Runs jtreg tests for src/main using the jtreg ant task">
545      <run-jtreg-tests      <run-jtreg-tests
546         target="${build.main.java.version}"         target="${build.main.java.version}"
547         workdir="${build.dir}"         workdir="${build.dir}"
# Line 558  Line 549 
549    </target>    </target>
550    
551    <target name="test"    <target name="test"
552            depends="tck, tck-parallelism-1, jtreg"            depends="tck, tck-parallelism-1, tck-parallelism-0, jtreg"
553            description="Runs tck and jtreg tests for main">            description="Runs tck and jtreg tests for src/main">
554    </target>    </target>
555    
556    <target name="jtreg8" description="Runs jtreg tests with jdk8">  <!--   <target name="jtreg8" description="Runs jtreg tests with jdk8"> -->
557    
558      <antcall target="jtreg">  <!--     <antcall target="jtreg"> -->
559        <param name="build.main.java.version" value="8"/>  <!--       <param name="build.main.java.version" value="8"/> -->
560        <param name="build.main.javac" value="${javac8}"/>  <!--       <param name="build.main.javac" value="${javac8}"/> -->
561      </antcall>  <!--     </antcall> -->
562    
563    </target>  <!--   </target> -->
564    
565    <target name="test89"  <!--   <target name="test89" -->
566            description="Runs tck and jtreg tests for main for multiple java versions">  <!--           description="Runs tck and jtreg tests for src/main for multiple java versions"> -->
567    
568      <antcall target="clean"/>  <!--     <antcall target="clean"/> -->
569      <antcall target="test">  <!--     <antcall target="test"> -->
570        <param name="build.main.java.version" value="8"/>  <!--       <param name="build.main.java.version" value="8"/> -->
571        <param name="build.main.javac" value="${javac8}"/>  <!--       <param name="build.main.javac" value="${javac8}"/> -->
572      </antcall>  <!--     </antcall> -->
573    
574      <antcall target="clean"/>  <!--     <antcall target="clean"/> -->
575      <antcall target="test">  <!--     <antcall target="test"> -->
576        <param name="build.main.java.version" value="9"/>  <!--       <param name="build.main.java.version" value="9"/> -->
577        <param name="build.main.javac" value="${javac9}"/>  <!--       <param name="build.main.javac" value="${javac9}"/> -->
578      </antcall>  <!--     </antcall> -->
579    
580    </target>  <!--   </target> -->
581    
582    
583    
# Line 616  Line 607 
607    <!-- Various demos and test programs -->    <!-- Various demos and test programs -->
608    
609    
610    <target name="loops" depends="configure-compiler"    <!-- description="Benchmark from Doug Lea's AQS paper" -->
611            description="Benchmark from Doug Lea's AQS paper">    <target name="loops" depends="configure-compiler">
612    
613      <mkdir dir="${build.loops.dir}"/>      <mkdir dir="${build.loops.dir}"/>
614    
# Line 793  Line 784 
784               access="${build.javadoc.access}"               access="${build.javadoc.access}"
785               sourcepath="${4jdk8src.dir}:${jdk8.src.dir}"               sourcepath="${4jdk8src.dir}:${jdk8.src.dir}"
786               classpath=""               classpath=""
787               executable="${javadoc8}">               executable="${javadoc8}"
788                 failonerror = "true">
789        <fileset dir="${4jdk8src.dir}" defaultexcludes="yes">        <fileset dir="${4jdk8src.dir}" defaultexcludes="yes">
790          <include name="**/*.java"/>          <include name="**/*.java"/>
791        </fileset>        </fileset>
# Line 941  Line 933 
933    </target>    </target>
934    
935    
936      <!-- Runs tck tests for jsr166-4jdk7 via junit task (dead experiment) -->
937    <target name="4jdk7-tck-junit"    <target name="4jdk7-tck-junit"
938            depends="4jdk7compile"            depends="4jdk7compile">
           description="Runs tck tests for jsr166-4jdk7 via junit task (experimental)">  
939    
940      <junit printsummary="true"      <junit printsummary="true"
941             showoutput="true"             showoutput="true"
# Line 998  Line 990 
990               access="${build.javadoc.access}"               access="${build.javadoc.access}"
991               sourcepath="${4jdk7src.dir}:${jdk7.src.dir}"               sourcepath="${4jdk7src.dir}:${jdk7.src.dir}"
992               classpath=""               classpath=""
993               executable="${javadoc7}">               executable="${javadoc7}"
994                 failonerror = "true">
995        <fileset dir="${4jdk7src.dir}" defaultexcludes="yes">        <fileset dir="${4jdk7src.dir}" defaultexcludes="yes">
996          <include name="**/*.java"/>          <include name="**/*.java"/>
997        </fileset>        </fileset>
# Line 1093  Line 1086 
1086               sourcepath="${topsrc.dir}:${jdk6.src.dir}"               sourcepath="${topsrc.dir}:${jdk6.src.dir}"
1087               bootclasspath="${bootclasspath6}"               bootclasspath="${bootclasspath6}"
1088               source="5"               source="5"
1089               executable="${javadoc7}">               executable="${javadoc7}"
1090                 failonerror = "true">
1091        <arg line="-Xdocrootparent ${java.docroot.url}"/>        <arg line="-Xdocrootparent ${java.docroot.url}"/>
1092        <arg value="-XDignore.symbol.file=true"/>        <arg value="-XDignore.symbol.file=true"/>
1093    
# Line 1185  Line 1179 
1179               sourcepath="${topsrc.dir}:${jdk6.src.dir}"               sourcepath="${topsrc.dir}:${jdk6.src.dir}"
1180               bootclasspath="${bootclasspath6}"               bootclasspath="${bootclasspath6}"
1181               source="6"               source="6"
1182               executable="${javadoc7}">               executable="${javadoc7}"
1183                 failonerror = "true">
1184        <arg line="-Xdocrootparent ${java.docroot.url}"/>        <arg line="-Xdocrootparent ${java.docroot.url}"/>
1185        <arg value="-XDignore.symbol.file=true"/>        <arg value="-XDignore.symbol.file=true"/>
1186    
# Line 1398  Line 1393 
1393               access="${build.javadoc.access}"               access="${build.javadoc.access}"
1394               sourcepath="${topsrc.dir}:${jdk6.src.dir}"               sourcepath="${topsrc.dir}:${jdk6.src.dir}"
1395               source="${build.jsr166e.java.version}"               source="${build.jsr166e.java.version}"
1396               executable="${javadoc7}">               executable="${javadoc7}"
1397                 failonerror = "true">
1398        <arg line="-Xdocrootparent ${java.docroot.url}"/>        <arg line="-Xdocrootparent ${java.docroot.url}"/>
1399        <arg value="-XDignore.symbol.file=true"/>        <arg value="-XDignore.symbol.file=true"/>
1400    

Legend:
Removed from v.1.202  
changed lines
  Added in v.1.208

dl@cs.oswego.edu
ViewVC Help
Powered by ViewVC 1.1.27