Changeset 2922


Ignore:
Timestamp:
Nov 15, 2006, 6:28:15 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Propagating build no for all compiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/build.xml

    r2911 r2922  
    259259    description="compile the core source code"
    260260    >
     261    <copy
     262      file="${core.src}/net/sf/basedb/core/Application.java"
     263      tofile="${core.src}/net/sf/basedb/core/Application.java.bak"
     264      overwrite="false"
     265    />
     266    <replace
     267      file="${core.src}/net/sf/basedb/core/Application.java"
     268      token="@BUILD@"
     269      value="${base.build}"
     270    />
    261271    <mkdir dir="${core.build}"/>
    262272    <javac
     
    278288      </fileset>
    279289    </copy>
     290    <move
     291      file="${core.src}/net/sf/basedb/core/Application.java.bak"
     292      tofile="${core.src}/net/sf/basedb/core/Application.java"
     293      overwrite="true"
     294    />
    280295  </target>
    281296
     
    600615    <copy tofile="${dist.classes}/log4j.properties" file="${src}/log4j.properties.in" overwrite="true"/>
    601616    <chmod file="${dist.classes}/log4j.properties" perm="600"/>
    602     <move
    603       file="${core.src}/net/sf/basedb/core/Application.java.bak"
    604       tofile="${core.src}/net/sf/basedb/core/Application.java"
    605       overwrite="true"
    606     />
    607617  </target>
    608618
     
    617627    <mkdir dir="${dist}/www"/>
    618628    <mkdir dir="${dist.lib}"/>
    619     <copy
    620       file="${core.src}/net/sf/basedb/core/Application.java"
    621       tofile="${core.src}/net/sf/basedb/core/Application.java.bak"
    622       overwrite="false"
    623     />
    624     <replace
    625       file="${core.src}/net/sf/basedb/core/Application.java"
    626       token="@BUILD@"
    627       value="${base.build}"
    628     />
    629629  </target>
    630630
Note: See TracChangeset for help on using the changeset viewer.