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

Diff of /jsr166/build.xml

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

revision 1.76 by dl, Tue Jan 6 16:31:52 2009 UTC revision 1.80 by dl, Sat Aug 1 23:35:22 2009 UTC
# Line 21  Line 21 
21    
22    
23    <!-- Compilation options -->    <!-- Compilation options -->
24    <property name="build.sourcelevel"    value="1.5"/>    <property name="build.sourcelevel"    value="1.6"/>
25    <property name="build.debug"          value="true"/>    <property name="build.debug"          value="true"/>
26    <property name="build.debuglevel"     value="source,lines,vars"/>    <property name="build.debuglevel"     value="source,lines,vars"/>
27    <property name="build.deprecation"    value="false"/>    <property name="build.deprecation"    value="false"/>
28    
29    <!-- Build locations -->    <!-- Build locations -->
30    <property name="build.dir"            location="build"/>    <property name="build.dir"                   location="build"/>
31    <property name="build.classes.dir"    location="${build.dir}/classes"/>    <property name="build.classes.dir"           location="${build.dir}/classes"/>
32    <property name="build.testcases.dir"  location="${build.dir}/testcases"/>    <property name="build.testcases.dir"         location="${build.dir}/testcases"/>
33    <property name="build.loops.dir"      location="${build.dir}/loops"/>    <property name="build.loops.dir"             location="${build.dir}/loops"/>
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    <property name="build.jsr166x.dir"    location="${build.dir}/jsr166x"/>    <property name="build.jsr166x.dir"           location="${build.dir}/jsr166x"/>
38    <property name="build.jsr166xlib.dir"        location="${build.dir}/jsr166xlib"/>    <property name="build.jsr166xlib.dir"        location="${build.dir}/jsr166xlib"/>
39    <property name="build.jsr166xjavadocs.dir"   location="${build.dir}/jsr166xjavadocs"/>    <property name="build.jsr166xjavadocs.dir"   location="${build.dir}/jsr166xjavadocs"/>
40    
41    <property name="build.jsr166y.dir"    location="${build.dir}/jsr166y"/>    <property name="build.jsr166y.dir"           location="${build.dir}/jsr166y"/>
42    <property name="build.jsr166ylib.dir"        location="${build.dir}/jsr166ylib"/>    <property name="build.jsr166ylib.dir"        location="${build.dir}/jsr166ylib"/>
43    <property name="build.jsr166yjavadocs.dir"   location="${build.dir}/jsr166yjavadocs"/>    <property name="build.jsr166yjavadocs.dir"   location="${build.dir}/jsr166yjavadocs"/>
44    
45    <property name="build.extra166y.dir"    location="${build.dir}/extra166y"/>    <property name="build.extra166y.dir"         location="${build.dir}/extra166y"/>
46    <property name="build.extra166ylib.dir"        location="${build.dir}/extra166ylib"/>    <property name="build.extra166ylib.dir"      location="${build.dir}/extra166ylib"/>
47    <property name="build.extra166yjavadocs.dir"   location="${build.dir}/extra166yjavadocs"/>    <property name="build.extra166yjavadocs.dir" location="${build.dir}/extra166yjavadocs"/>
48    
49    <!-- Source locations -->    <!-- Source locations -->
50    <property name="src.dir"              location="${basedir}/src/main"/>    <property name="src.dir"              location="${basedir}/src/main"/>
# Line 57  Line 57 
57    <property name="topsrc.dir"           location="${basedir}/src"/>    <property name="topsrc.dir"           location="${basedir}/src"/>
58    <property name="jsr166xsrc.dir"       location="${basedir}/src/jsr166x"/>    <property name="jsr166xsrc.dir"       location="${basedir}/src/jsr166x"/>
59    <property name="jsr166ysrc.dir"       location="${basedir}/src/jsr166y"/>    <property name="jsr166ysrc.dir"       location="${basedir}/src/jsr166y"/>
60    <property name="extra166ysrc.dir"       location="${basedir}/src/extra166y"/>    <property name="extra166ysrc.dir"     location="${basedir}/src/extra166y"/>
61      <property name="jdksrc.dir"           location="/home/dl/1.6.0/j2se/martin/j2se/src/share/classes"/>
62    <!-- Distribution locations -->    <!-- Distribution locations -->
63    <property name="dist.javadocs.dir"    location="${dist.dir}/docs"/>    <property name="dist.javadocs.dir"           location="${dist.dir}/docs"/>
64    <property name="dist.jsr166xjavadocs.dir"    location="${dist.dir}/jsr166xdocs"/>    <property name="dist.jsr166xjavadocs.dir"    location="${dist.dir}/jsr166xdocs"/>
65    <property name="dist.jsr166yjavadocs.dir"    location="${dist.dir}/jsr166ydocs"/>    <property name="dist.jsr166yjavadocs.dir"    location="${dist.dir}/jsr166ydocs"/>
66    <property name="dist.extra166yjavadocs.dir"    location="${dist.dir}/extra166ydocs"/>    <property name="dist.extra166yjavadocs.dir"  location="${dist.dir}/extra166ydocs"/>
67    
68    <!-- Jar locations -->    <!-- Jar locations -->
69    <property name="product.jar"          location="${build.lib.dir}/jsr166.jar"/>    <property name="product.jar"          location="${build.lib.dir}/jsr166.jar"/>
70    <property name="jsr166xproduct.jar"   location="${build.jsr166xlib.dir}/jsr166x.jar"/>    <property name="jsr166xproduct.jar"   location="${build.jsr166xlib.dir}/jsr166x.jar"/>
71    <property name="jsr166yproduct.jar"   location="${build.jsr166ylib.dir}/jsr166y.jar"/>    <property name="jsr166yproduct.jar"   location="${build.jsr166ylib.dir}/jsr166y.jar"/>
72    <property name="extra166yproduct.jar"   location="${build.extra166ylib.dir}/extra166y.jar"/>    <property name="extra166yproduct.jar" location="${build.extra166ylib.dir}/extra166y.jar"/>
73    <property name="junit.jar"            location="${lib.dir}/junit.jar"/>    <property name="junit.jar"            location="${lib.dir}/junit.jar"/>
74    
75    <!-- Bootclasspath argument -->    <!-- Bootclasspath argument -->
# Line 89  Line 89 
89    
90    <!-- Main targets -->    <!-- Main targets -->
91    
92      <target name="dists"
93              depends="dist, jsr166xdist, jsr166ydist, extra166ydist"
94              description="Builds all public jars and docs"/>
95    
96    <target name="compile"    <target name="compile"
97            depends="init, configure-compiler"            depends="init, configure-compiler"
# Line 148  Line 151 
151      <javadoc destdir="${build.javadocs.dir}"      <javadoc destdir="${build.javadocs.dir}"
152                  link="http://java.sun.com/javase/6/docs/api/"                  link="http://java.sun.com/javase/6/docs/api/"
153              overview="${src.dir}/intro.html"              overview="${src.dir}/intro.html"
154              sourcepath="${src.dir}:/home/dl/1.6.0/j2se/martin/j2se/src/share/classes"              sourcepath="${src.dir}:${jdksrc.dir}"
155      >                >          
156    
157        <packageset dir="${src.dir}"/>        <packageset dir="${src.dir}"/>
# Line 164  Line 167 
167            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
168    
169    
   
