/** * Create Unix style symlink * * @param targetPath * @param file * @return true if the operation is successful * @throws hudson.util.jna.Native.ExecutionError */ public boolean createSymlink(String targetPath, File file) throws NativeAccessException { ensureUnixSupport(NativeFunction.SYMLINK); return nativeUnixSupport.createSymlink(targetPath, file); }