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

Diff of /jsr166/build.xml

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

revision 1.120 by jsr166, Mon Jan 21 02:34:44 2013 UTC revision 1.131 by jsr166, Fri Feb 1 18:31:17 2013 UTC
# Line 22  Line 22 
22    $HOME/jdk/src/jdk8    $HOME/jdk/src/jdk8
23    where each of the above is a complete JDK source tree    where each of the above is a complete JDK source tree
24    (e.g. mercurial forest) or a symlink to same.    (e.g. mercurial forest) or a symlink to same.
25    As of 2013-02, the very latest lambda 8 jdk is needed for jdk8.
26  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
27    </description>    </description>
28    
29    <target name="usage" description="Advises user to run with -projecthelp">    <target name="usage" description="Display main targets by running 'ant -projecthelp'">
30      <echo>Run "ant -projecthelp" for full usage information.</echo>      <java classname="org.apache.tools.ant.Main">
31          <arg value="-projecthelp" />
32        </java>
33    </target>    </target>
34    
35    
# Line 39  Line 42 
42    <property name="build.debug"          value="true"/>    <property name="build.debug"          value="true"/>
43    <property name="build.debuglevel"     value="source,lines,vars"/>    <property name="build.debuglevel"     value="source,lines,vars"/>
44    <property name="build.deprecation"    value="false"/>    <property name="build.deprecation"    value="false"/>
45      <property name="build.javadoc.access" value="protected"/>
46    
47    <!-- Build locations -->    <!-- Build locations -->
48    <property name="build.dir"                   location="build"/>    <property name="build.dir"                   location="build"/>
# Line 57  Line 61 
61    <property name="build.jsr166e.dir"           location="${build.dir}/jsr166e"/>    <property name="build.jsr166e.dir"           location="${build.dir}/jsr166e"/>
62    <property name="build.extra166y.dir"         location="${build.dir}/extra166y"/>    <property name="build.extra166y.dir"         location="${build.dir}/extra166y"/>
63    
64    <property name="build.jsr166x.classes.dir"    location="${build.jsr166x.dir}/classes"/>    <property name="build.jsr166x.classes.dir"   location="${build.jsr166x.dir}/classes"/>
65    <property name="build.jsr166y.classes.dir"    location="${build.jsr166y.dir}/classes"/>    <property name="build.jsr166y.classes.dir"   location="${build.jsr166y.dir}/classes"/>
66    <property name="build.jsr166e.classes.dir"    location="${build.jsr166e.dir}/classes"/>    <property name="build.jsr166e.classes.dir"   location="${build.jsr166e.dir}/classes"/>
67    <property name="build.extra166y.classes.dir"  location="${build.extra166y.dir}/classes"/>    <property name="build.extra166y.classes.dir" location="${build.extra166y.dir}/classes"/>
68    
69    <!-- JDK locations -->    <!-- JDK locations -->
70    <property name="jdks.home"  location="${user.home}/jdk"/>    <property name="jdks.home"  location="${user.home}/jdk"/>
# Line 86  Line 90 
90      </sequential>      </sequential>
91    </macrodef>    </macrodef>
92    
93      <macrodef name="mirror-dir">
94        <attribute name="src"/>
95        <attribute name="dst"/>
96        <sequential>
97        <delete dir="@{dst}"/>
98        <mkdir dir="@{dst}"/>
99        <copy todir="@{dst}" preservelastmodified="true">
100          <fileset dir="@{src}"/>
101        </copy>
102        </sequential>
103      </macrodef>
104    
105    <defjdklocations v="6"/>    <defjdklocations v="6"/>
106    <defjdklocations v="7"/>    <defjdklocations v="7"/>
107    <defjdklocations v="8"/>    <defjdklocations v="8"/>
# Line 105  Line 121 
121    <property name="jsr166esrc.dir"       location="${topsrc.dir}/jsr166e"/>    <property name="jsr166esrc.dir"       location="${topsrc.dir}/jsr166e"/>
122    <property name="extra166ysrc.dir"     location="${topsrc.dir}/extra166y"/>    <property name="extra166ysrc.dir"     location="${topsrc.dir}/extra166y"/>
123    
124    <!-- Distribution locations -->    <!-- Javadoc locations -->
125    <property name="dist.javadocs.dir"          location="${dist.dir}/jsr166.docs"/>    <property name="docs.dir"          location="${build.dir}/docs"/>
126    <property name="dist.4jdk7.docs.dir"        location="${dist.dir}/jsr166-4jdk7.docs"/>    <property name="4jdk7docs.dir"     location="${build.4jdk7.dir}/docs"/>
127    <property name="dist.jsr166xjavadocs.dir"   location="${dist.dir}/jsr166x.docs"/>    <property name="jsr166xdocs.dir"   location="${build.jsr166x.dir}/docs"/>
128    <property name="dist.jsr166yjavadocs.dir"   location="${dist.dir}/jsr166y.docs"/>    <property name="jsr166ydocs.dir"   location="${build.jsr166y.dir}/docs"/>
129    <property name="dist.jsr166ejavadocs.dir"   location="${dist.dir}/jsr166e.docs"/>    <property name="jsr166edocs.dir"   location="${build.jsr166e.dir}/docs"/>
130    <property name="dist.extra166yjavadocs.dir" location="${dist.dir}/extra166y.docs"/>    <property name="extra166ydocs.dir" location="${build.extra166y.dir}/docs"/>
131    
132      <property name="dist.docs.dir"          location="${dist.dir}/docs"/>
133      <property name="dist.4jdk7docs.dir"     location="${dist.dir}/jsr166-4jdk7docs"/>
134      <property name="dist.jsr166xdocs.dir"   location="${dist.dir}/jsr166xdocs"/>
135      <property name="dist.jsr166ydocs.dir"   location="${dist.dir}/jsr166ydocs"/>
136      <property name="dist.jsr166edocs.dir"   location="${dist.dir}/jsr166edocs"/>
137      <property name="dist.extra166ydocs.dir" location="${dist.dir}/extra166ydocs"/>
138    
139    <!-- Jar locations -->    <!-- Jar locations -->
140    <property name="product.jar"      location="${build.dir}/jsr166.jar"/>    <property name="product.jar"      location="${build.dir}/jsr166.jar"/>
# Line 128  Line 151 
151    <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/"/>
152    
153    <property name="jdkapi8docs.url"      value="http://download.java.net/jdk8/docs/api/"/>    <property name="jdkapi8docs.url"      value="http://download.java.net/jdk8/docs/api/"/>
154    <!-- The below does not yet exist as of 2012-11 -->    <!-- The below does not yet exist as of 2013-01 -->
155    <!-- <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/"/> -->
156    
157    <!-- Default jdk api doc location (latest stable release seems best) -->    <!-- Default jdk api doc location (latest stable release seems best) -->
# Line 146  Line 169 
169    </path>    </path>
170    
171    <macrodef name="run-tck-tests">    <macrodef name="run-tck-tests">
172        <attribute name="tck.src.dir" default="${tck.src.dir}"/>
173        <attribute name="source" default="6"/>
174      <attribute name="target"/>      <attribute name="target"/>
175      <attribute name="workdir"/>      <attribute name="workdir"/>
176      <attribute name="product.jar" default="${product.jar}"/>      <attribute name="classes"/>
177      <attribute name="jvmflags" default=""/>      <attribute name="jvmflags" default=""/>
178      <sequential>      <sequential>
179    
180      <mkdir dir="@{workdir}/tck-classes"/>      <mkdir dir="@{workdir}/tck-classes"/>
181    
182      <javac srcdir="${tck.src.dir}"      <javac srcdir="@{tck.src.dir}"
183             destdir="@{workdir}/tck-classes"             destdir="@{workdir}/tck-classes"
184             debug="${build.debug}"             debug="${build.debug}"
185             debuglevel="${build.debuglevel}"             debuglevel="${build.debuglevel}"
186             deprecation="${build.deprecation}"             deprecation="${build.deprecation}"
187             source="6"             source="@{source}"
188             classpath="${junit.jar}"             classpath="${junit.jar}"
189             bootclasspath="@{product.jar}:${bootclasspath6}"             bootclasspath="@{classes}:${bootclasspath@{source}}"
190             includeAntRuntime="false"             includeAntRuntime="false"
191             includeJavaRuntime="false"             includeJavaRuntime="false"
192             executable="${javac@{target}}"             executable="${javac@{target}}"
193             fork="true">             fork="true">
194    
195        <include name="JSR166TestCase.java"/>        <include name="*.java"/>
196        <compilerarg value="-XDignore.symbol.file=true"/>        <compilerarg value="-XDignore.symbol.file=true"/>
197        <compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation"/>        <compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation"/>
198        <compilerarg line="${build.args}"/>        <compilerarg line="${build.args}"/>
# Line 178  Line 203 
203            failonerror="true"            failonerror="true"
204            jvm="${java@{target}}"            jvm="${java@{target}}"
205            fork="true">            fork="true">
206          <jvmarg value="-Xbootclasspath/p:@{product.jar}"/>          <jvmarg value="-Xbootclasspath/p:@{classes}"/>
207          <jvmarg line="@{jvmflags}"/>          <jvmarg line="@{jvmflags}"/>
208          <classpath>          <classpath>
209            <pathelement location="${junit.jar}"/>            <pathelement location="${junit.jar}"/>
# Line 248  Line 273 
273    <target name="docs"    <target name="docs"
274            description="Builds javadocs for src/main to dist dir">            description="Builds javadocs for src/main to dist dir">
275    
276      <delete dir="${dist.javadocs.dir}"/>      <delete dir="${docs.dir}"/>
277      <mkdir dir="${dist.javadocs.dir}"/>      <mkdir dir="${docs.dir}"/>
278    
279      <!-- the packagenames="none" hack below prevents scanning the -->      <!-- the packagenames="none" hack below prevents scanning the -->
280      <!-- sourcepath for packages -->      <!-- sourcepath for packages -->
281    
282      <javadoc destdir="${dist.javadocs.dir}"      <javadoc destdir="${docs.dir}"
283               packagenames="none"               packagenames="none"
284               link="${jdkapi8docs.url}"               link="${jdkapi8docs.url}"
285               overview="${src.dir}/intro.html"               overview="${src.dir}/intro.html"
286                 access="${build.javadoc.access}"
287               sourcepath="${src.dir}:${jdk8src.dir}"               sourcepath="${src.dir}:${jdk8src.dir}"
288               classpath=""               classpath=""
289               executable="${javadoc8}">               executable="${javadoc8}">
# Line 272  Line 298 
298    
299    
300    <target name="dist"    <target name="dist"
301            depends="dist-clean, dist-jar, docs"            depends="dist-clean, dist-jar, dist-docs"
302            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
303    
304    
# Line 315  Line 341 
341    
342    <target name="dist-jar"    <target name="dist-jar"
343            depends="clean, jar">            depends="clean, jar">
   
