Revision 2431
Added by sgarg over 19 years ago
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" /> |
|
39 | 37 |
<condition property="use-oracle"> |
40 | 38 |
<equals arg1="${database}" arg2="oracle" /> |
41 | 39 |
</condition> |
... | ... | |
63 | 61 |
value="upgrade-db-to-1.3.sql" /> |
64 | 62 |
<property name="upgrade-1.4-sql" |
65 | 63 |
value="upgrade-db-to-1.4.sql" /> |
66 |
|
|
64 |
<property name="upgrade-1.5-sql" |
|
65 |
value="upgrade-db-to-1.5.sql" /> |
|
67 | 66 |
</target> |
68 | 67 |
|
69 | 68 |
<target name="postgresql" if="use-postgresql"> |
... | ... | |
83 | 82 |
value="upgrade-db-to-1.3-postgres.sql" /> |
84 | 83 |
<property name="upgrade-1.4-sql" |
85 | 84 |
value="upgrade-db-to-1.4-postgres.sql" /> |
85 |
<property name="upgrade-1.5-sql" |
|
86 |
value="upgrade-db-to-1.5-postgres.sql" /> |
|
86 | 87 |
</target> |
87 | 88 |
|
88 | 89 |
<target name="sqlserver" if="use-sqlserver"> |
Also available in: Unified diff
Modified so that database upgrade script to version 1.5 is called based on which database the user is using.