[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.4, Wed Dec 4 04:30:54 2002 UTC revision 1.9, Wed Dec 11 05:04:04 2002 UTC
# Line 13  Line 13 
13    <property name="build.debug"          value="true"/>    <property name="build.debug"          value="true"/>
14    <property name="build.debuglevel"     value="source,lines,vars"/>    <property name="build.debuglevel"     value="source,lines,vars"/>
15    <property name="build.deprecation"    value="false"/>    <property name="build.deprecation"    value="false"/>
16    <property name="build.sourcelevel"    value="1.4"/>    <property name="build.sourcelevel"    value="1.5"/>
17    
18    <!-- Build locations -->    <!-- Build locations -->
19    <property name="build.dir"            location="build"/>    <property name="build.dir"            location="build"/>
# 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} -gj'             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" depends="clean, jar, dist-docs">
130        <!-- nothing to do here yet -->
131      </target>
132    
133    
134    <target name="clean">    <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      <delete dir="${build.javadocs.dir}"/>    </target>
139    
140    
141      <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}"/>
148    </target>    </target>
149    
150    

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8