]> matita.cs.unibo.it Git - helm.git/commitdiff
- Configuration file moved to /projects/helm/etc.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 16 Feb 2004 17:21:30 +0000 (17:21 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 16 Feb 2004 17:21:30 +0000 (17:21 +0000)
- Configuration file ported to latest version of Helm_registry.

helm/http_getter/http_getter.conf.xml.sample
helm/http_getter/main.ml

index 01e1f126b10a12cf4265067fd02743bce86b19ac..780a05d2e82af25a19f3e962ae77b0a2e1e25cd6 100644 (file)
@@ -1,19 +1,29 @@
 <?xml version="1.0" encoding="utf-8"?>
 <helm_registry>
-  <value key="getter.servers_file">/foo/servers.txt</value>
-  <value key="getter.cic_dir">/foo/cic_library</value>
-  <value key="getter.nuprl_dir">/foo/nuprl_library</value>
-  <value key="getter.rdf_dir">/foo/rdf_library</value>
-  <value key="getter.dtd_dir">/foo/dtd</value>
-  <value key="getter.cic_dbm">/foo/cic_db</value>
-  <value key="getter.nuprl_dbm">/foo/nuprl_db</value>
-  <value key="getter.rdf_dbm">/foo/rdf_db</value>
-  <value key="getter.xsl_dbm">/foo/xsl_db</value>
-  <!--   <value key="getter.cache_mode">normal</value> -->
-  <value key="getter.cache_mode">gz</value>
-  <value key="getter.xml_indexname">index.txt</value>
-  <value key="getter.rdf_indexname">rdf_index.txt</value>
-  <value key="getter.xsl_indexname">xslt_index.txt</value>
-  <value key="getter.dtd_base_url">http://mowgli.cs.unibo.it/dtd</value>
-  <value key="getter.port">58081</value>
+  <key name="dbm_dir">/projects/helm/shared/V7_mowgli</key>
+  <key name="cache_dir">/tmp/helm/cache</key>
+
+  <section name="getter">
+    <key name="servers_file">$(dbm_dir)/servers.txt</key>
+
+    <key name="cic_dir">$(cache_dir)/cic_library</key>
+    <key name="nuprl_dir">$(cache_dir)/nuprl_library</key>
+    <key name="rdf_dir">$(cache_dir)/rdf_library</key>
+    <key name="dtd_dir">/projects/helm/xml/dtd</key>
+
+    <key name="cic_dbm">$(dbm_dir)/cic_db</key>
+    <key name="nuprl_dbm">$(dbm_dir)/nuprl_db</key>
+    <key name="rdf_dbm">$(dbm_dir)/rdf_db</key>
+    <key name="xsl_dbm">$(dbm_dir)/xsl_db</key>
+
+    <key name="cache_mode">gz</key>
+
+    <key name="xml_indexname">index.txt</key>
+    <key name="rdf_indexname">rdf_index.txt</key>
+    <key name="xsl_indexname">xslt_index.txt</key>
+
+    <key name="dtd_base_url">http://mowgli.cs.unibo.it/dtd</key>
+
+    <key name="port">38081</key>
+  </section>
 </helm_registry>
index 90f776df359e2ca9a1e1592b6c53293fd7f29a74..7722a2cdce135626a1d883a8e0c0d62deaf8e7d2 100644 (file)
@@ -35,7 +35,7 @@ open Http_getter_debugger
 
   (* constants *)
 
-let configuration_file = "http_getter.conf.xml"
+let configuration_file = "/projects/helm/etc/http_getter.conf.xml"
 
 let common_headers = [
   "Cache-Control", "no-cache";