344      <copy file="${product.jar}" todir="${dist.dir}"/>      <copy file="${product.jar}" todir="${dist.dir}"/>
345      </target>
346    
347      <target name="dist-docs"
348              depends="clean, docs">
349        <mirror-dir src="${docs.dir}" dst="${dist.docs.dir}"/>
350    </target>    </target>
351    
352    
# Line 384  Line 413 
413    
414    </target>    </target>
415    
416      <target name="test-tck"
417              depends="jar"
418              description="Runs tck tests for main directly">
419    
420        <run-tck-tests
421          target="8"
422          workdir="${build.dir}"
423          classes="${product.jar}"/>
424      </target>
425    
426    <target name="run-tests"    <target name="run-tests"
427            depends="compile-tests">            depends="compile-tests">
# Line 558  Line 596 
596    </target>    </target>
597    
598    
599    <target name="4jdk7-jar"    <target name="4jdk7jar"
600            depends="4jdk7compile"            depends="4jdk7compile"
601            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
602    
# Line 570  Line 608 
608    
609    
610    <target name="4jdk7-test-tck"    <target name="4jdk7-test-tck"
611            depends="4jdk7-jar"            depends="4jdk7jar"
612            description="Runs tck tests for jsr166-4jdk7 directly">            description="Runs tck tests for jsr166-4jdk7 directly">
613    
614      <run-tck-tests      <run-tck-tests
615        target="7"        target="7"
616        workdir="${build.4jdk7.dir}"        workdir="${build.4jdk7.dir}"
617        product.jar="${4jdk7product.jar}"/>        classes="${4jdk7product.jar}"/>
618    </target>    </target>
619    
620    
# Line 639  Line 677 
677    <target name="4jdk7docs"    <target name="4jdk7docs"
678            description="Builds javadocs for src/jdk7 to dist dir">            description="Builds javadocs for src/jdk7 to dist dir">
679    
680      <delete dir="${dist.4jdk7.docs.dir}"/>      <delete dir="${4jdk7docs.dir}"/>
681      <mkdir dir="${dist.4jdk7.docs.dir}"/>      <mkdir dir="${4jdk7docs.dir}"/>
682    
683      <javadoc destdir="${dist.4jdk7.docs.dir}"      <javadoc destdir="${4jdk7docs.dir}"
684               packagenames="none"               packagenames="none"
685               link="${jdkapi7docs.url}"               link="${jdkapi7docs.url}"
686               overview="${4jdk7src.dir}/intro.html"               overview="${4jdk7src.dir}/intro.html"
687                 access="${build.javadoc.access}"
688               sourcepath="${4jdk7src.dir}:${jdk7src.dir}"               sourcepath="${4jdk7src.dir}:${jdk7src.dir}"
689               classpath=""               classpath=""
690               executable="${javadoc7}">               executable="${javadoc7}">
# Line 658  Line 697 
697    
698    
699    <target name="4jdk7dist"    <target name="4jdk7dist"
700            depends="4jdk7dist-clean, 4jdk7dist-jar, 4jdk7docs"            depends="4jdk7dist-jar, 4jdk7dist-docs"
701            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
702    
703    
# Line 676  Line 715 
715    </target>    </target>
716    
717    <target name="4jdk7dist-jar"    <target name="4jdk7dist-jar"
718            depends="4jdk7clean, 4jdk7-jar">            depends="4jdk7clean, 4jdk7jar">
   
