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

Diff of /jsr166/build.xml

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

revision 1.83 by dl, Sat Nov 13 13:20:12 2010 UTC revision 1.92 by jsr166, Mon Jan 14 07:08:06 2013 UTC
# Line 34  Line 34 
34    <property name="build.lib.dir"               location="${build.dir}/lib"/>    <property name="build.lib.dir"               location="${build.dir}/lib"/>
35    <property name="build.javadocs.dir"          location="${build.dir}/javadocs"/>    <property name="build.javadocs.dir"          location="${build.dir}/javadocs"/>
36    <property name="build.reports.dir"           location="${build.dir}/reports"/>    <property name="build.reports.dir"           location="${build.dir}/reports"/>
37    
38      <property name="build.jdk7.dir"              location="${build.dir}/jdk7"/>
39      <property name="build.jdk7.lib.dir"          location="${build.jdk7.dir}"/>
40      <property name="build.jdk7.classes.dir"      location="${build.jdk7.dir}/classes"/>
41      <property name="build.jdk7.docs.dir"         location="${build.jdk7.dir}/docs"/>
42    
43    <property name="build.jsr166x.dir"           location="${build.dir}/jsr166x"/>    <property name="build.jsr166x.dir"           location="${build.dir}/jsr166x"/>
44    <property name="build.jsr166xlib.dir"        location="${build.dir}/jsr166xlib"/>    <property name="build.jsr166xlib.dir"        location="${build.dir}/jsr166xlib"/>
45    <property name="build.jsr166xjavadocs.dir"   location="${build.dir}/jsr166xjavadocs"/>    <property name="build.jsr166xjavadocs.dir"   location="${build.dir}/jsr166xjavadocs"/>
# Line 42  Line 48 
48    <property name="build.jsr166ylib.dir"        location="${build.dir}/jsr166ylib"/>    <property name="build.jsr166ylib.dir"        location="${build.dir}/jsr166ylib"/>
49    <property name="build.jsr166yjavadocs.dir"   location="${build.dir}/jsr166yjavadocs"/>    <property name="build.jsr166yjavadocs.dir"   location="${build.dir}/jsr166yjavadocs"/>
50    
51      <property name="build.jsr166e.dir"           location="${build.dir}/jsr166e"/>
52      <property name="build.jsr166elib.dir"        location="${build.dir}/jsr166elib"/>
53      <property name="build.jsr166ejavadocs.dir"   location="${build.dir}/jsr166ejavadocs"/>
54    
55    <property name="build.extra166y.dir"         location="${build.dir}/extra166y"/>    <property name="build.extra166y.dir"         location="${build.dir}/extra166y"/>
56    <property name="build.extra166ylib.dir"      location="${build.dir}/extra166ylib"/>    <property name="build.extra166ylib.dir"      location="${build.dir}/extra166ylib"/>
57    <property name="build.extra166yjavadocs.dir" location="${build.dir}/extra166yjavadocs"/>    <property name="build.extra166yjavadocs.dir" location="${build.dir}/extra166yjavadocs"/>
58    
59      <!-- JDK binary locations -->
60      <property name="jdks.home"  location="${user.home}/jdk"/>
61      <property name="jdk6.home"  location="${jdks.home}/jdk1.6.0"/>
62      <property name="jdk7.home"  location="${jdks.home}/jdk1.7.0"/>
63      <property name="jdk8.home"  location="${jdks.home}/jdk1.8.0"/>
64      <property name="javac6"     location="${jdk6.home}/bin/javac"/>
65      <property name="javac7"     location="${jdk7.home}/bin/javac"/>
66      <property name="javac8"     location="${jdk8.home}/bin/javac"/>
67      <property name="javadoc6"   location="${jdk6.home}/bin/javadoc"/>
68      <property name="javadoc7"   location="${jdk7.home}/bin/javadoc"/>
69      <property name="javadoc8"   location="${jdk8.home}/bin/javadoc"/>
70      <property name="bootdir6"   location="${jdk6.home}/jre/lib"/>
71      <property name="bootdir7"   location="${jdk7.home}/jre/lib"/>
72      <property name="bootdir8"   location="${jdk8.home}/jre/lib"/>
73      <property name="bootclasspath6"   value="${bootdir6}/resources.jar:${bootdir6}/rt.jar:${bootdir6}/jsse.jar:${bootdir6}/jce.jar:${bootdir6}/:${bootdir6}/charsets.jar"/>
74      <property name="bootclasspath7"   value="${bootdir7}/resources.jar:${bootdir7}/rt.jar:${bootdir7}/jsse.jar:${bootdir7}/jce.jar:${bootdir7}/:${bootdir7}/charsets.jar"/>
75      <property name="bootclasspath8"   value="${bootdir8}/resources.jar:${bootdir8}/rt.jar:${bootdir8}/jsse.jar:${bootdir8}/jce.jar:${bootdir8}/:${bootdir8}/charsets.jar"/>
76    
77    <!-- Source locations -->    <!-- Source locations -->
78    <property name="src.dir"              location="${basedir}/src/main"/>    <property name="src.dir"              location="${basedir}/src/main"/>
79    <property name="test.src.dir"         location="${basedir}/src/test"/>    <property name="test.src.dir"         location="${basedir}/src/test"/>
# Line 55  Line 83 
83    <property name="lib.dir"              location="${basedir}/lib"/>    <property name="lib.dir"              location="${basedir}/lib"/>
84    <property name="dist.dir"             location="${basedir}/dist"/>    <property name="dist.dir"             location="${basedir}/dist"/>
85    <property name="topsrc.dir"           location="${basedir}/src"/>    <property name="topsrc.dir"           location="${basedir}/src"/>
86    <property name="jsr166xsrc.dir"       location="${basedir}/src/jsr166x"/>    <property name="jdk7src.dir"          location="${topsrc.dir}/jdk7"/>
87    <property name="jsr166ysrc.dir"       location="${basedir}/src/jsr166y"/>    <property name="jsr166xsrc.dir"       location="${topsrc.dir}/jsr166x"/>
88    <property name="extra166ysrc.dir"     location="${basedir}/src/extra166y"/>    <property name="jsr166ysrc.dir"       location="${topsrc.dir}/jsr166y"/>
89      <property name="jsr166esrc.dir"       location="${topsrc.dir}/jsr166e"/>
90      <property name="extra166ysrc.dir"     location="${topsrc.dir}/extra166y"/>
91    <property name="jdksrc.dir"           location="/home/dl/1.6.0/j2se/martin/j2se/src/share/classes"/>    <property name="jdksrc.dir"           location="/home/dl/1.6.0/j2se/martin/j2se/src/share/classes"/>
92    
93    <!-- Distribution locations -->    <!-- Distribution locations -->
94    <property name="dist.javadocs.dir"           location="${dist.dir}/docs"/>    <property name="dist.javadocs.dir"           location="${dist.dir}/docs"/>
95      <property name="dist.jdk7.docs.dir"          location="${dist.dir}/jsr166-jdk7docs"/>
96    <property name="dist.jsr166xjavadocs.dir"    location="${dist.dir}/jsr166xdocs"/>    <property name="dist.jsr166xjavadocs.dir"    location="${dist.dir}/jsr166xdocs"/>
97    <property name="dist.jsr166yjavadocs.dir"    location="${dist.dir}/jsr166ydocs"/>    <property name="dist.jsr166yjavadocs.dir"    location="${dist.dir}/jsr166ydocs"/>
98      <property name="dist.jsr166ejavadocs.dir"    location="${dist.dir}/jsr166edocs"/>
99    <property name="dist.extra166yjavadocs.dir"  location="${dist.dir}/extra166ydocs"/>    <property name="dist.extra166yjavadocs.dir"  location="${dist.dir}/extra166ydocs"/>
100    
101    <!-- Jar locations -->    <!-- Jar locations -->
102    <property name="product.jar"          location="${build.lib.dir}/jsr166.jar"/>    <property name="product.jar"          location="${build.lib.dir}/jsr166.jar"/>
103      <property name="jdk7product.jar"      location="${build.jdk7.lib.dir}/jsr166-jdk7.jar"/>
104    <property name="jsr166xproduct.jar"   location="${build.jsr166xlib.dir}/jsr166x.jar"/>    <property name="jsr166xproduct.jar"   location="${build.jsr166xlib.dir}/jsr166x.jar"/>
105    <property name="jsr166yproduct.jar"   location="${build.jsr166ylib.dir}/jsr166y.jar"/>    <property name="jsr166yproduct.jar"   location="${build.jsr166ylib.dir}/jsr166y.jar"/>
106      <property name="jsr166eproduct.jar"   location="${build.jsr166elib.dir}/jsr166e.jar"/>
107    <property name="extra166yproduct.jar" location="${build.extra166ylib.dir}/extra166y.jar"/>    <property name="extra166yproduct.jar" location="${build.extra166ylib.dir}/extra166y.jar"/>
108    <property name="junit.jar"            location="${lib.dir}/junit.jar"/>    <property name="junit.jar"            location="${lib.dir}/junit.jar"/>
109    
110    <!-- Bootclasspath argument -->    <!-- Bootclasspath argument -->
111    <property name="bootclasspath.args"   value="-Xbootclasspath/p:${product.jar}"/>    <property name="bootclasspath.args"   value="-Xbootclasspath/p:${product.jar}"/>
112    
113      <!-- Canonical location of jdk API docs, to use with javadoc link attribute -->
114      <property name="jdkapi5docs.url"      value="http://docs.oracle.com/javase/1.5.0/docs/api/"/>
115      <property name="jdkapi6docs.url"      value="http://docs.oracle.com/javase/6/docs/api/"/>
116      <property name="jdkapi7docs.url"      value="http://docs.oracle.com/javase/7/docs/api/"/>
117    
118      <property name="jdkapi8docs.url"      value="http://download.java.net/jdk8/docs/api/"/>
119      <!-- The below does not yet exist as of 2012-11 -->
120      <!-- <property name="jdkapi8docs.url" value="http://docs.oracle.com/javase/8/docs/api/"/> -->
121      <property name="jdkapidocs.url"       value="${jdkapi7docs.url}"/>
122    
123    <!-- Test classpath -->    <!-- Test classpath -->
124    <path id="test.classpath">    <path id="test.classpath">
125      <pathelement location="${build.testcases.dir}"/>      <pathelement location="${build.testcases.dir}"/>
# Line 90  Line 135 
135    <!-- Main targets -->    <!-- Main targets -->
136    
137    <target name="dists"    <target name="dists"
138            depends="dist, jsr166xdist, jsr166ydist, extra166ydist"            depends="dist, jsr166xdist, jsr166ydist,jsr166edist,  extra166ydist"
139            description="Builds all public jars and docs"/>            description="Builds all public jars and docs"/>
140    
141    <target name="compile"    <target name="compile"
# Line 148  Line 193 
193      <delete dir="${build.javadocs.dir}"/>      <delete dir="${build.javadocs.dir}"/>
194      <mkdir dir="${build.javadocs.dir}"/>      <mkdir dir="${build.javadocs.dir}"/>
195    
196      <javadoc destdir="${build.javadocs.dir}"      <!-- the packagenames="none" hack below prevents scanning the -->
197                  link="http://download.oracle.com/javase/6/docs/api/"      <!-- sourcepath for packages -->
             overview="${src.dir}/intro.html"  
             sourcepath="${src.dir}:${jdksrc.dir}"  
     >  
   
       <packageset dir="${src.dir}"/>  