170    <target name="release"    <target name="release"
171            depends="dist"            depends="dist"
172            description="Puts entire CVS tree, plus distribution productions, in a jar">            description="Puts entire CVS tree, plus distribution productions, in a jar">
# Line 215  Line 217 
217              link="http://java.sun.com/javase/6/docs/api/"              link="http://java.sun.com/javase/6/docs/api/"
218              overview="${src.dir}/intro.html"              overview="${src.dir}/intro.html"
219    
220              sourcepath="${src.dir}:/home/dl/1.6.0/j2se/martin/j2se/src/share/classes"              sourcepath="${src.dir}:${jdksrc.dir}"
221       >       >
222  <!--  <!--
223        <packageset dir="${src.dir}" defaultexcludes="yes">        <packageset dir="${src.dir}" defaultexcludes="yes">
# Line 511  Line 513 
513      <javadoc destdir="${build.jsr166xjavadocs.dir}"      <javadoc destdir="${build.jsr166xjavadocs.dir}"
514               link="http://java.sun.com/javase/6/docs/api/"               link="http://java.sun.com/javase/6/docs/api/"
515    
516              sourcepath="${jsr166xsrc.dir}:/home/dl/1.5.0/j2se/martin/j2se/src/share/classes"              sourcepath="${topsrc.dir}:${jdksrc.dir}"
517    
518      >      >
519        <packageset dir="${topsrc.dir}" defaultexcludes="yes">        <packageset dir="${topsrc.dir}" defaultexcludes="yes">
# Line 623  Line 625 
625    
626      <javadoc destdir="${build.jsr166yjavadocs.dir}"      <javadoc destdir="${build.jsr166yjavadocs.dir}"
627                  link="http://java.sun.com/javase/6/docs/api/"                  link="http://java.sun.com/javase/6/docs/api/"
628              sourcepath="${jsr166ysrc.dir}:/home/dl/1.5.0/j2se/martin/j2se/src/share/classes"              sourcepath="${topsrc.dir}:${jdksrc.dir}"
629    
630      >      >
631        <packageset dir="${topsrc.dir}" defaultexcludes="no">        <packageset dir="${topsrc.dir}" defaultexcludes="no">
# Line 665  Line 667 
667    
668      <javadoc destdir="${dist.jsr166yjavadocs.dir}"      <javadoc destdir="${dist.jsr166yjavadocs.dir}"
669                  link="http://java.sun.com/javase/6/docs/api/"                  link="http://java.sun.com/javase/6/docs/api/"
670                source="${build.sourcelevel}">                source="${build.sourcelevel}"
671                sourcepath="${topsrc.dir}:${jdksrc.dir}"
672                >          
673        <fileset dir="${topsrc.dir}" defaultexcludes="yes">        <fileset dir="${topsrc.dir}" defaultexcludes="yes">
674        <include name="jsr166y/*.java"/>        <include name="jsr166y/*.java"/>
675              </fileset>              </fileset>
# Line 684  Line 688 
688    
689    
690    <target name="extra166ycompile"    <target name="extra166ycompile"
691            depends="init, configure-compiler"            depends="init, configure-compiler, jsr166ycompile"
692            description="Compiles extra166y sources">            description="Compiles extra166y sources">
693    
694      <mkdir dir="${build.extra166y.dir}"/>      <mkdir dir="${build.extra166y.dir}"/>
# Line 692  Line 696 
696      <javac srcdir="${extra166ysrc.dir}"      <javac srcdir="${extra166ysrc.dir}"
697            destdir="${build.extra166y.dir}"            destdir="${build.extra166y.dir}"
698              debug="${build.debug}"              debug="${build.debug}"
699                classpath="${jsr166yproduct.jar}"
700         debuglevel="${build.debuglevel}"         debuglevel="${build.debuglevel}"
701        deprecation="${build.deprecation}"        deprecation="${build.deprecation}"
702             source="${build.sourcelevel}"             source="${build.sourcelevel}"
# Line 731  Line 736 
736    
737      <javadoc destdir="${build.extra166yjavadocs.dir}"      <javadoc destdir="${build.extra166yjavadocs.dir}"
738                  link="http://java.sun.com/javase/6/docs/api/"                  link="http://java.sun.com/javase/6/docs/api/"
739              sourcepath="${extra166ysrc.dir}:/home/dl/1.5.0/j2se/martin/j2se/src/share/classes"              sourcepath="${topsrc.dir}:${jdksrc.dir}"
740    
741      >      >
742        <packageset dir="${topsrc.dir}" defaultexcludes="no">        <packageset dir="${topsrc.dir}" defaultexcludes="no">
# Line 773  Line 778 
778    
779      <javadoc destdir="${dist.extra166yjavadocs.dir}"      <javadoc destdir="${dist.extra166yjavadocs.dir}"
780                  link="http://java.sun.com/javase/6/docs/api/"                  link="http://java.sun.com/javase/6/docs/api/"
781                source="${build.sourcelevel}">                source="${build.sourcelevel}"
782                sourcepath="${topsrc.dir}:${jdksrc.dir}"
783                >
784        <fileset dir="${topsrc.dir}" defaultexcludes="yes">        <fileset dir="${topsrc.dir}" defaultexcludes="yes">
785        <include name="extra166y/*.java"/>        <include name="extra166y/*.java"/>
786              </fileset>              </fileset>

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.80

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