Changeset 2911


Ignore:
Timestamp:
Nov 15, 2006, 1:07:49 AM (16 years ago)
Author:
Jari Häkkinen
Message:

Fixes #418.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/build.xml

    r2910 r2911  
    583583    depends="clean,dist.init,dist.core,dist.coreplugins,dist.installprg,dist.web,dist.jobagent,dist.doc,dist.migrate"
    584584    description="Create the distribution and put all files in their correct places">
    585     <copy
    586       file="${core.src}/net/sf/basedb/core/Application.java"
    587       tofile="${core.src}/net/sf/basedb/core/Application.java.bak"
    588       overwrite="false"
    589     />
    590     <replace
    591       file="${core.src}/net/sf/basedb/core/Application.java"
    592       token="@BUILD@"
    593       value="${base.build}"
    594     />
    595585    <copy todir="${dist.lib}">
    596586      <fileset dir="${lib}/compile">
     
    627617    <mkdir dir="${dist}/www"/>
    628618    <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
     
    775775      <export srcPath="." destPath="base-${base.version}-src" />
    776776    </svn>
    777     <copy
    778       file="${core.src}/net/sf/basedb/core/Application.java"
    779       tofile="${core.src}/net/sf/basedb/core/Application.java.bak"
    780       overwrite="false"
    781     />
    782777    <replace
    783       file="${core.src}/net/sf/basedb/core/Application.java"
     778      file="base-${base.version}-src/src/core/net/sf/basedb/core/Application.java"
    784779      token="@BUILD@"
    785780      value="${base.build}"
     
    787782    <tar
    788783      destfile="base-${base.version}-src.tar.gz"
     784      longfile="gnu"
    789785      compression="gzip"
    790786      >
     
    807803    <checksum
    808804      file="base-${base.version}-src.tar.gz"
    809     />
    810     <move
    811       file="${core.src}/net/sf/basedb/core/Application.java.bak"
    812       tofile="${core.src}/net/sf/basedb/core/Application.java"
    813       overwrite="true"
    814805    />
    815806  </target>
Note: See TracChangeset for help on using the changeset viewer.