198    
199        <javadoc destdir="${build.javadocs.dir}"
200                 packagenames="none"
201                 link="${jdkapidocs.url}"
202                 overview="${src.dir}/intro.html"
203                 sourcepath="${src.dir}:${jdksrc.dir}"
204                 additionalparam="-XDignore.symbol.file=true" >
205          <fileset dir="${src.dir}" defaultexcludes="yes">
206            <include name="**/*.java"/>
207          </fileset>
208      </javadoc>      </javadoc>
209    
210    </target>    </target>
# Line 213  Line 262 
262      <delete dir="${dist.javadocs.dir}"/>      <delete dir="${dist.javadocs.dir}"/>
263      <mkdir dir="${dist.javadocs.dir}"/>      <mkdir dir="${dist.javadocs.dir}"/>
264    
265      <javadoc destdir="${dist.javadocs.dir}"      <!-- the packagenames="none" hack below prevents scanning the -->
266              link="http://download.oracle.com/javase/6/docs/api/"      <!-- sourcepath for packages -->
             overview="${src.dir}/intro.html"  
267    
268              sourcepath="${src.dir}:${jdksrc.dir}"      <javadoc destdir="${dist.javadocs.dir}"
269       >               packagenames="none"
270  <!--               link="${jdkapidocs.url}"
271        <packageset dir="${src.dir}" defaultexcludes="yes">               overview="${src.dir}/intro.html"
272        <include name="java/util/concurrent"/>               sourcepath="${src.dir}:${jdksrc.dir}"
273        <include name="java/util/concurrent/atomic"/>               additionalparam="-XDignore.symbol.file=true" >
274        <include name="java/util/concurrent/locks"/>        <fileset dir="${src.dir}" defaultexcludes="yes">
275        </packageset>          <include name="**/*.java"/>
 -->  
       <fileset dir="${topsrc.dir}" defaultexcludes="yes">  
       <include name="main/java/util/concurrent/*.java"/>  
       <include name="main/java/util/concurrent/atomic/*.java"/>  
       <include name="main/java/util/concurrent/locks/*.java"/>  
       <include name="main/java/util/*.java"/>  
 <!--  
       <include name="main/java/util/concurrent/*.html"/>  
       <include name="main/java/util/concurrent/atomic/*.html"/>  
       <include name="main/java/util/concurrent/locks/*.html"/>  
       <include name="main/java/util/*.html"/>  
 -->  
 <!--      <include name="jsr166x/*.java"/> -->  
