Revision 3610
Added by Jing Tao about 17 years ago
build.xml | ||
---|---|---|
81 | 81 |
value="upgrade-db-to-1.6.sql" /> |
82 | 82 |
<property name="upgrade-1.7-sql" |
83 | 83 |
value="upgrade-db-to-1.7.sql" /> |
84 |
<property name="upgrade-1.7.1-sql"
|
|
85 |
value="upgrade-db-to-1.7.1.sql" />
|
|
84 |
<property name="upgrade-1.8-sql"
|
|
85 |
value="upgrade-db-to-1.8.sql" />
|
|
86 | 86 |
</target> |
87 | 87 |
|
88 | 88 |
<target name="postgresql" if="use-postgresql"> |
... | ... | |
109 | 109 |
value="upgrade-db-to-1.6-postgres.sql" /> |
110 | 110 |
<property name="upgrade-1.7-sql" |
111 | 111 |
value="upgrade-db-to-1.7-postgres.sql" /> |
112 |
<property name="upgrade-1.7.1-sql"
|
|
113 |
value="upgrade-db-to-1.7.1-postgres.sql" />
|
|
112 |
<property name="upgrade-1.8-sql"
|
|
113 |
value="upgrade-db-to-1.8-postgres.sql" />
|
|
114 | 114 |
</target> |
115 | 115 |
|
116 | 116 |
<target name="sqlserver" if="use-sqlserver"> |
... | ... | |
185 | 185 |
<property name="name" value="metacat"/> |
186 | 186 |
<property name="Name" value="MetaCat"/> |
187 | 187 |
<property name="debugprefix" value="${Name}:"/> |
188 |
<property name="release" value="1.7.1"/>
|
|
188 |
<property name="release" value="1.8"/>
|
|
189 | 189 |
<property name="replication-path" value="/${metacat.context}/servlet/replication"/> |
190 | 190 |
<property name="harvester-registration-login-path" value="/${metacat.context}/harvesterRegistrationLogin"/> |
191 | 191 |
<property name="harvester-registration-path" value="/${metacat.context}/harvesterRegistration"/> |
... | ... | |
768 | 768 |
</sql> |
769 | 769 |
</target> |
770 | 770 |
|
771 |
<target name="upgrade171" depends="prepare"
|
|
772 |
description="Updates the database tables from version 1.7 to version 1.7.1">
|
|
771 |
<target name="upgrade18" depends="prepare"
|
|
772 |
description="Updates the database tables from version 1.7 to version 1.8">
|
|
773 | 773 |
<echo/> |
774 |
<echo>Updating the database tables to upgrade to version 1.7.1...</echo>
|
|
774 |
<echo>Updating the database tables to upgrade to version 1.8...</echo>
|
|
775 | 775 |
<sql driver="${dbDriver}" |
776 | 776 |
url="${jdbc-connect}" |
777 | 777 |
userid="${user}" |
778 | 778 |
password="${password}" |
779 |
src="${build.src}/${upgrade-1.7.1-sql}">
|
|
779 |
src="${build.src}/${upgrade-1.8-sql}">
|
|
780 | 780 |
<classpath> |
781 | 781 |
<path refid="compile.classpath"/> |
782 | 782 |
</classpath> |
Also available in: Unified diff
Change release from 1.7.1 to 1.8