]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matita.conf.xml.sample.in
ocaml 3.09 transition
[helm.git] / helm / matita / matita.conf.xml.sample.in
index b353a87910580ca908684aea7c421b0629025c64..b932b7ca9c54f8c61852d991952cf1aea27584a5 100644 (file)
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="utf-8"?>
 <helm_registry>
+  <section name="user">
+    <key name="home">~</key>
+<!-- If not specified here, name of the user executing matita will be used -->
+<!--     <key name="name">foo</key> -->
+  </section>
   <section name="matita">
     <key name="auto_disambiguation">true</key>
     <key name="environment_trust">true</key>
     <key name="baseuri">cic:/matita/</key>
-    <key name="basedir">@USER_HOME@/.matita/xml</key>
-    <key name="owner">@USER_NAME@</key>
+    <key name="basedir">$(user.home)/.matita</key>
+    <key name="owner">$(user.name)</key>
 <!--     <key name="font_size">10</key> -->
     <key name="tactics_bar">false</key>
   </section>
@@ -16,7 +21,7 @@
     <key name="database">matita</key>
   </section>
   <section name="getter">
-    <key name="cache_dir">@USER_HOME@/.matita/getter/cache</key>
+    <key name="cache_dir">$(user.home)/.matita/getter/cache</key>
     <key name="dtd_dir">/projects/helm/xml/dtd</key>
     <key name="prefix">
       cic:/
@@ -24,7 +29,7 @@
     </key>
     <key name="prefix">
       cic:/matita/
-      file://@USER_HOME@/.matita/xml/matita/
+      file://$(user.home)/.matita/xml/matita/
     </key>
   </section>
 </helm_registry>