276        </fileset>        </fileset>
277      </javadoc>      </javadoc>
278    
# Line 281  Line 316 
316    
317        <compilerarg value="${bootclasspath.args}"/>        <compilerarg value="${bootclasspath.args}"/>
318        <compilerarg line="${build.args}"/>        <compilerarg line="${build.args}"/>
319          <compilerarg value="-XDignore.symbol.file=true"/>
320    
321        <classpath refid="test.classpath"/>        <classpath refid="test.classpath"/>
322    
# Line 298  Line 334 
334    
335        <compilerarg value="${bootclasspath.args}"/>        <compilerarg value="${bootclasspath.args}"/>
336        <compilerarg line="${build.args}"/>        <compilerarg line="${build.args}"/>
337          <compilerarg value="-XDignore.symbol.file=true"/>
338    
339        <classpath refid="test.classpath"/>        <classpath refid="test.classpath"/>
340    
# Line 314  Line 351 
351    
352        <compilerarg value="${bootclasspath.args}"/>        <compilerarg value="${bootclasspath.args}"/>
353        <compilerarg line="${build.args}"/>        <compilerarg line="${build.args}"/>
354          <compilerarg value="-XDignore.symbol.file=true"/>
355    
356        <classpath refid="test.classpath"/>        <classpath refid="test.classpath"/>
357    
# Line 454  Line 492 
492    
493        <compilerarg line="${build.args}"/>        <compilerarg line="${build.args}"/>
494        <classpath refid="loops.classpath"/>        <classpath refid="loops.classpath"/>
495          <compilerarg value="-XDignore.symbol.file=true"/>
496    
497      </javac>      </javac>
498    
# Line 464  Line 503 
503    </target>    </target>
504    
505    
506      <!-- jdk7 -->
507    
508    
509      <target name="jdk7compile"
510              depends="configure-compiler"
511              description="Compiles src/jdk7 sources">
512    
513        <mkdir dir="${build.jdk7.classes.dir}"/>
514    
515        <javac srcdir="${jdk7src.dir}"
516               destdir="${build.jdk7.classes.dir}"
517               debug="${build.debug}"
518               debuglevel="${build.debuglevel}"
519               deprecation="${build.deprecation}"
520               source="1.6"
521               classpath=""
522               bootclasspath="${bootclasspath6}"
523               includeAntRuntime="false"
524               includeJavaRuntime="false"
525               executable="${javac6}"
526               fork="true">
527    
528          <include name="**/*.java"/>
529          <compilerarg line="${build.args}"/>
530          <compilerarg value="-XDignore.symbol.file=true"/>
531          <compilerarg value="-Xlint:all"/>
532    
533        </javac>
534    
535      </target>
536    
537    
538    
539      <target name="jdk7jar"
540              depends="jdk7compile"
541              description="Builds library jar from compiled sources">
542    
543        <mkdir dir="${build.jdk7.lib.dir}"/>
544    
545        <jar destfile="${jdk7product.jar}" index="true">
546          <fileset dir="${build.jdk7.classes.dir}"/>
547        </jar>
548    
549      </target>
550    
551    
552    
553      <target name="jdk7docs"
554              description="Builds javadocs with custom tags to build folder">
555    
556        <delete dir="${build.jdk7.docs.dir}"/>
557        <mkdir dir="${build.jdk7.docs.dir}"/>
558    
559        <javadoc destdir="${build.jdk7.docs.dir}"
560                 packagenames="none"
561                 link="${jdkapi7docs.url}"
562                 overview="${jdk7src.dir}/intro.html"
563                 sourcepath="${jdk7src.dir}"
564                 bootclasspath="${bootclasspath6}"
565                 classpath=""
566                 source="1.6"
567                 executable="${javadoc7}"
568                 additionalparam="-XDignore.symbol.file=true" >
569          <fileset dir="${jdk7src.dir}" defaultexcludes="yes">
570            <include name="**/*.java"/>
571          </fileset>
572        </javadoc>
573    
574      </target>
575    
576    
577      <target name="jdk7dist"
578              depends="jdk7dist-clean, jdk7dist-jar, jdk7dist-docs"
579              description="Puts all distributable products in single hierarchy"/>
580    
581    
582    
583      <target name="jdk7clean"
584              description="Removes all build products">
585    
586        <delete dir="${build.jdk7.dir}"/>
587    
588      </target>
589    
590    
591    
592      <target name="jdk7dist-clean"
593              description="Removes all build and distribution products">
594    
595      </target>
596    
597      <target name="jdk7dist-docs"
598              description="Builds javadocs without custom tags to dist folder">
599    
600        <delete dir="${dist.jdk7.docs.dir}"/>
601        <mkdir dir="${dist.jdk7.docs.dir}"/>
602    
603        <javadoc destdir="${dist.jdk7.docs.dir}"
604                 packagenames="none"
605                 link="${jdkapi7docs.url}"
606                 overview="${jdk7src.dir}/intro.html"
607                 sourcepath="${jdk7src.dir}"
608                 classpath=""
609                 executable="${javadoc7}"
610                 bootclasspath="${bootclasspath6}"
611                 source="1.6">
612          <arg value="-XDignore.symbol.file=true"/>
613          <fileset dir="${jdk7src.dir}" defaultexcludes="yes">
614            <include name="**/*.java"/>
615          </fileset>
616        </javadoc>
617    
618      </target>
619    
620      <target name="jdk7dist-jar"
621              depends="jdk7clean, jdk7jar">
622    
623        <copy file="${jdk7product.jar}" todir="${dist.dir}"/>
624    
625      </target>
626    
627    <!-- jsr166x -->    <!-- jsr166x -->
628    
629    
# Line 483  Line 643 
643    
644        <include name="**/*.java"/>        <include name="**/*.java"/>
645        <compilerarg line="${build.args}"/>        <compilerarg line="${build.args}"/>
646          <compilerarg value="-XDignore.symbol.file=true"/>
647    
648      </javac>      </javac>
649    
# Line 511  Line 672 
672      <mkdir dir="${build.jsr166xjavadocs.dir}"/>      <mkdir dir="${build.jsr166xjavadocs.dir}"/>
673    
674      <javadoc destdir="${build.jsr166xjavadocs.dir}"      <javadoc destdir="${build.jsr166xjavadocs.dir}"
675               link="http://download.oracle.com/javase/6/docs/api/"               packagenames="jsr166x"
676              sourcepath="${topsrc.dir}:${jdksrc.dir}"               link="${jdkapidocs.url}"
677      >               source="${build.sourcelevel}"
678        <packageset dir="${topsrc.dir}" defaultexcludes="yes">               sourcepath="${topsrc.dir}:${jdksrc.dir}"
679        <include name="jsr166x"/>               additionalparam="-XDignore.symbol.file=true" />
       </packageset>  
   
   
     </javadoc>  
