String path, String target, String targetSubPath,
String author)
throws RegistryException {
Resource r = new ResourceImpl();
String relativePath = RegistryUtils.getRelativePath(registryContext, path);
r.addProperty("path", relativePath);
r.addProperty("target", target);
r.addProperty("author", author);
r.addProperty("subPath", targetSubPath);
String mountPath = RegistryConstants.LOCAL_REPOSITORY_BASE_PATH +
RegistryConstants.SYSTEM_MOUNT_PATH + "/" +