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

Diff of /jsr166/build.xml

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

revision 1.38 by tim, Fri May 30 21:27:52 2003 UTC revision 1.42 by tim, Mon Jun 9 14:11:43 2003 UTC
# Line 59  Line 59 
59    
60    
61    
62    <!-- Files excluded from emulation and dist-docs -->    <!-- Files excluded from dist-docs and emulation jar -->
63    <patternset id="emulation.excludes">    <patternset id="unsafe.exclusion">
64      <exclude name="java/util/Random.*"/>      <exclude name="java/util/Random.*"/>
65      <exclude name="sun/misc/Unsafe.*"/>      <exclude name="sun/misc/Unsafe.*"/>
66    </patternset>    </patternset>
67    
68      <!-- Files excludes from emulation jar -->
69      <patternset id="atomic.exclusion">
70        <exclude name="java/util/concurrent/atomic/AtomicBoolean*"/>
71        <exclude name="java/util/concurrent/atomic/AtomicInteger*"/>
72        <exclude name="java/util/concurrent/atomic/AtomicLong*"/>
73        <exclude name="java/util/concurrent/atomic/AtomicReference*"/>
74      </patternset>
75    
76    
77    
78    <!-- Main targets -->    <!-- Main targets -->
# Line 194  Line 202 
202            depends="init, dist-clean, dist-jar, dist-docs"            depends="init, dist-clean, dist-jar, dist-docs"
203            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
204    
205      <target name="release"
206              depends="dist"
207              description="Puts entire CVS tree, plus distribution productions, in a jar">
208    
209        <delete dir="${build.dir}"/>
210    
211        <property name="release.jar" value="dist/jsr166-${version}-dist.jar"/>
212    
213        <jar basedir="${basedir}" destfile="${release.jar}">
214          <exclude name="${release.jar}"/>
215          <exclude name="user.properties"/>
216          <exclude name="etc/notes/**"/>
217        </jar>
218    
219      </target>
220    
221    <target name="clean"    <target name="clean"
222            description="Removes all build products">            description="Removes all build products">
# Line 292  Line 315 
315    
316      <jar destfile="${product.jar}" duplicate="add">      <jar destfile="${product.jar}" duplicate="add">
317        <fileset dir="${build.classes.dir}">        <fileset dir="${build.classes.dir}">
318          <patternset refid="emulation.excludes"/>          <patternset refid="atomic.exclusion"/>
319            <patternset refid="unsafe.exclusion"/>
320        </fileset>        </fileset>
321        <fileset dir="${build.emulation.dir}"/>        <fileset dir="${build.emulation.dir}"/>
322      </jar>      </jar>
# Line 341  Line 365 
365      <copy todir="${build.filter.src.dir}">      <copy todir="${build.filter.src.dir}">
366        <fileset dir="${src.dir}">        <fileset dir="${src.dir}">
367          <exclude name="**/*.html"/>          <exclude name="**/*.html"/>
368          <patternset refid="emulation.excludes"/>          <patternset refid="unsafe.exclusion"/>
369        </fileset>        </fileset>
370        <filterchain>        <filterchain>
371    
# Line 543  Line 567 
567      </path>      </path>
568    
569      <path id="compile.bootclasspath">      <path id="compile.bootclasspath">
570          <pathelement location="${build.classes.dir}"/>
571        <pathelement location="${collect.jar}"/>        <pathelement location="${collect.jar}"/>
572        <pathelement location="${rt.jar}"/>        <pathelement location="${rt.jar}"/>
573      </path>      </path>

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.42

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