[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.8, Wed Dec 11 04:43:23 2002 UTC revision 1.9, Wed Dec 11 05:04:04 2002 UTC
# Line 21  Line 21 
21    <property name="build.testcases.dir"  location="${build.dir}/testcases"/>    <property name="build.testcases.dir"  location="${build.dir}/testcases"/>
22    <property name="build.lib.dir"        location="${build.dir}/lib"/>    <property name="build.lib.dir"        location="${build.dir}/lib"/>
23    <property name="build.ant.dir"        location="${build.dir}/ant"/>    <property name="build.ant.dir"        location="${build.dir}/ant"/>
24    <property name="build.pubdocs.dir"    location="${build.dir}/javadocs"/>    <property name="build.javadocs.dir"   location="${build.dir}/javadocs"/>
   <property name="build.privdocs.dir"   location="${build.dir}/privdocs"/>  
25    <property name="build.reports.dir"    location="${build.dir}/reports"/>    <property name="build.reports.dir"    location="${build.dir}/reports"/>
26    <property name="build.filter.src.dir" location="${build.dir}/filtersrc"/>    <property name="build.filter.src.dir" location="${build.dir}/filtersrc"/>
27    
# Line 32  Line 31 
31    <property name="ant.src.dir"          location="${basedir}/etc/ant"/>    <property name="ant.src.dir"          location="${basedir}/etc/ant"/>
32    <property name="stylesheet.dir"       location="${basedir}/etc/xsl"/>    <property name="stylesheet.dir"       location="${basedir}/etc/xsl"/>
33    <property name="lib.dir"              location="${basedir}/lib"/>    <property name="lib.dir"              location="${basedir}/lib"/>
34      <property name="dist.dir"             location="${basedir}/dist"/>
35    
36      <!-- Distribution locations -->
37      <property name="dist.javadocs.dir"    location="${dist.dir}/docs"/>
38    
39    <!-- Jar locations -->    <!-- Jar locations -->
40    <property name="product.jar"          location="${build.lib.dir}/jsr166.jar"/>    <property name="product.jar"          location="${build.lib.dir}/jsr166.jar"/>
# Line 84  Line 87 
87    
88    <target name="test" depends="report-tests"/>    <target name="test" depends="report-tests"/>
89    
   <target name="docs" depends="public-docs, private-docs"/>  
90    
91    <target name="public-docs" depends="clean-docs, filter-src">    <target name="docs" depends="clean-filtered-src, filter-src"
92      <delete dir="${build.pubdocs.dir}"/>            description="Builds javadocs with custom tags to build folder">
93      <mkdir dir="${build.pubdocs.dir}"/>      <delete dir="${build.javadocs.dir}"/>
94      <javadoc destdir="${build.pubdocs.dir}"      <mkdir dir="${build.javadocs.dir}"/>
95        <javadoc destdir="${build.javadocs.dir}"
96                  link="http://java.sun.com/j2se/1.4.1/docs/api"                  link="http://java.sun.com/j2se/1.4.1/docs/api"
97              overview="${src.dir}/intro.html"              overview="${src.dir}/intro.html"
98                source="${build.sourcelevel}">                source="${build.sourcelevel}">
99    
100          <tag name="revised" description="Last revised:"/>
101          <tag name="spec" description="Specified by:"/>
102          <tag name="editor" description="Last edited by:"/>
103          <tag name="fixme" description="FIX ME:"/>
104        <packageset dir="${build.filter.src.dir}">        <packageset dir="${build.filter.src.dir}">
105          <include name="java/**"/>          <include name="java/**"/>
106        </packageset>        </packageset>
# Line 102  Line 109 
109    </target>    </target>
110    
111    
112    <target name="private-docs" depends="clean-docs, filter-src">    <target name="dist-docs" depends="clean-filtered-src, filter-src"
113      <delete dir="${build.privdocs.dir}"/>            description="Builds javadocs without custom tags to dist folder">
114      <mkdir dir="${build.privdocs.dir}"/>      <delete dir="${dist.javadocs.dir}"/>
115      <javadoc destdir="${build.privdocs.dir}"      <mkdir dir="${dist.javadocs.dir}"/>
116        <javadoc destdir="${dist.javadocs.dir}"
117                  link="http://java.sun.com/j2se/1.4.1/docs/api"                  link="http://java.sun.com/j2se/1.4.1/docs/api"
118              overview="${src.dir}/intro.html"              overview="${src.dir}/intro.html"
119                source="${build.sourcelevel}">                source="${build.sourcelevel}">
120    
       <tag name="revised" description="Last revised:"/>  
       <tag name="spec" description="Specified by:"/>  
       <tag name="editor" description="Last edited by:"/>  
       <tag name="fixme" description="FIX ME:"/>  
121        <packageset dir="${build.filter.src.dir}">        <packageset dir="${build.filter.src.dir}">
122          <include name="java/**"/>          <include name="java/**"/>
123        </packageset>        </packageset>
# Line 122  Line 126 
126    </target>    </target>
127    
128    
129    <target name="clean" depends="clean-docs">    <target name="dist" depends="clean, jar, dist-docs">
130        <!-- nothing to do here yet -->
131      </target>
132    
133    
134      <target name="clean">
135      <delete dir="${build.dir}"/>      <delete dir="${build.dir}"/>
136      <delete dir="${build.classes.dir}"/>      <delete dir="${build.classes.dir}"/>
137      <delete dir="${build.lib.dir}"/>      <delete dir="${build.lib.dir}"/>
138    </target>    </target>
139    
140    
141    <target name="clean-docs">    <target name="dist-clean" depends="clean">
142        <delete dir="${dist.dir}"/>
143      </target>
144    
145    
146      <target name="clean-filtered-src">
147      <delete dir="${build.filter.src.dir}"/>      <delete dir="${build.filter.src.dir}"/>
     <delete dir="${build.pubdocs.dir}"/>  
     <delete dir="${build.privdocs.dir}"/>  
148    </target>    </target>
149    
150    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8