Revision 2324
Added by Matt Jones over 20 years ago
metacatinstall.html | ||
---|---|---|
567 | 567 |
<pre><b>ant register-schemas</b></pre> |
568 | 568 |
<p>This command registers the EML DTDs' and schemas' location in the |
569 | 569 |
metacat server. Your database username and password have to be set correctly |
570 |
for this to work. |
|
570 |
for this to work. Also, if for some reason running this script from ant |
|
571 |
does not work, you could instead try running "build/src/loaddtdschema.sql" |
|
572 |
from your sql utility (but be sure to use the version in the 'build' directory |
|
573 |
that has been customized for your installation). |
|
571 | 574 |
</p> |
572 | 575 |
<p class="header"><h2>Upgrading SQL Scripts</h2></p> |
573 | 576 |
<p> |
... | ... | |
579 | 582 |
for the intermediate versions as well. Currently the upgrade scripts are: |
580 | 583 |
</p> |
581 | 584 |
<ul> |
582 |
<li>upgrade-db-to-1.2.sql</li> |
|
583 |
<li>upgrade-db-to-1.3.sql</li> |
|
584 |
<li>upgrade-db-to-1.4.sql</li> |
|
585 |
<li>build/src/upgrade-db-to-1.2.sql</li>
|
|
586 |
<li>build/src/upgrade-db-to-1.3.sql</li>
|
|
587 |
<li>build/src/upgrade-db-to-1.4.sql</li>
|
|
585 | 588 |
</ul> |
586 | 589 |
<p> |
587 | 590 |
So, if you had an existing metacat 1.0 installation and you were upgrading |
... | ... | |
589 | 592 |
upgrade-db-to-1.2.sql, upgrade-db-to-1.3.sql, and upgrade-db-to-1.4.sql. |
590 | 593 |
However, if you were starting from a Metacat 1.3.x |
591 | 594 |
installation, you would only need to run the upgrade-db-to-1.4.sql script. |
595 |
Be sure to use the version of the scripts from the 'build' directory they |
|
596 |
are customized for your installation in that directory. |
|
592 | 597 |
</p> |
593 | 598 |
</p> |
594 | 599 |
<h2>Restart Tomcat</h2> |
Also available in: Unified diff
One last clarification to the install instructions regarding the sql scripts.