Switched to just using "destinationIdentifier" for the output path for the ChangeTrac...
authoryossarian <yossarian>
Sat, 11 Nov 2006 16:38:17 +0000 (16:38 +0000)
committeryossarian <yossarian>
Sat, 11 Nov 2006 16:38:17 +0000 (16:38 +0000)
source/mir/producer/GeneratingProducerNode.java

index 385c7e3..6f6c8ca 100755 (executable)
@@ -84,8 +84,8 @@ public class GeneratingProducerNode extends AbstractProducerNode {
         destinationIdentifier = ParameterExpander.expandExpression(aValueMap, destinationExpression);
         generatorIdentifier = ParameterExpander.expandExpression(aValueMap, generatorExpression);
         parameters = ParameterExpander.expandExpression(aValueMap, parametersExpression);
-        String relPathExpression = "/${article.date.formatted.yyyy}/${article.date.formatted.MM}/${article.id}.shtml";
-        String relativePath = ParameterExpander.expandExpression(aValueMap, relPathExpression);
+        //String relPathExpression = "/${article.date.formatted.yyyy}/${article.date.formatted.MM}/${article.id}.shtml";
+        //String relativePath = ParameterExpander.expandExpression(aValueMap, relPathExpression);
         mirMap.put("generator", generatorIdentifier);
         mirMap.put("destination", destinationIdentifier);
         mirMap.put("parameters", parameters);
@@ -97,7 +97,7 @@ public class GeneratingProducerNode extends AbstractProducerNode {
 
         endTime = System.currentTimeMillis();
         aLogger.debug("Generated " + generatorIdentifier + " into " + destinationIdentifier + " [" + parameters + "] in " + (endTime - startTime) + " ms");
-        reportChange(relativePath);
+        reportChange(destinationIdentifier);
       }
       finally {
         mirMap.put("generator", oldGenerator);