680    
681    </target>    </target>
682    
# Line 554  Line 711 
711      <mkdir dir="${dist.jsr166xjavadocs.dir}"/>      <mkdir dir="${dist.jsr166xjavadocs.dir}"/>
712    
713      <javadoc destdir="${dist.jsr166xjavadocs.dir}"      <javadoc destdir="${dist.jsr166xjavadocs.dir}"
714                  link="http://download.oracle.com/javase/6/docs/api/"               packagenames="jsr166x"
715                source="${build.sourcelevel}">               link="${jdkapidocs.url}"
716                 source="${build.sourcelevel}"
717        <packageset dir="${topsrc.dir}" defaultexcludes="yes">               sourcepath="${topsrc.dir}:${jdksrc.dir}"
718        <include name="jsr166x"/>               additionalparam="-XDignore.symbol.file=true" />
       </packageset>  
   
     </javadoc>  
719    
720    </target>    </target>
721    
# Line 623  Line 777 
777      <mkdir dir="${build.jsr166yjavadocs.dir}"/>      <mkdir dir="${build.jsr166yjavadocs.dir}"/>
778    
779      <javadoc destdir="${build.jsr166yjavadocs.dir}"      <javadoc destdir="${build.jsr166yjavadocs.dir}"
780                  link="http://download.oracle.com/javase/6/docs/api/"               packagenames="jsr166y"
781              sourcepath="${topsrc.dir}:${jdksrc.dir}"               link="${jdkapidocs.url}"
782      >               source="${build.sourcelevel}"
783        <packageset dir="${topsrc.dir}" defaultexcludes="no">               sourcepath="${topsrc.dir}:${jdksrc.dir}"
784        <include name="jsr166y"/>               additionalparam="-XDignore.symbol.file=true" />
       </packageset>  
   
   
     </javadoc>  
