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

Diff of /jsr166/build.xml

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

revision 1.148 by jsr166, Sat Jul 20 18:26:16 2013 UTC revision 1.151 by jsr166, Sun Feb 16 14:25:46 2014 UTC
# Line 16  Line 16 
16    $HOME/jdk/jdk6    $HOME/jdk/jdk6
17    $HOME/jdk/jdk7    $HOME/jdk/jdk7
18    $HOME/jdk/jdk8    $HOME/jdk/jdk8
19      $HOME/jdk/jdk9
20    where each of the above is a JDK or a symlink to same, and    where each of the above is a JDK or a symlink to same, and
21    $HOME/jdk/src/jdk6    $HOME/jdk/src/jdk6
22    $HOME/jdk/src/jdk7    $HOME/jdk/src/jdk7
23    $HOME/jdk/src/jdk8    $HOME/jdk/src/jdk8
24      $HOME/jdk/src/jdk9
25    where each of the above is a complete JDK source tree    where each of the above is a complete JDK source tree
26    (e.g. mercurial forest) or a symlink to same.    (e.g. mercurial forest) or a symlink to same.
 As of 2013-02, the very latest lambda 8 jdk is needed for jdk8.  
27  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
28    </description>    </description>
29    
# Line 115  As of 2013-02, the very latest lambda 8 Line 116  As of 2013-02, the very latest lambda 8
116    <defjdklocations v="6"/>    <defjdklocations v="6"/>
117    <defjdklocations v="7"/>    <defjdklocations v="7"/>
118    <defjdklocations v="8"/>    <defjdklocations v="8"/>
119      <defjdklocations v="9"/>
120    
121    <!-- Source locations -->    <!-- Source locations -->
122    <property name="src.dir"              location="${basedir}/src/main"/>    <property name="src.dir"              location="${basedir}/src/main"/>
# Line 161  As of 2013-02, the very latest lambda 8 Line 163  As of 2013-02, the very latest lambda 8
163    <property name="jdkapi7docs.url"      value="http://docs.oracle.com/javase/7/docs/api/"/>    <property name="jdkapi7docs.url"      value="http://docs.oracle.com/javase/7/docs/api/"/>
164    
165    <property name="jdkapi8docs.url"      value="http://download.java.net/jdk8/docs/api/"/>    <property name="jdkapi8docs.url"      value="http://download.java.net/jdk8/docs/api/"/>
166    <!-- The below does not yet exist as of 2013-01 -->    <!-- The expected canonical location does not yet exist as of 2014-02 -->
167    <!-- <property name="jdkapi8docs.url" value="http://docs.oracle.com/javase/8/docs/api/"/> -->    <!-- <property name="jdkapi8docs.url" value="http://docs.oracle.com/javase/8/docs/api/"/> -->
168    
169      <property name="jdkapi9docs.url"      value="${jdkapi8docs.url}"/>
170      <!-- No published jdk9 docs exist as of 2014-02 -->
171      <!-- <property name="jdkapi9docs.url" value="http://docs.oracle.com/javase/9/docs/api/"/> -->
172    
173    <!-- Default jdk api doc location (latest stable release seems best) -->    <!-- Default jdk api doc location (latest stable release seems best) -->
174    <property name="jdkapidocs.url"       value="${jdkapi7docs.url}"/>    <property name="jdkapidocs.url"       value="${jdkapi7docs.url}"/>
175    
# Line 269  As of 2013-02, the very latest lambda 8 Line 275  As of 2013-02, the very latest lambda 8
275    
276    <!-- Main targets -->    <!-- Main targets -->
277    
278      <property name="build.main.java.version" value="9"/>
279      <property name="build.main.javac" value="${javac9}"/>
280    
281    <target name="dists"    <target name="dists"
282            depends="dist, 4jdk7dist, jsr166edist, jsr166ydist, extra166ydist, jsr166xdist"            depends="dist, 4jdk7dist, jsr166edist, jsr166ydist, extra166ydist, jsr166xdist"
283            description="Builds all public jars and docs"/>            description="Builds all public jars and docs"/>
# Line 287  As of 2013-02, the very latest lambda 8 Line 296  As of 2013-02, the very latest lambda 8
296             classpath=""             classpath=""
297             includeAntRuntime="false"             includeAntRuntime="false"
298             includeJavaRuntime="false"             includeJavaRuntime="false"
299             executable="${javac8}"             executable="${build.main.javac}"
300             fork="true">             fork="true">
301    
302        <include name="**/*.java"/>        <include name="**/*.java"/>
# Line 323  As of 2013-02, the very latest lambda 8 Line 332  As of 2013-02, the very latest lambda 8
332    
333      <javadoc destdir="${docs.dir}"      <javadoc destdir="${docs.dir}"
334               packagenames="none"               packagenames="none"
335               link="${jdkapi8docs.url}"               link="${jdkapi9docs.url}"
336               overview="${src.dir}/intro.html"               overview="${src.dir}/intro.html"
337               access="${build.javadoc.access}"               access="${build.javadoc.access}"
338               sourcepath="${src.dir}:${jdk8src.dir}"               sourcepath="${src.dir}:${jdk9src.dir}"
339               classpath=""               classpath=""
340               executable="${javadoc8}">               executable="${javadoc9}">
341        <fileset dir="${src.dir}" defaultexcludes="yes">        <fileset dir="${src.dir}" defaultexcludes="yes">
342          <include name="**/*.java"/>          <include name="**/*.java"/>
343        </fileset>        </fileset>
# Line 402  As of 2013-02, the very latest lambda 8 Line 411  As of 2013-02, the very latest lambda 8
411            description="Runs tck tests for main directly">            description="Runs tck tests for main directly">
412    
413      <run-tck-tests      <run-tck-tests
414        target="8"        target="${build.main.java.version}"
415        workdir="${build.dir}"        workdir="${build.dir}"
416        classes="${product.jar}"/>        classes="${product.jar}"/>
417    </target>    </target>
# Line 411  As of 2013-02, the very latest lambda 8 Line 420  As of 2013-02, the very latest lambda 8
420            depends="jar"            depends="jar"
421            description="Runs jtreg tests for main using the jtreg ant task">            description="Runs jtreg tests for main using the jtreg ant task">
422      <run-jtreg-tests      <run-jtreg-tests
423         target="8"         target="${build.main.java.version}"
424         workdir="${build.dir}"         workdir="${build.dir}"
425         classes="${product.jar}"/>         classes="${product.jar}"/>
426    </target>    </target>
# Line 421  As of 2013-02, the very latest lambda 8 Line 430  As of 2013-02, the very latest lambda 8
430            description="Runs tck and jtreg tests for main">            description="Runs tck and jtreg tests for main">
431    </target>    </target>
432    
433      <target name="test89"
434              description="Runs tck and jtreg tests for main for multiple java versions">
435    
436        <antcall target="clean"/>
437        <antcall target="test">
438          <param name="build.main.java.version" value="8"/>
439          <param name="build.main.javac" value="${javac8}"/>
440        </antcall>
441    
442        <antcall target="clean"/>
443        <antcall target="test">
444          <param name="build.main.java.version" value="9"/>
445          <param name="build.main.javac" value="${javac9}"/>
446        </antcall>
447    
448      </target>
449    
450    
451    
452    <target name="configure-compiler">    <target name="configure-compiler">
# Line 500  As of 2013-02, the very latest lambda 8 Line 526  As of 2013-02, the very latest lambda 8
526      </javac>      </javac>
527    </target>    </target>
528    
529      <target name="4jdk7doclint"
530              depends="configure-compiler"
531              description="Finds doclint warnings">
532    
533        <mkdir dir="${build.4jdk7.classes.dir}"/>
534    
535        <javac srcdir="${4jdk7src.dir}"
536               destdir="${build.4jdk7.classes.dir}"
537               debug="${build.debug}"
538               debuglevel="${build.debuglevel}"
539               deprecation="${build.deprecation}"
540               source="6"
541               classpath=""
542               bootclasspath="${bootclasspath7}"
543               includeAntRuntime="false"
544               includeJavaRuntime="false"
545               executable="${javac8}"
546               fork="true">
547    
548          <include name="**/*.java"/>
549          <compilerarg value="-Xprefer:source"/>
550          <compilerarg value="-XDignore.symbol.file=true"/>
551          <compilerarg value="-Xlint:all"/>
552          <compilerarg value="-Xdoclint:all/protected"/>
553          <compilerarg line="${build.args}"/>
554    
555        </javac>
556      </target>
557    
558    
559    <target name="4jdk7jar"    <target name="4jdk7jar"
560            depends="4jdk7compile"            depends="4jdk7compile"
# Line 523  As of 2013-02, the very latest lambda 8 Line 578  As of 2013-02, the very latest lambda 8
578        <javac-elements>        <javac-elements>
579          <!-- JDK8+ test classes -->          <!-- JDK8+ test classes -->
580          <exclude name="*8Test.java"/>          <exclude name="*8Test.java"/>
581            <exclude name="*9Test.java"/>
582          <exclude name="DoubleAccumulatorTest.java"/>          <exclude name="DoubleAccumulatorTest.java"/>
583          <exclude name="DoubleAdderTest.java"/>          <exclude name="DoubleAdderTest.java"/>
584          <exclude name="LongAccumulatorTest.java"/>          <exclude name="LongAccumulatorTest.java"/>
# Line 913  As of 2013-02, the very latest lambda 8 Line 969  As of 2013-02, the very latest lambda 8
969      </javac>      </javac>
970    </target>    </target>
971    
972      <!-- jsr166e: find doclint errors -->
973      <target name="jsr166edoclint">
974    
975        <mkdir dir="${build.jsr166e.classes.dir}"/>
976    
977        <javac srcdir="${topsrc.dir}"
978               destdir="${build.jsr166e.classes.dir}"
979               debug="${build.debug}"
980               debuglevel="${build.debuglevel}"
981               deprecation="${build.deprecation}"
982               source="${build.jsr166e.java.version}"
983               classpath=""
984               bootclasspath="${bootclasspath7}"
985               includeAntRuntime="false"
986               includeJavaRuntime="false"
987               executable="${javac8}"
988               fork="true">
989    
990          <include name="jsr166e/**/*.java"/>
991          <compilerarg value="-XDignore.symbol.file=true"/>
992          <compilerarg value="-Xlint:all"/>
993          <compilerarg value="-Xdoclint:all/protected"/>
994    
995        </javac>
996      </target>
997    
998    
999    <target name="jsr166ejar"    <target name="jsr166ejar"
1000            depends="jsr166ecompile"            depends="jsr166ecompile"

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.151

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