719      <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>      <copy file="${4jdk7product.jar}" todir="${dist.dir}"/>
720      </target>
721    
722    
723      <target name="4jdk7dist-docs"
724              depends="4jdk7clean, 4jdk7docs">
725        <mirror-dir src="${4jdk7docs.dir}" dst="${dist.4jdk7docs.dir}"/>
726    </target>    </target>
727    
728    
# Line 713  Line 756 
756    </target>    </target>
757    
758    
759    <target name="jsr166x-jar"    <target name="jsr166xjar"
760            depends="jsr166xcompile"            depends="jsr166xcompile"
761            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
762    
# Line 727  Line 770 
770    <target name="jsr166xdocs"    <target name="jsr166xdocs"
771            description="Builds javadocs to dist dir">            description="Builds javadocs to dist dir">
772    
773      <delete dir="${dist.jsr166xjavadocs.dir}"/>      <delete dir="${jsr166xdocs.dir}"/>
774      <mkdir dir="${dist.jsr166xjavadocs.dir}"/>      <mkdir dir="${jsr166xdocs.dir}"/>
775    
776      <javadoc destdir="${dist.jsr166xjavadocs.dir}"      <javadoc destdir="${jsr166xdocs.dir}"
777               packagenames="jsr166x.*"               packagenames="jsr166x.*"
778               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
779                 access="${build.javadoc.access}"
780               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
781               bootclasspath="${bootclasspath6}"               bootclasspath="${bootclasspath6}"
782               source="5"               source="5"
# Line 744  Line 788 
788    
789    
790    <target name="jsr166xdist"    <target name="jsr166xdist"
791            depends="jsr166xdist-clean, jsr166xdist-jar, jsr166xdocs"            depends="jsr166xdist-jar, jsr166xdist-docs"
792            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
793    
794    
# Line 763  Line 807 
807    
808    
809    <target name="jsr166xdist-jar"    <target name="jsr166xdist-jar"
810            depends="jsr166xclean, jsr166x-jar">            depends="jsr166xclean, jsr166xjar">
   
