symlinkTask.setProject(getProject());
symlinkTask.init();
symlinkTask.setResource(targetFile.getAbsolutePath());
symlinkTask.setLink(linkFile.getAbsolutePath());
symlinkTask.setOverwrite(overwrite);
symlinkTask.execute();
}
private int executeCommand(String[] commandLine) throws IOException {
Execute executeTask = new Execute();
executeTask.setCommandline(commandLine);