+ original + " = " + out);
// the source must exist
if (!original.exists())
throw new IORException.FileNotFoundException(original);
if (!original.isDirectory() && !original.isFile())
throw new IORException("Weird: " + original);
if (out.exists()) {
if (overwrite) {
FileUtils.delete(out);
} else
throw new IORException("Creating symlink failed: " + out
+ " already exists.");
}
try {
original = original.getCanonicalFile();
ShellScript ss = new ShellScript("ln -s " + original + " " + out);