Project

General

Profile

« Previous | Next » 

Revision 2518

Added by sgarg over 19 years ago

Added target for upgrading DB to version 1.6

View differences:

build.xml
61 61
               value="upgrade-db-to-1.3.sql" />
62 62
     <property name="upgrade-1.4-sql"
63 63
               value="upgrade-db-to-1.4.sql" />
64
    <property name="upgrade-1.5-sql"
64
     <property name="upgrade-1.5-sql"
65 65
               value="upgrade-db-to-1.5.sql" />
66
     <property name="upgrade-1.6-sql"
67
               value="upgrade-db-to-1.6.sql" />
66 68
   </target>
67 69

  
68 70
   <target name="postgresql" if="use-postgresql">
......
82 84
               value="upgrade-db-to-1.3-postgres.sql" />
83 85
     <property name="upgrade-1.4-sql"
84 86
               value="upgrade-db-to-1.4-postgres.sql" />
85
    <property name="upgrade-1.5-sql"
87
     <property name="upgrade-1.5-sql"
86 88
               value="upgrade-db-to-1.5-postgres.sql" />
89
     <property name="upgrade-1.6-sql"
90
               value="upgrade-db-to-1.6-postgres.sql" />
87 91
    </target>
88 92

  
89 93
   <target name="sqlserver" if="use-sqlserver">
......
629 633

  
630 634
   </target>
631 635

  
636
   <target name="upgrade16" depends="prepare"
637
            description="Updates the database tables from version 1.5 to version 1.6">
638
     <echo/>
639
     <echo>Updating the database tables to upgrade to version 1.6...</echo>
640
     <sql driver="${dbDriver}"
641
          classpath="${jdbc}:${jdbc-add1}:${jdbc-add2}"
642
          url="${jdbc-connect}"
643
          userid="${user}"
644
          password="${password}"
645
          src="${build.src}/${upgrade-1.6-sql}" />
646
   </target>
647

  
648

  
632 649
   <target name="sqlupgrade15" depends="prepare">
633 650
      <echo>Updating the database tables to upgrade to version 1.5 by sql command</echo>
634 651
      <sql driver="${dbDriver}"

Also available in: Unified diff