Project

General

Profile

« Previous | Next » 

Revision 877

Improvements to the build process that make it easier to install the DTDs
form EML. There are now three new targets in the build.xml file:

getdtd: uses cvs to get a working copy of a tagged release of eml
instdtd: copies the DTDs from the build directory to the install directory
dtdsql: runs the "loaddtd.sql" script against the db to register the DTDs

Also updated the src/loaddtd.sql script to use ant tokens so that it is up
to date with respect to the version of ant configured in the build.xml file.

Finally some minor changes to the README in preparation for the 1.0.1 release.

View differences:

loaddtd.sql
1
DELETE FROM xml_catalog 
2
      WHERE entry_type LIKE 'DTD'
3
        AND public_id LIKE '%@eml-version@%';
1 4
INSERT INTO xml_catalog (entry_type, public_id, system_id)
2
  VALUES ('DTD', '-//ecoinformatics.org//eml-access-2.0.0beta6//EN',
3
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-access-2.0.0beta6.dtd');
5
  VALUES ('DTD', '-//ecoinformatics.org//eml-access-@eml-version@//EN',
6
          'http://@server@@html-path@/dtd/eml-access-@eml-version@.dtd');
4 7
INSERT INTO xml_catalog (entry_type, public_id, system_id)
5
  VALUES ('DTD', '-//ecoinformatics.org//eml-attribute-2.0.0beta6//EN',
6
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-attribute-2.0.0beta6.dtd');
8
  VALUES ('DTD', '-//ecoinformatics.org//eml-attribute-@eml-version@//EN',
9
          'http://@server@@html-path@/dtd/eml-attribute-@eml-version@.dtd');
7 10
INSERT INTO xml_catalog (entry_type, public_id, system_id)
8
  VALUES ('DTD', '-//ecoinformatics.org//eml-constraint-2.0.0beta6//EN',
9
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-constraint-2.0.0beta6.dtd');
11
  VALUES ('DTD', '-//ecoinformatics.org//eml-constraint-@eml-version@//EN',
12
          'http://@server@@html-path@/dtd/eml-constraint-@eml-version@.dtd');
10 13
INSERT INTO xml_catalog (entry_type, public_id, system_id)
11
  VALUES ('DTD', '-//ecoinformatics.org//eml-coverage-2.0.0beta6//EN',
12
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-coverage-2.0.0beta6.dtd');
14
  VALUES ('DTD', '-//ecoinformatics.org//eml-coverage-@eml-version@//EN',
15
          'http://@server@@html-path@/dtd/eml-coverage-@eml-version@.dtd');
13 16
INSERT INTO xml_catalog (entry_type, public_id, system_id)
14
  VALUES ('DTD', '-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN',
15
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-dataset-2.0.0beta6.dtd');
17
  VALUES ('DTD', '-//ecoinformatics.org//eml-dataset-@eml-version@//EN',
18
          'http://@server@@html-path@/dtd/eml-dataset-@eml-version@.dtd');
16 19
INSERT INTO xml_catalog (entry_type, public_id, system_id)
17
  VALUES ('DTD', '-//ecoinformatics.org//eml-entity-2.0.0beta6//EN',
18
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-entity-2.0.0beta6.dtd');
20
  VALUES ('DTD', '-//ecoinformatics.org//eml-entity-@eml-version@//EN',
21
          'http://@server@@html-path@/dtd/eml-entity-@eml-version@.dtd');
19 22
INSERT INTO xml_catalog (entry_type, public_id, system_id)
20
  VALUES ('DTD', '-//ecoinformatics.org//eml-literature-2.0.0beta6//EN',
21
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-literature-2.0.0beta6.dtd');
23
  VALUES ('DTD', '-//ecoinformatics.org//eml-literature-@eml-version@//EN',
24
          'http://@server@@html-path@/dtd/eml-literature-@eml-version@.dtd');
22 25
INSERT INTO xml_catalog (entry_type, public_id, system_id)
23
  VALUES ('DTD', '-//ecoinformatics.org//eml-physical-2.0.0beta6//EN',
24
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-physical-2.0.0beta6.dtd');
26
  VALUES ('DTD', '-//ecoinformatics.org//eml-physical-@eml-version@//EN',
27
          'http://@server@@html-path@/dtd/eml-physical-@eml-version@.dtd');
25 28
INSERT INTO xml_catalog (entry_type, public_id, system_id)
26
  VALUES ('DTD', '-//ecoinformatics.org//eml-project-2.0.0beta6//EN',
27
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-project-2.0.0beta6.dtd');
29
  VALUES ('DTD', '-//ecoinformatics.org//eml-project-@eml-version@//EN',
30
          'http://@server@@html-path@/dtd/eml-project-@eml-version@.dtd');
28 31
INSERT INTO xml_catalog (entry_type, public_id, system_id)
29
  VALUES ('DTD', '-//ecoinformatics.org//eml-protocol-2.0.0beta6//EN',
30
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-protocol-2.0.0beta6.dtd');
32
  VALUES ('DTD', '-//ecoinformatics.org//eml-protocol-@eml-version@//EN',
33
          'http://@server@@html-path@/dtd/eml-protocol-@eml-version@.dtd');
31 34
INSERT INTO xml_catalog (entry_type, public_id, system_id)
32
  VALUES ('DTD', '-//ecoinformatics.org//eml-software-2.0.0beta6//EN',
33
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-software-2.0.0beta6.dtd');
34

  
35

  
36
INSERT INTO xml_catalog (entry_type, public_id, system_id)
37
  VALUES ('DTD', '-//ecoinformatics.org//eml-access-2.0.0beta4//EN',
38
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-access-2.0.0.beta4e.dtd');
39
INSERT INTO xml_catalog (entry_type, public_id, system_id)
40
  VALUES ('DTD', '-//ecoinformatics.org//eml-attribute-2.0.0beta4//EN',
41
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-attribute-2.0.0.beta4e.dtd');
42
INSERT INTO xml_catalog (entry_type, public_id, system_id)
43
  VALUES ('DTD', '-//ecoinformatics.org//eml-constraint-2.0.0beta4//EN',
44
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-constraint-2.0.0.beta4e.dtd');
45
INSERT INTO xml_catalog (entry_type, public_id, system_id)
46
  VALUES ('DTD', '-//ecoinformatics.org//eml-coverage-2.0.0beta4//EN',
47
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-coverage-2.0.0.beta4e.dtd');
48
INSERT INTO xml_catalog (entry_type, public_id, system_id)
49
  VALUES ('DTD', '-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN',
50
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-dataset-2.0.0.beta4e.dtd');
51
INSERT INTO xml_catalog (entry_type, public_id, system_id)
52
  VALUES ('DTD', '-//ecoinformatics.org//eml-distribution-2.0.0beta4//EN',
53
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-distribution-2.0.0.beta4e.dtd');
54
INSERT INTO xml_catalog (entry_type, public_id, system_id)
55
  VALUES ('DTD', '-//ecoinformatics.org//eml-entity-2.0.0beta4//EN',
56
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-entity-2.0.0.beta4e.dtd');
57
INSERT INTO xml_catalog (entry_type, public_id, system_id)
58
  VALUES ('DTD', '-//ecoinformatics.org//eml-literature-2.0.0beta4//EN',
59
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-literature-2.0.0.beta4e.dtd');
60
INSERT INTO xml_catalog (entry_type, public_id, system_id)
61
  VALUES ('DTD', '-//ecoinformatics.org//eml-physical-2.0.0beta4//EN',
62
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-physical-2.0.0.beta4e.dtd');
63
INSERT INTO xml_catalog (entry_type, public_id, system_id)
64
  VALUES ('DTD', '-//ecoinformatics.org//eml-project-2.0.0beta4//EN',
65
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-project-2.0.0.beta4e.dtd');
66
INSERT INTO xml_catalog (entry_type, public_id, system_id)
67
  VALUES ('DTD', '-//ecoinformatics.org//eml-protocol-2.0.0beta4//EN',
68
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-protocol-2.0.0.beta4e.dtd');
69
INSERT INTO xml_catalog (entry_type, public_id, system_id)
70
  VALUES ('DTD', '-//ecoinformatics.org//eml-software-2.0.0beta4//EN',
71
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-software-2.0.0.beta4e.dtd');
72
INSERT INTO xml_catalog (entry_type, public_id, system_id)
73
  VALUES ('DTD', '-//ecoinformatics.org//eml-software-2.0.0beta5//EN',
74
          'http://metacat.nceas.ucsb.edu/knb/dtd/eml-software-2.0.0.beta5e.dtd');
35
  VALUES ('DTD', '-//ecoinformatics.org//eml-software-@eml-version@//EN',
36
          'http://@server@@html-path@/dtd/eml-software-@eml-version@.dtd');

Also available in: Unified diff