}
public void addToVirtualFilesystem(FileSystem fileSystem) throws FileSystemException {
if (!isWebappDirectoryRelative()) {
FileObject file = VfsWrapper.getManager().resolveFile(getSchema() + "://" + StringUtils.defaultString(getJunctionUrl()));
file.createFolder(); //ensure it exists
fileSystem.addJunction(getJunctionPoint(), file);
} else {
File parentFile = new File(Application.lookup().getBaseAppDirectory());
String junctionUrl = getJunctionUrl();