relativePath = RegistryUtils.getRelativePath(registryContext, path);
}
r.addProperty("path", relativePath);
r.addProperty("target", RegistryUtils.getRelativePath(registryContext,
target));
r.addProperty("author", author);
String mountPath = RegistryConstants.LOCAL_REPOSITORY_BASE_PATH +
RegistryConstants.SYSTEM_MOUNT_PATH + "/" +
relativePath.replace("/", "-");
if (!registry.resourceExists(mountPath)) {
registry.put(mountPath, r);