811      <copy file="${jsr166x.jar}" todir="${dist.dir}"/>      <copy file="${jsr166x.jar}" todir="${dist.dir}"/>
812      </target>
813    
814      <target name="jsr166xdist-docs"
815              depends="jsr166xclean, jsr166xdocs">
816        <mirror-dir src="${jsr166xdocs.dir}" dst="${dist.jsr166xdocs.dir}"/>
817    </target>    </target>
818    
819    <!-- jsr166y -->    <!-- jsr166y -->
# Line 800  Line 847 
847    </target>    </target>
848    
849    
850    <target name="jsr166y-jar"    <target name="jsr166yjar"
851            depends="jsr166ycompile"            depends="jsr166ycompile"
852            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
853    
# Line 814  Line 861 
861    <target name="jsr166ydocs"    <target name="jsr166ydocs"
862            description="Builds javadocs to dist dir">            description="Builds javadocs to dist dir">
863    
864      <delete dir="${dist.jsr166yjavadocs.dir}"/>      <delete dir="${jsr166ydocs.dir}"/>
865      <mkdir dir="${dist.jsr166yjavadocs.dir}"/>      <mkdir dir="${jsr166ydocs.dir}"/>
866    
867      <javadoc destdir="${dist.jsr166yjavadocs.dir}"      <javadoc destdir="${jsr166ydocs.dir}"
868               packagenames="jsr166y.*"               packagenames="jsr166y.*"
869               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
870                 access="${build.javadoc.access}"
871               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
872               bootclasspath="${bootclasspath6}"               bootclasspath="${bootclasspath6}"
873               source="6"               source="6"
# Line 831  Line 879 
879    
880    
881    <target name="jsr166ydist"    <target name="jsr166ydist"
882            depends="jsr166ydist-clean, jsr166ydist-jar, jsr166ydocs"            depends="jsr166ydist-jar, jsr166ydist-docs"
883            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
884    
885    
# Line 849  Line 897 
897    </target>    </target>
898    
899    <target name="jsr166ydist-jar"    <target name="jsr166ydist-jar"
900            depends="jsr166yclean, jsr166y-jar">            depends="jsr166yclean, jsr166yjar">
   
