/[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.43 by tim, Thu Jun 26 11:54:26 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          <exclude name="lib/gjc/2.1/**"/>
218        </jar>
219    
220      </target>
221    
222    <target name="clean"    <target name="clean"
223            description="Removes all build products">            description="Removes all build products">
# Line 292  Line 316 
316    
317      <jar destfile="${product.jar}" duplicate="add">      <jar destfile="${product.jar}" duplicate="add">
318        <fileset dir="${build.classes.dir}">        <fileset dir="${build.classes.dir}">
319          <patternset refid="emulation.excludes"/>          <patternset refid="atomic.exclusion"/>
320            <patternset refid="unsafe.exclusion"/>
321        </fileset>        </fileset>
322        <fileset dir="${build.emulation.dir}"/>        <fileset dir="${build.emulation.dir}"/>
323      </jar>      </jar>
# Line 341  Line 366 
366      <copy todir="${build.filter.src.dir}">      <copy todir="${build.filter.src.dir}">
367        <fileset dir="${src.dir}">        <fileset dir="${src.dir}">
368          <exclude name="**/*.html"/>          <exclude name="**/*.html"/>
369          <patternset refid="emulation.excludes"/>          <patternset refid="unsafe.exclusion"/>
370        </fileset>        </fileset>
371        <filterchain>        <filterchain>
372    
# Line 543  Line 568 
568      </path>      </path>
569    
570      <path id="compile.bootclasspath">      <path id="compile.bootclasspath">
571          <pathelement location="${build.classes.dir}"/>
572        <pathelement location="${collect.jar}"/>        <pathelement location="${collect.jar}"/>
573        <pathelement location="${rt.jar}"/>        <pathelement location="${rt.jar}"/>
574      </path>      </path>
# Line 658  Line 684 
684    </target>    </target>
685    
686    
687      <target name="ng" depends="test">
688        <java classname="SuperfluousAbstract" fork="true">
689    
690          <jvmarg value="-Xbootclasspath/p:${test.run.bootclasspath}"/>
691    
692        </java>
693      </target>
694    
695    
696  </project>  </project>

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

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