* Clones the velocity file and injects params accordingly
*/
public void clone(File path, Map<String, Object> params) {
File outputFile = getOutputFile(path, params);
params.put("package", packager.getPackage(outputFile));
SyncMode syncMode = (SyncMode) params.get("syncMode");
if (syncMode == SyncMode.CREATE) {
if (outputFile.exists()) {
// file already exist. Do not overwrite.
_log.info(outputFile.getName()+" not updated. File already exist. SyncMode: ["+syncMode+"]");
} else {