Project

General

Profile

« Previous | Next » 

Revision 2393

Added by Jing Tao about 19 years ago

Add a new target to fix the bug in xml_catalog table.

View differences:

build.xml
34 34
  <property file="build.properties"/>  <!-- USER SPECIFIC PROPS -->
35 35

  
36 36
  <target name="check-db">
37
    <property name="upgrade-1.5-sql"
38
               value="upgrade-db-to-1.5.sql" />
37 39
    <condition property="use-oracle">
38 40
      <equals arg1="${database}" arg2="oracle" />
39 41
    </condition>
......
61 63
               value="upgrade-db-to-1.3.sql" />
62 64
     <property name="upgrade-1.4-sql"
63 65
               value="upgrade-db-to-1.4.sql" />
66
     
64 67
   </target>
65 68

  
66 69
   <target name="postgresql" if="use-postgresql">
......
611 614
     <java classname="upgrade_db_to_1_5"
612 615
           classpath="${cpath}:${build.tmp}"/>
613 616

  
614
   </target>     	
617
   </target>
618
   
619
   <target name="sqlcommandupgrade15" depends="prepare">
620
      <echo>Updating the database tables to upgrade to version 1.5...</echo>
621
      <sql driver="${dbDriver}"
622
          classpath="${jdbc}:${jdbc-add1}:${jdbc-add2}"
623
          url="${jdbc-connect}"
624
          userid="${user}"
625
          password="${password}"
626
          src="${build.src}/${upgrade-1.5-sql}" />
627
   </target>
615 628

  
616 629
   <target name="install" depends="war" description="* Full Install *">
617 630
       <mkdir dir="${datafilepath}" />

Also available in: Unified diff