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

Diff of /jsr166/build.xml

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

revision 1.69, Fri Jul 2 16:06:25 2004 UTC revision 1.70, Wed Aug 11 10:57:33 2004 UTC
# Line 40  Line 40 
40    <property name="build.doccheck.dir"   location="${build.dir}/doccheck"/>    <property name="build.doccheck.dir"   location="${build.dir}/doccheck"/>
41    <property name="build.filter.src.dir" location="${build.dir}/filtersrc"/>    <property name="build.filter.src.dir" location="${build.dir}/filtersrc"/>
42    <property name="build.dc-filter.dir"  location="${build.dir}/filterdocchk"/>    <property name="build.dc-filter.dir"  location="${build.dir}/filterdocchk"/>
43      <property name="build.jsr166x.dir"    location="${build.dir}/jsr166x"/>
44      <property name="build.jsr166xlib.dir"        location="${build.dir}/jsr166xlib"/>
45      <property name="build.jsr166xjavadocs.dir"   location="${build.dir}/jsr166xjavadocs"/>
46    
47    <!-- Source locations -->    <!-- Source locations -->
48    <property name="src.dir"              location="${basedir}/src/main"/>    <property name="src.dir"              location="${basedir}/src/main"/>
# Line 52  Line 55 
55    <property name="stylesheet.dir"       location="${basedir}/etc/xsl"/>    <property name="stylesheet.dir"       location="${basedir}/etc/xsl"/>
56    <property name="lib.dir"              location="${basedir}/lib"/>    <property name="lib.dir"              location="${basedir}/lib"/>
57    <property name="dist.dir"             location="${basedir}/dist"/>    <property name="dist.dir"             location="${basedir}/dist"/>
58      <property name="topsrc.dir"           location="${basedir}/src"/>
59      <property name="jsr166xsrc.dir"       location="${basedir}/src/jsr166x"/>
60    
61    <!-- Distribution locations -->    <!-- Distribution locations -->
62    <property name="dist.javadocs.dir"    location="${dist.dir}/docs"/>    <property name="dist.javadocs.dir"    location="${dist.dir}/docs"/>
63      <property name="dist.jsr166xjavadocs.dir"    location="${dist.dir}/jsr166xdocs"/>
64    
65    <!-- Jar locations -->    <!-- Jar locations -->
66    <property name="product.jar"          location="${build.lib.dir}/jsr166.jar"/>    <property name="product.jar"          location="${build.lib.dir}/jsr166.jar"/>
67      <property name="jsr166xproduct.jar"   location="${build.jsr166xlib.dir}/jsr166x.jar"/>
68    <property name="junit.jar"            location="${lib.dir}/junit.jar"/>    <property name="junit.jar"            location="${lib.dir}/junit.jar"/>
69    <property name="concurrent.jar"       location="${lib.dir}/concurrent.jar"/>    <property name="concurrent.jar"       location="${lib.dir}/concurrent.jar"/>
70    
# Line 944  Line 951 
951    
952    </target>    </target>
953    
954      <!-- jsr166x -->
955    
956    
957      <target name="jsr166xcompile"
958              depends="init, configure-compiler"
959              description="Compiles jsr166x sources">
960    
961        <mkdir dir="${build.jsr166x.dir}"/>
962    
963        <javac srcdir="${jsr166xsrc.dir}"
964              destdir="${build.jsr166x.dir}"
965                debug="${build.debug}"
966           debuglevel="${build.debuglevel}"
967          deprecation="${build.deprecation}"
968               source="${build.sourcelevel}"
969                 fork="true">
970    
971          <include name="**/*.java"/>
972          <compilerarg line="${build.args}"/>
973    
974        </javac>
975    
976      </target>
977    
978    
979    
980      <target name="jsr166xjar"
981              depends="jsr166xcompile"
982              description="Builds library jar from compiled sources">
983    
984        <mkdir dir="${build.jsr166xlib.dir}"/>
985    
986        <jar destfile="${jsr166xproduct.jar}">
987          <fileset dir="${build.jsr166x.dir}"/>
988        </jar>
989    
990      </target>
991    
992    
993    
994      <target name="jsr166xdocs"
995              description="Builds javadocs with custom tags to build folder">
996    
997        <delete dir="${build.jsr166xjavadocs.dir}"/>
998        <mkdir dir="${build.jsr166xjavadocs.dir}"/>
999    
1000        <javadoc destdir="${build.jsr166xjavadocs.dir}"
1001                    link="http://java.sun.com/j2se/1.5.0/docs/api/"
1002        >
1003          <packageset dir="${topsrc.dir}" defaultexcludes="yes">
1004          <include name="jsr166x"/>
1005          </packageset>
1006    
1007    
1008        </javadoc>
1009    
1010      </target>
1011    
1012    
1013      <target name="jsr166xdist"
1014              depends="jsr166xdist-clean, jsr166xdist-jar, jsr166xdist-docs"
1015              description="Puts all distributable products in single hierarchy"/>
1016    
1017    
1018    
1019      <target name="jsr166xclean"
1020              description="Removes all build products">
1021    
1022        <delete dir="${build.jsr166x.dir}"/>
1023        <delete dir="${build.jsr166xlib.dir}"/>
1024    
1025      </target>
1026    
1027    
1028    
1029      <target name="jsr166xdist-clean"
1030              description="Removes all build and distribution products">
1031    
1032      </target>
1033    
1034    
1035    
1036      <target name="jsr166xdist-docs"
1037              description="Builds javadocs without custom tags to dist folder">
1038    
1039        <delete dir="${dist.jsr166xjavadocs.dir}"/>
1040        <mkdir dir="${dist.jsr166xjavadocs.dir}"/>
1041    
1042        <javadoc destdir="${dist.jsr166xjavadocs.dir}"
1043                    link="http://java.sun.com/j2se/1.5.0/docs/api/"
1044                  source="${build.sourcelevel}">
1045    
1046          <packageset dir="${topsrc.dir}" defaultexcludes="yes">
1047          <include name="jsr166x"/>
1048          </packageset>
1049    
1050        </javadoc>
1051    
1052      </target>
1053    
1054      <target name="jsr166xdist-jar"
1055              depends="jsr166xclean, jsr166xjar">
1056    
1057        <copy file="${jsr166xproduct.jar}" todir="${dist.dir}"/>
1058    
1059      </target>
1060    
1061  </project>  </project>

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8