[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.75, Tue Sep 18 12:46:40 2007 UTC revision 1.76, Tue Jan 6 16:31:52 2009 UTC
# Line 42  Line 42 
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"/>
46      <property name="build.extra166ylib.dir"        location="${build.dir}/extra166ylib"/>
47      <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"/>
51    <property name="test.src.dir"         location="${basedir}/src/test"/>    <property name="test.src.dir"         location="${basedir}/src/test"/>
# Line 53  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"/>
61    
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"/>
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"/>
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 600  Line 607 
607    
608      <mkdir dir="${build.jsr166ylib.dir}"/>      <mkdir dir="${build.jsr166ylib.dir}"/>
609    
610      <jar destfile="${jsr166yproduct.jar}">      <jar destfile="${jsr166yproduct.jar}" index="true">
611        <fileset dir="${build.jsr166y.dir}"/>        <fileset dir="${build.jsr166y.dir}"/>
612      </jar>      </jar>
613    
# Line 661  Line 668 
668                source="${build.sourcelevel}">                source="${build.sourcelevel}">
669        <fileset dir="${topsrc.dir}" defaultexcludes="yes">        <fileset dir="${topsrc.dir}" defaultexcludes="yes">
670        <include name="jsr166y/*.java"/>        <include name="jsr166y/*.java"/>
       <include name="jsr166y/forkjoin/*.java"/>  
671              </fileset>              </fileset>
672      </javadoc>      </javadoc>
673    
# Line 674  Line 680 
680    
681    </target>    </target>
682    
683      <!-- extra166y -->
684    
685    
686      <target name="extra166ycompile"
687              depends="init, configure-compiler"
688              description="Compiles extra166y sources">
689    
690        <mkdir dir="${build.extra166y.dir}"/>
691    
692        <javac srcdir="${extra166ysrc.dir}"
693              destdir="${build.extra166y.dir}"
694                debug="${build.debug}"
695           debuglevel="${build.debuglevel}"
696          deprecation="${build.deprecation}"
697               source="${build.sourcelevel}"
698                 fork="true">
699    
700          <include name="**/*.java"/>
701          <compilerarg line="${build.args}"/>
702          <compilerarg value="${bootclasspath.args}"/>
703    
704    <!--       <compilerarg line="-Xlint -Xmaxwarns 1000"/> -->
705    
706        </javac>
707    
708      </target>
709    
710    
711    
712      <target name="extra166yjar"
713              depends="extra166ycompile"
714              description="Builds library jar from compiled sources">
715    
716        <mkdir dir="${build.extra166ylib.dir}"/>
717    
718        <jar destfile="${extra166yproduct.jar}" index="true">
719          <fileset dir="${build.extra166y.dir}"/>
720        </jar>
721    
722      </target>
723    
724    
725    
726      <target name="extra166ydocs"
727              description="Builds javadocs with custom tags to build folder">
728    
729        <delete dir="${build.extra166yjavadocs.dir}"/>
730        <mkdir dir="${build.extra166yjavadocs.dir}"/>
731    
732        <javadoc destdir="${build.extra166yjavadocs.dir}"
733                    link="http://java.sun.com/javase/6/docs/api/"
734                sourcepath="${extra166ysrc.dir}:/home/dl/1.5.0/j2se/martin/j2se/src/share/classes"
735    
736        >
737          <packageset dir="${topsrc.dir}" defaultexcludes="no">
738          <include name="extra166y"/>
739          </packageset>
740    
741    
742        </javadoc>
743    
744      </target>
745    
746    
747      <target name="extra166ydist"
748              depends="extra166ydist-clean, extra166ydist-jar, extra166ydist-docs"
749              description="Puts all distributable products in single hierarchy"/>
750    
751    
752    
753      <target name="extra166yclean"
754              description="Removes all build products">
755    
756        <delete dir="${build.extra166y.dir}"/>
757        <delete dir="${build.extra166ylib.dir}"/>
758    
759      </target>
760    
761    
762    
763      <target name="extra166ydist-clean"
764              description="Removes all build and distribution products">
765    
766      </target>
767    
768      <target name="extra166ydist-docs"
769              description="Builds javadocs without custom tags to dist folder">
770    
771        <delete dir="${dist.extra166yjavadocs.dir}"/>
772        <mkdir dir="${dist.extra166yjavadocs.dir}"/>
773    
774        <javadoc destdir="${dist.extra166yjavadocs.dir}"
775                    link="http://java.sun.com/javase/6/docs/api/"
776                  source="${build.sourcelevel}">
777          <fileset dir="${topsrc.dir}" defaultexcludes="yes">
778          <include name="extra166y/*.java"/>
779                </fileset>
780        </javadoc>
781    
782      </target>
783    
784      <target name="extra166ydist-jar"
785              depends="extra166yclean, extra166yjar">
786    
787        <copy file="${extra166yproduct.jar}" todir="${dist.dir}"/>
788    
789      </target>
790    
791  </project>  </project>

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8