[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.12, Wed Dec 11 21:40:56 2002 UTC revision 1.15, Thu Dec 12 23:50:31 2002 UTC
# Line 15  Line 15 
15    <property name="build.sourcelevel"    value="1.5"/>    <property name="build.sourcelevel"    value="1.5"/>
16    <property name="build.debug"          value="true"/>    <property name="build.debug"          value="true"/>
17    <property name="build.debuglevel"     value="source,lines,vars"/>    <property name="build.debuglevel"     value="source,lines,vars"/>
18    <property name="build.deprecation"    value="true"/>    <property name="build.deprecation"    value="false"/>
19      <!--
20    <property name="build.warnings"       value="true"/>    <property name="build.warnings"       value="true"/>
21      -->
22    
23    <!-- Build locations -->    <!-- Build locations -->
24    <property name="build.dir"            location="build"/>    <property name="build.dir"            location="build"/>
# Line 94  Line 96 
96            description="Runs all tests"/>            description="Runs all tests"/>
97    
98    
99      <target name="checkstyle" depends="init, clean-filtered-src, filter-src">
100        <taskdef resource="checkstyletask.properties"
101                classpath="${lib.dir}/checkstyle-all-2.4.jar"/>
102    
103        <checkstyle>
104          <fileset dir="${build.filter.src.dir}" includes="**/*.java"/>
105        </checkstyle>
106      </target>
107    
108    <target name="docs" depends="init, clean-filtered-src, filter-src"    <target name="docs" depends="init, clean-filtered-src, filter-src"
109            description="Builds javadocs with custom tags to build folder">            description="Builds javadocs with custom tags to build folder">
110      <delete dir="${build.javadocs.dir}"/>      <delete dir="${build.javadocs.dir}"/>
# Line 132  Line 143 
143    </target>    </target>
144    
145    
146      <!-- Anthill targets -->
147    
148      <!-- Should really run the tests instead of just the jar target -->
149      <target name="anthill-build" depends="jar, docs, dist-docs"
150              description="Build the jar and both the external and internal docs"/>
151    
152      <target name="anthill-publish">
153        <copy todir="${deployDir}/docs/private">
154          <fileset dir="${build.javadocs.dir}"/>
155        </copy>
156        <copy todir="${deployDir}/docs/public">
157          <fileset dir="${dist.javadocs.dir}"/>
158        </copy>
159      </target>
160    
161    
162    <!-- Internal targets -->    <!-- Internal targets -->
163    
164    <target name="set-warnings-if" if="build.warnings">    <target name="set-warnings-if" if="build.warnings">
# Line 189  Line 216 
216      <mkdir dir="${build.filter.src.dir}"/>      <mkdir dir="${build.filter.src.dir}"/>
217      <copy todir="${build.filter.src.dir}">      <copy todir="${build.filter.src.dir}">
218        <fileset dir="${src.dir}">        <fileset dir="${src.dir}">
219          <include name="**/*.java"/>          <include name="java/**/*.java"/>
220        </fileset>        </fileset>
221        <filterchain>        <filterchain>
222          <filterreader classname="jsr166.ant.filters.ReplaceFilter"          <filterreader classname="jsr166.ant.filters.ReplaceFilter"

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.15

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8