avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur build.xml
Date Mon, 05 Nov 2001 23:38:18 GMT
donaldp     01/11/05 15:38:18

  Modified:    .        build.xml
  Log:
  Fix up build so it does copy munge compile copy delete the JDBC classes every build.
  
  Instead it just copy compiles.
  
  Revision  Changes    Path
  1.75      +7 -36     jakarta-avalon-excalibur/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/build.xml,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- build.xml	2001/11/05 13:45:27	1.74
  +++ build.xml	2001/11/05 23:38:18	1.75
  @@ -209,26 +209,12 @@
       <mkdir dir="${build.scratchpad}"/>
   
       <copy file="${java.dir}/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java"
  -          tofile="${java.dir}/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.tmp"
  -          filtering="no"
  -          overwrite="yes"
  -          preservelastmodified="yes"/>
  -    <copy file="${java.dir}/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.tmp"
  -          tofile="${java.dir}/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java"
  -          filtering="yes"
  -          overwrite="yes"
  -          preservelastmodified="yes"/>
  +          tofile="${build.src}/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java"
  +          filtering="yes"/>
   
       <copy file="${java.dir}/org/apache/avalon/excalibur/datasource/JdbcConnection.java"
  -          tofile="${java.dir}/org/apache/avalon/excalibur/datasource/JdbcConnection.tmp"
  -          filtering="no"
  -          overwrite="yes"
  -          preservelastmodified="yes"/>
  -    <copy file="${java.dir}/org/apache/avalon/excalibur/datasource/JdbcConnection.tmp"
  -          tofile="${java.dir}/org/apache/avalon/excalibur/datasource/JdbcConnection.java"
  -          filtering="yes"
  -          overwrite="yes"
  -          preservelastmodified="yes"/>
  +          tofile="${build.src}/org/apache/avalon/excalibur/datasource/JdbcConnection.java"
  +          filtering="yes"/>
   
       <copy todir="${build.scratchpad}">
         <fileset dir="${scratchpad.dir}">
  @@ -258,6 +244,7 @@
              deprecation="${build.deprecation}">
         <classpath refid="project.class.path" />
         <src path="${test.dir}"/>
  +      <src path="${build.src}"/>
         <exclude name="org/apache/avalon/excalibur/datasource/J2eeDataSource.java"
                  unless="j2ee.present"/>
         <exclude name="org/apache/avalon/excalibur/datasource/InformixDataSource.java"
  @@ -269,7 +256,6 @@
                  unless="xpath.present"/>
         <exclude name="org/apache/avalon/excalibur/datasource/Jdbc3Connection.java"
                  unless="jdbc3.present"/>
  -      <exclude name="java/sql/Savepoint.java" if="jdbc3.present"/>
         <exclude name="org/apache/avalon/excalibur/logger/factory/ServletTargetFactory.java"
                  unless="servlet.present"/>
         <exclude name="org/apache/avalon/excalibur/logger/factory/JMSTargetFactory.java"
  @@ -278,6 +264,8 @@
                  unless="datasource.present"/>
         <exclude name="org/apache/avalon/excalibur/xml/xpath/JaxenProcessorImpl.java"
                  unless="jaxen.present"/>
  +      <exclude name="org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java"/>
  +      <exclude name="org/apache/avalon/excalibur/datasource/JdbcConnection.java"/>
       </javac>
   
       <javac srcdir="${scratchpad.dir}"
  @@ -294,23 +282,6 @@
         <classpath refid="project.class.path" />
       </rmic>
   
  -    <copy file="${java.dir}/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.tmp"
  -          tofile="${java.dir}/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java"
  -          filtering="no"
  -          overwrite="yes"
  -          preservelastmodified="yes"/>
  -
  -    <copy file="${java.dir}/org/apache/avalon/excalibur/datasource/JdbcConnection.tmp"
  -          tofile="${java.dir}/org/apache/avalon/excalibur/datasource/JdbcConnection.java"
  -          filtering="no"
  -          overwrite="yes"
  -          preservelastmodified="yes"/>
  -
  -    <delete>
  -      <fileset dir="${java.dir}/org/apache/avalon/excalibur/datasource">
  -        <include name="*.tmp"/>
  -      </fileset>
  -    </delete>
     </target>
   
     <target name="test" depends="check"/>
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message