901      <copy file="${jsr166y.jar}" todir="${dist.dir}"/>      <copy file="${jsr166y.jar}" todir="${dist.dir}"/>
902      </target>
903    
904      <target name="jsr166ydist-docs"
905              depends="jsr166yclean, jsr166ydocs">
906        <mirror-dir src="${jsr166ydocs.dir}" dst="${dist.jsr166ydocs.dir}"/>
907    </target>    </target>
908    
909    
# Line 860  Line 911 
911    
912    
913    <target name="extra166ycompile"    <target name="extra166ycompile"
914            depends="configure-compiler, jsr166y-jar"            depends="configure-compiler, jsr166yjar"
915            description="Compiles extra166y sources">            description="Compiles extra166y sources">
916    
917      <mkdir dir="${build.extra166y.classes.dir}"/>      <mkdir dir="${build.extra166y.classes.dir}"/>
# Line 887  Line 938 
938    </target>    </target>
939    
940    
941    <target name="extra166y-jar"    <target name="extra166yjar"
942            depends="extra166ycompile"            depends="extra166ycompile"
943            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
944    
# Line 901  Line 952 
952    <target name="extra166ydocs"    <target name="extra166ydocs"
953            description="Builds javadocs to build dir">            description="Builds javadocs to build dir">
954    
955      <delete dir="${dist.extra166yjavadocs.dir}"/>      <delete dir="${extra166ydocs.dir}"/>
956      <mkdir dir="${dist.extra166yjavadocs.dir}"/>      <mkdir dir="${extra166ydocs.dir}"/>
957    
958      <javadoc destdir="${dist.extra166yjavadocs.dir}"      <javadoc destdir="${extra166ydocs.dir}"
959               packagenames="extra166y.*"               packagenames="extra166y.*"
960               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
961                 access="${build.javadoc.access}"
962               sourcepath="${topsrc.dir}:${jdk6src.dir}"               sourcepath="${topsrc.dir}:${jdk6src.dir}"
963               bootclasspath="${bootclasspath6}"               bootclasspath="${bootclasspath6}"
964               source="6"               source="6"
# Line 918  Line 970 
970    
971    
972    <target name="extra166ydist"    <target name="extra166ydist"
973            depends="extra166ydist-clean, extra166ydist-jar, extra166ydocs"            depends="extra166ydist-jar, extra166ydist-docs"
974            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
975    
976    
# Line 936  Line 988 
988    </target>    </target>
989    
990    <target name="extra166ydist-jar"    <target name="extra166ydist-jar"
991            depends="extra166yclean, extra166y-jar">            depends="extra166yclean, extra166yjar">
   
