Project

General

Profile

« Previous | Next » 

Revision 2353

Added by sgarg over 19 years ago

Added target and code for upgrading database to version 1.5

View differences:

build.xml
576 576
          src="${build.src}/${upgrade-1.4-sql}" />
577 577
   </target>
578 578

  
579
   <target name="upgrade15" depends="prepare"
580
	   description="Updates the database tables to upgrade to version 1.5">
581
     <echo/>
582
     <echo>Updating the database tables to upgrade to version 1.4...</echo>
583
     <copy file="${srcdir}/upgrade_db_to_1_5.java"
584
	   todir="${build.tmp}" filtering="yes"/>
585
 
586
     <javac srcdir="${build.tmp}"
587
            destdir="${build.tmp}"
588
            classpath="${cpath}"
589
            debug="${debug}"
590
            includes="upgrade_db_to_1_5.java"/>
591
 
592
     <java classname="upgrade_db_to_1_5"
593
           classpath="${cpath}:${build.tmp}"/>
594

  
595
   </target>     	
596

  
579 597
   <target name="install" depends="war" description="* Full Install *">
580 598
       <mkdir dir="${datafilepath}" />
581 599
       <mkdir dir="${inlinedatafilepath}" />

Also available in: Unified diff