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

Diff of /jsr166/build.xml

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

revision 1.32 by tim, Thu May 29 04:35:42 2003 UTC revision 1.35 by tim, Thu May 29 15:53:58 2003 UTC
# Line 70  Line 70 
70    <!-- Main targets -->    <!-- Main targets -->
71    
72    <target name="compile"    <target name="compile"
73            depends="init, configure-compiler"            depends="init, configure-compiler, prepare-src"
74            description="Compiles main sources to build folder">            description="Compiles main sources to build folder">
75    
76        <property name="prepare.src.dir" value="${src.dir}"/>
77    
78      <mkdir dir="${build.classes.dir}"/>      <mkdir dir="${build.classes.dir}"/>
79    
80      <javac srcdir="${src.dir}"      <javac srcdir="${prepare.src.dir}"
81            destdir="${build.classes.dir}"            destdir="${build.classes.dir}"
82              debug="${build.debug}"              debug="${build.debug}"
83         debuglevel="${build.debuglevel}"         debuglevel="${build.debuglevel}"
# Line 447  Line 449 
449    <target name="configure-compiler">    <target name="configure-compiler">
450    
451      <property name="gjc.version"      <property name="gjc.version"
452               value="1.3"/>               value="2.0"/>
453    
454      <condition property="build.novariance" value="-novariance">      <condition property="build.novariance" value="-novariance">
455        <and>        <and>
# Line 478  Line 480 
480    
481      <property name="build.warnunchecked" value=""/>      <property name="build.warnunchecked" value=""/>
482    
483        <condition property="prepare.src.dir" value="${build.dir}/prepare-src">
484          <istrue value="${build.nothreads}"/>
485        </condition>
486    
487    
488      <!--      <!--
489       ! Bootclasspath munging for source compilation.       ! Bootclasspath munging for source compilation.
# Line 510  Line 516 
516      <property name="build.javac.args"      <property name="build.javac.args"
517               value="${build.bootclasspath.arg} ${build.warnunchecked} ${build.novariance}"/>               value="${build.bootclasspath.arg} ${build.warnunchecked} ${build.novariance}"/>
518    
519      <echo>javac ${build.javac.args}      <echo>javac ${build.javac.args}</echo>
520  bootclasspath is ${javac.bootclasspath}</echo>      <echo>bootclasspath=${javac.bootclasspath}</echo>
521    
522      </target>
523    
524    
525      <target name="prepare-src"
526              depends="configure-compiler"
527              if="prepare.src.dir">
528    
529        <mkdir dir="${prepare.src.dir}"/>
530        <copy todir="${prepare.src.dir}">
531          <fileset dir="${src.dir}">
532            <exclude name="java/lang/**"/>
533          </fileset>
534        </copy>
535    
536    </target>    </target>
537    

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.35

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