Revision 1627
Added by Jing Tao over 21 years ago
docs/user/metacatinstall.html | ||
---|---|---|
350 | 350 |
<td> |
351 | 351 |
<a name="protocol"></a> |
352 | 352 |
<p> |
353 |
Now we are ready to finish setting up Tomcat by getting DTD file from CVS. |
|
354 |
To do this, change into the xmltodb directory and type |
|
355 |
<pre>ant getdtd</pre> |
|
356 |
When it is done and says "BUILD SUCCESSFUL", the DTD files in CVS server will |
|
357 |
copy to xmltodb/lib/dtd directory. |
|
358 |
</p> |
|
359 |
<p> |
|
360 |
Once the DTD files are copied, you are ready to compile |
|
361 |
and install |
|
362 |
Metacat. Ant allows compilation and installation to be done in one step. |
|
363 |
Change into the xmltodb directory and type: |
|
353 |
Ant allows compilation and installation to be done in one step. |
|
354 |
Change into the metacat directory and type: |
|
364 | 355 |
<pre>ant install</pre> |
365 | 356 |
You should see a bunch of messages telling you the progress of compilation |
366 | 357 |
and installation. When it is done you should see the message |
... | ... | |
374 | 365 |
"config" target. |
375 | 366 |
</p> |
376 | 367 |
<p>Once metacat itself is installed, you should also register |
377 |
the Ecological Metadata Language (EML) DTDs. This process is done most |
|
378 |
easily by running "ant dtdsql" which registers the DTDs with the |
|
368 |
the Ecological Metadata Language (EML) DTDs and schemas. This process is done most
|
|
369 |
easily by running "ant dtdschemasql" which registers the DTDs with the
|
|
379 | 370 |
metacat server. Your database username and password have to be set correctly |
380 | 371 |
for this to work. |
381 | 372 |
</p> |
Also available in: Unified diff
Revise some instruction