785    
786    </target>    </target>
787    
# Line 664  Line 814 
814      <mkdir dir="${dist.jsr166yjavadocs.dir}"/>      <mkdir dir="${dist.jsr166yjavadocs.dir}"/>
815    
816      <javadoc destdir="${dist.jsr166yjavadocs.dir}"      <javadoc destdir="${dist.jsr166yjavadocs.dir}"
817                  link="http://download.oracle.com/javase/6/docs/api/"               packagenames="jsr166y"
818                source="${build.sourcelevel}"               link="${jdkapidocs.url}"
819              sourcepath="${topsrc.dir}:${jdksrc.dir}"               source="${build.sourcelevel}"
820              >               sourcepath="${topsrc.dir}:${jdksrc.dir}"
821        <fileset dir="${topsrc.dir}" defaultexcludes="yes">               additionalparam="-XDignore.symbol.file=true" />
       <include name="jsr166y/*.java"/>  
             </fileset>  
     </javadoc>  
822    
823    </target>    </target>
824    
# Line 682  Line 829 
829    
830    </target>    </target>
831    
832    
833    <!-- extra166y -->    <!-- extra166y -->
834    
835    
# Line 734  Line 882 
882      <mkdir dir="${build.extra166yjavadocs.dir}"/>      <mkdir dir="${build.extra166yjavadocs.dir}"/>
883    
884      <javadoc destdir="${build.extra166yjavadocs.dir}"      <javadoc destdir="${build.extra166yjavadocs.dir}"
885                  link="http://download.oracle.com/javase/6/docs/api/"               packagenames="extra166y"
886              sourcepath="${topsrc.dir}:${jdksrc.dir}"               link="${jdkapidocs.url}"
887      >               source="${build.sourcelevel}"
888        <packageset dir="${topsrc.dir}" defaultexcludes="no">               sourcepath="${topsrc.dir}:${jdksrc.dir}"
889        <include name="extra166y"/>               additionalparam="-XDignore.symbol.file=true" />
       </packageset>  
   
   
     </javadoc>  
