bolivian setup seems to work now...
[mir.git] / source / mircoders / localizer / basic / MirBasicProducerToolLocalizer.java
index f08d21a..9d99449 100755 (executable)
@@ -17,8 +17,9 @@ public class MirBasicProducerToolLocalizer implements MirProducerToolLocalizer {
     // ML: these config settings will be included more beautifully as soon as the new config system is in place
 
     Map configMap = new HashMap();
+    Map utilityMap = new HashMap();
 
-               configMap.put("producerDocRoot", "");//MirGlobal.getConfigProperty("Producer.DocRoot"));
+               configMap.put("producerDocRoot", MirGlobal.getConfigProperty("Producer.DocRoot"));
                configMap.put("storageRoot", MirGlobal.getConfigProperty("Producer.StorageRoot"));
     configMap.put("productionHost", MirGlobal.getConfigProperty("Producer.ProductionHost"));
                configMap.put("openAction", MirGlobal.getConfigProperty("Producer.OpenAction"));
@@ -29,10 +30,12 @@ public class MirBasicProducerToolLocalizer implements MirProducerToolLocalizer {
                configMap.put("imageHost", MirGlobal.getConfigProperty("Producer.Image.Host"));
                configMap.put("imagePath", MirGlobal.getConfigProperty("Producer.Image.Path"));
                configMap.put("mirVersion", MirGlobal.getConfigProperty("Mir.Version"));
-               configMap.put("compressWhitespace", new freemarker.template.utility.CompressWhitespace() );
                configMap.put("defEncoding", MirGlobal.getConfigProperty("Mir.DefaultEncoding"));
 
+               utilityMap.put("compressWhitespace", new freemarker.template.utility.CompressWhitespace() );
+
     aValueSet.put("config", configMap);
+    aValueSet.put("utility", utilityMap);
 
     EntityList topicList=null;
     EntityList entityList=null;