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

Diff of /jsr166/build.xml

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

revision 1.5 by tim, Sun Dec 8 19:06:09 2002 UTC revision 1.10 by tim, Wed Dec 11 05:16:42 2002 UTC
# Line 31  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 40  Line 44 
44    <property name="rt.jar"               location="${java.home}/lib/rt.jar"/>    <property name="rt.jar"               location="${java.home}/lib/rt.jar"/>
45    
46    <property name="gj.compiler.args"    <property name="gj.compiler.args"
47             value='-J-Xbootclasspath/p:${javac.jar}'             value='-J-Xbootclasspath/p:${javac.jar} -deprecation -warnunchecked'
48    />    />
49    
50    <path id="gj.compiler.bootclasspath">    <path id="gj.compiler.bootclasspath">
# Line 84  Line 88 
88    <target name="test" depends="report-tests"/>    <target name="test" depends="report-tests"/>
89    
90    
91    <target name="docs" depends="filter-src">    <target name="docs" depends="clean-filtered-src, filter-src"
92              description="Builds javadocs with custom tags to build folder">
93      <delete dir="${build.javadocs.dir}"/>      <delete dir="${build.javadocs.dir}"/>
94      <mkdir dir="${build.javadocs.dir}"/>      <mkdir dir="${build.javadocs.dir}"/>
95      <javadoc destdir="${build.javadocs.dir}"      <javadoc destdir="${build.javadocs.dir}"
# Line 104  Line 109 
109    </target>    </target>
110    
111    
112      <target name="dist-docs" depends="clean-filtered-src, filter-src"
113              description="Builds javadocs without custom tags to dist folder">
114        <delete dir="${dist.javadocs.dir}"/>
115        <mkdir dir="${dist.javadocs.dir}"/>
116        <javadoc destdir="${dist.javadocs.dir}"
117                    link="http://java.sun.com/j2se/1.4.1/docs/api"
118                overview="${src.dir}/intro.html"
119                  source="${build.sourcelevel}">
120    
121          <packageset dir="${build.filter.src.dir}">
122            <include name="java/**"/>
123          </packageset>
124    
125        </javadoc>
126      </target>
127    
128    
129      <target name="dist-jar" depends="clean, jar">
130        <copy file="${product.jar}" todir="${dist.dir}"/>
131      </target>
132    
133    
134      <target name="dist" depends="dist-clean, dist-jar, dist-docs"/>
135    
136    
137    <target name="clean">    <target name="clean">
138      <delete dir="${build.dir}"/>      <delete dir="${build.dir}"/>
139      <delete dir="${build.classes.dir}"/>      <delete dir="${build.classes.dir}"/>
140      <delete dir="${build.lib.dir}"/>      <delete dir="${build.lib.dir}"/>
141      <delete dir="${build.javadocs.dir}"/>    </target>
142    
143    
144      <target name="dist-clean" depends="clean">
145        <delete dir="${dist.dir}"/>
146      </target>
147    
148    
149      <target name="clean-filtered-src">
150        <delete dir="${build.filter.src.dir}"/>
151    </target>    </target>
152    
153    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.10

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