Project

General

Profile

« Previous | Next » 

Revision 2395

Added by Jing Tao almost 20 years ago

upgrade-db-1.5.sql will be written back from src to distribution src.

View differences:

build.xml
598 598
          src="${build.src}/${upgrade-1.4-sql}" />
599 599
   </target>
600 600

  
601
   <target name="upgrade15" depends="prepare"
601
   <target name="upgrade15" depends="sqlupgrade15"
602 602
           description="Updates the database tables to upgrade to version 1.5">
603 603
     <echo/>
604 604
     <echo>Updating the database tables to upgrade to version 1.4...</echo>
......
616 616

  
617 617
   </target>
618 618
   
619
   <target name="sqlcommandupgrade15" depends="prepare">
620
      <echo>Updating the database tables to upgrade to version 1.5...</echo>
619
   <target name="sqlupgrade15" depends="prepare">
620
      <echo>Updating the database tables to upgrade to version 1.5 by sql command</echo>
621 621
      <sql driver="${dbDriver}"
622 622
          classpath="${jdbc}:${jdbc-add1}:${jdbc-add2}"
623 623
          url="${jdbc-connect}"
......
1000 1000
      </copy>
1001 1001
      <!-- copy loaddtdschemal.sql form src dir(which has the server token to ver.dir/src-->
1002 1002
      <copy todir="${ver.dir}/src" file="${srcdir}/loaddtdschema.sql" overwrite="yes" filtering="no"/>
1003

  
1003
      <copy todir="${ver.dir}/src" file="${srcdir}/upgrade-db-to-1.5.sql" overwrite="yes" filtering="no"/>
1004 1004
      <!--
1005 1005
      <delete dir="./${ver.dir}/${build.dir}"/>
1006 1006
      <delete dir="./${ver.dir}/dist"/>

Also available in: Unified diff