From: yossarian Date: Sat, 11 Nov 2006 16:38:17 +0000 (+0000) Subject: Switched to just using "destinationIdentifier" for the output path for the ChangeTrac... X-Git-Tag: LATEST_MERGED_1_1~26 X-Git-Url: http://erislabs.net/gitweb/?p=mir.git;a=commitdiff_plain;h=c3f01b0c94920a9df081b1ff8c62b77ac8a634cc Switched to just using "destinationIdentifier" for the output path for the ChangeTracker. This should work because it's super-simple, but it'll have to be changed later probably to a different path. We're just trying to get something working at this point though. --- diff --git a/source/mir/producer/GeneratingProducerNode.java b/source/mir/producer/GeneratingProducerNode.java index 385c7e3e..6f6c8ca5 100755 --- a/source/mir/producer/GeneratingProducerNode.java +++ b/source/mir/producer/GeneratingProducerNode.java @@ -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);