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);
endTime = System.currentTimeMillis();
aLogger.debug("Generated " + generatorIdentifier + " into " + destinationIdentifier + " [" + parameters + "] in " + (endTime - startTime) + " ms");
- reportChange(relativePath);
+ reportChange(destinationIdentifier);
}
finally {
mirMap.put("generator", oldGenerator);