890    
891    </target>    </target>
892    
# Line 775  Line 919 
919      <mkdir dir="${dist.extra166yjavadocs.dir}"/>      <mkdir dir="${dist.extra166yjavadocs.dir}"/>
920    
921      <javadoc destdir="${dist.extra166yjavadocs.dir}"      <javadoc destdir="${dist.extra166yjavadocs.dir}"
922                  link="http://download.oracle.com/javase/6/docs/api/"               packagenames="extra166y"
923                source="${build.sourcelevel}"               link="${jdkapidocs.url}"
924              sourcepath="${topsrc.dir}:${jdksrc.dir}"               source="${build.sourcelevel}"
925              >               sourcepath="${topsrc.dir}:${jdksrc.dir}"
926        <fileset dir="${topsrc.dir}" defaultexcludes="yes">               additionalparam="-XDignore.symbol.file=true" />
       <include name="extra166y/*.java"/>  
             </fileset>  
     </javadoc>  
927    
928    </target>    </target>
929    
# Line 793  Line 934 
934    
935    </target>    </target>
936    
937      <!-- jsr166e -->
938    
939    
940      <target name="jsr166ecompile"
941              depends="init, configure-compiler"
942              description="Compiles jsr166e sources">
943    
944        <mkdir dir="${build.jsr166e.dir}"/>
945    
946        <javac srcdir="${jsr166esrc.dir}"
947              destdir="${build.jsr166e.dir}"
948                debug="${build.debug}"
949           debuglevel="${build.debuglevel}"
950          deprecation="${build.deprecation}"
951               source="1.7"
952                 fork="true">
953    
954          <include name="**/*.java"/>
955          <compilerarg line="${build.args}"/>
956          <compilerarg value="-XDignore.symbol.file=true"/>
957          <compilerarg value="${bootclasspath.args}"/>
958    
959    <!--       <compilerarg line="-Xlint -Xmaxwarns 1000"/> -->
960    
961        </javac>
962    
963      </target>
964    
965    
966    
967      <target name="jsr166ejar"
968              depends="jsr166ecompile"
969              description="Builds library jar from compiled sources">
970    
971        <mkdir dir="${build.jsr166elib.dir}"/>
972    
973        <jar destfile="${jsr166eproduct.jar}" index="true">
974          <fileset dir="${build.jsr166e.dir}"/>
975        </jar>
976    
977      </target>
978    
979    
980    
981      <target name="jsr166edocs"
982              description="Builds javadocs with custom tags to build folder">
983    
984        <delete dir="${build.jsr166ejavadocs.dir}"/>
985        <mkdir dir="${build.jsr166ejavadocs.dir}"/>
986    
987        <javadoc destdir="${build.jsr166ejavadocs.dir}"
988                 packagenames="jsr166e,jsr166e.extra"
989                 link="${jdkapidocs.url}"
990                 source="1.7"
991                 sourcepath="${topsrc.dir}:${jdksrc.dir}"
992                 additionalparam="-XDignore.symbol.file=true" />
993    
994      </target>
995    
996    
997      <target name="jsr166edist"
998              depends="jsr166edist-clean, jsr166edist-jar, jsr166edist-docs"
999              description="Puts all distributable products in single hierarchy"/>
1000    
1001    
1002    
1003      <target name="jsr166eclean"
1004              description="Removes all build products">
1005    
1006        <delete dir="${build.jsr166e.dir}"/>
1007        <delete dir="${build.jsr166elib.dir}"/>
1008    
1009      </target>
1010    
1011    
1012    
1013      <target name="jsr166edist-clean"
1014              description="Removes all build and distribution products">
1015    
1016      </target>
1017    
1018      <target name="jsr166edist-docs"
1019              description="Builds javadocs without custom tags to dist folder">
1020    
1021        <delete dir="${dist.jsr166ejavadocs.dir}"/>
1022        <mkdir dir="${dist.jsr166ejavadocs.dir}"/>
1023    
1024        <javadoc destdir="${dist.jsr166ejavadocs.dir}"
1025                 packagenames="jsr166e,jsr166e.extra"
1026                 link="${jdkapidocs.url}"
1027                 source="1.7"
1028                 sourcepath="${topsrc.dir}:${jdksrc.dir}"
1029                 additionalparam="-XDignore.symbol.file=true" />
1030    
1031      </target>
1032    
1033      <target name="jsr166edist-jar"
1034              depends="jsr166eclean, jsr166ejar">
1035    
1036        <copy file="${jsr166eproduct.jar}" todir="${dist.dir}"/>
1037    
1038      </target>
1039    
1040  </project>  </project>

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.92

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