Project

General

Profile

« Previous | Next » 

Revision 4797

Added by daigle almost 16 years ago

Add the service registration xml schema to the database. The ecogrid build will add the schema files to the application (see seek)

View differences:

src/loaddtdschema-oracle.sql
47 47
  VALUES ('Schema', 'metadata', '/schema/fgdc-std-001/fgdc-std-001-1998.xsd');
48 48
INSERT INTO xml_catalog (entry_type, public_id, system_id)
49 49
  VALUES ('Schema', '@eml2_1_0namespace@', '/schema/eml-2.1.0/eml.xsd');
50
INSERT INTO xml_catalog (entry_type, public_id, system_id)
51
  VALUES ('Schema', '/schema/RegistryService/RegistryEntryType.xsd', '/schema/RegistryService/RegistryEntryType.xsd');
50 52

  
51 53
INSERT INTO db_version (version, status, date_created) 
52 54
  VALUES ('1.9.0',1,CURRENT_DATE);
src/upgrade-db-to-1.9-postgres.sql
15 15

  
16 16
INSERT INTO xml_catalog (entry_type, public_id, system_id)
17 17
  VALUES ('Schema', '@eml2_1_0namespace@', '/schema/eml-2.1.0/eml.xsd');
18
  
19
INSERT INTO xml_catalog (entry_type, public_id, system_id)
20
  VALUES ('Schema', 'http://ecoinformatics.org/registryentry-1.0.0', '/schema/RegistryService/RegistryEntryType.xsd');
src/loaddtdschema-postgres.sql
45 45
  VALUES ('Schema', '@stmmlnamespace@', '/schema/eml-2.0.1/stmml.xsd');
46 46
INSERT INTO xml_catalog (entry_type, public_id, system_id)
47 47
  VALUES ('Schema', 'metadata', '/schema/fgdc-std-001/fgdc-std-001-1998.xsd');
48
  INSERT INTO xml_catalog (entry_type, public_id, system_id)
48
INSERT INTO xml_catalog (entry_type, public_id, system_id)
49 49
  VALUES ('Schema', '@eml2_1_0namespace@', '/schema/eml-2.1.0/eml.xsd');
50
INSERT INTO xml_catalog (entry_type, public_id, system_id)
51
  VALUES ('Schema', 'http://ecoinformatics.org/registryentry-1.0.0', '/schema/RegistryService/RegistryEntryType.xsd');
50 52

  
51 53
INSERT INTO db_version (version, status, date_created) 
52 54
  VALUES ('1.9.0',1,CURRENT_DATE);
src/upgrade-db-to-1.9-oracle.sql
20 20
/
21 21

  
22 22
INSERT INTO db_version (version, status, date_created) 
23
  VALUES ('1.8.0', 1, CURRENT_DATE);
23
  VALUES ('1.9.0', 1, CURRENT_DATE);
24 24

  
25 25
INSERT INTO xml_catalog (entry_type, public_id, system_id)
26 26
  VALUES ('Schema', '@eml2_1_0namespace@', '/schema/eml-2.1.0/eml.xsd');
27
  
28
INSERT INTO xml_catalog (entry_type, public_id, system_id)
29
  VALUES ('Schema', '/schema/RegistryService/RegistryEntryType.xsd', '/schema/RegistryService/RegistryEntryType.xsd');
build.xml
139 139
      <filter token="adminname"            value="${adminname}"/>
140 140
      <filter token="recipient"            value="${recipient}"/>
141 141
   	  <filter token="metacatVersion"       value="${metacat.version}"/>
142
 	  <filter token="metacatRC"       value="${metacat.releaseCandidate}"/>
142
 	  <filter token="metacatRC"            value="${metacat.releaseCandidate}"/>
143
 	  <filter token="build.context"        value="${metacat.context}"/>
143 144

  
144 145
      <filter token="docrooturl"           value="./" />
145 146
      <filter token="mcuser"               value="${mcuser}"/>
......
579 580
   	            description="Build Metacat">
580 581
   </target>
581 582
	
582
   <target name="install-ecogrid" depends="war, get-ecogrid" if="enable.ecogrid"
583
   <target name="install-ecogrid" depends="warPrepare, get-ecogrid" if="enable.ecogrid"
583 584
			    description="Install Ecogrid Compentent">
584 585
   	  <ant antfile="build.xml" dir="${ecogrid-dir}" target ="clean" inheritall="false">
585 586
   	         <property name="context" value="${metacat.context}"/>
......
591 592
   	     <property name="target" value="${ecogrid-target-name}"/>
592 593
   	     <!-- property name="metacat.dir" value="."/ -->
593 594
   	  </ant>
594
   	  <war destfile="${ecogrid-dir}/build/${metacat.context}.war" update="true">
595
   	  <!-- war destfile="${ecogrid-dir}/build/${metacat.context}.war" update="true">
595 596
  	      <webinf dir="${ecogrid-dir}/lib">
596 597
   	        <include name="server-config.wsdd"/>
597 598
   	      </webinf>
598
   	  </war>
599
   	  </war -->
599 600
   	  <copy file="${ecogrid-dir}/build/${metacat.context}.war" todir="${dist.dir}" overwrite="true"/>
600 601
   	  
601 602
   
......
1136 1137
	  </copy>
1137 1138
  </target>
1138 1139

  
1139
	<target name="distbin" depends="build-metacat,war-lsid,war" description="prepares a binary distribution">
1140
	<target name="distbin" depends="build-metacat,war-lsid" description="prepares a binary distribution">
1140 1141
		<copy todir="${dist.dir}">
1141 1142
			<fileset dir="./src/scripts"  />
1142 1143
		</copy>	

Also available in: Unified diff