992      <copy file="${extra166y.jar}" todir="${dist.dir}"/>      <copy file="${extra166y.jar}" todir="${dist.dir}"/>
993      </target>
994    
995      <target name="extra166ydist-docs"
996              depends="extra166yclean, extra166ydocs">
997        <mirror-dir src="${extra166ydocs.dir}" dst="${dist.extra166ydocs.dir}"/>
998    </target>    </target>
999    
1000    <!-- jsr166e -->    <!-- jsr166e -->
# Line 971  Line 1026 
1026    </target>    </target>
1027    
1028    
1029    <target name="jsr166e-jar"    <target name="jsr166ejar"
1030            depends="jsr166ecompile"            depends="jsr166ecompile"
1031            description="Builds library jar from compiled sources">            description="Builds library jar from compiled sources">
1032    
# Line 985  Line 1040 
1040    <target name="jsr166edocs"    <target name="jsr166edocs"
1041            description="Builds javadocs to build dir">            description="Builds javadocs to build dir">
1042    
1043      <delete dir="${dist.jsr166ejavadocs.dir}"/>      <delete dir="${jsr166edocs.dir}"/>
1044      <mkdir dir="${dist.jsr166ejavadocs.dir}"/>      <mkdir dir="${jsr166edocs.dir}"/>
1045    
1046      <javadoc destdir="${dist.jsr166ejavadocs.dir}"      <javadoc destdir="${jsr166edocs.dir}"
1047               packagenames="jsr166e.*"               packagenames="jsr166e.*"
1048               link="${jdkapidocs.url}"               link="${jdkapidocs.url}"
1049                 access="${build.javadoc.access}"
1050               sourcepath="${topsrc.dir}:${jdk7src.dir}"               sourcepath="${topsrc.dir}:${jdk7src.dir}"
1051               source="7"               source="7"
1052               executable="${javadoc7}">               executable="${javadoc7}">
# Line 1000  Line 1056 
1056    </target>    </target>
1057    
1058    
1059      <target name="jsr166e-test-tck"
1060              depends="jsr166ejar"
1061              description="Runs tck tests for jsr166e">
1062    
1063        <run-tck-tests
1064          tck.src.dir="${test.src.dir}/tck-jsr166e"
1065          source="7"
1066          target="8"
1067          workdir="${build.jsr166e.dir}"
1068          classes="${jsr166e.jar}"/>
1069      </target>
1070    
1071    
1072    <target name="jsr166edist"    <target name="jsr166edist"
1073            depends="jsr166edist-clean, jsr166edist-jar, jsr166edocs"            depends="jsr166edist-jar, jsr166edist-docs"
1074            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
1075    
1076    
1077    <target name="jsr166eclean"    <target name="jsr166eclean"
1078            description="Removes all jsr166e build products">            description="Removes all jsr166e build products">
   
1079      <delete dir="${build.jsr166e.dir}"/>      <delete dir="${build.jsr166e.dir}"/>
   
1080    </target>    </target>
1081    
1082    
# Line 1019  Line 1086 
1086    </target>    </target>
1087    
1088    <target name="jsr166edist-jar"    <target name="jsr166edist-jar"
1089            depends="jsr166eclean, jsr166e-jar">            depends="jsr166eclean, jsr166ejar">
   
1090      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>      <copy file="${jsr166e.jar}" todir="${dist.dir}"/>
1091      </target>
1092    
1093      <target name="jsr166edist-docs"
1094              depends="jsr166eclean, jsr166edocs">
1095        <mirror-dir src="${jsr166edocs.dir}" dst="${dist.jsr166edocs.dir}"/>
1096    </target>    </target>
1097    
1098    
1099    <!-- Find buglets that can be detected by static build tools -->
1100    
1101      <target name="lint">
1102        <antcall target="dists">
1103          <param name="build.javadoc.access" value="private"/>
1104        </antcall>
1105      </target>
1106    
1107    
1108  </project>  </project>

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.131

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