private void createExecutablePermission(File unixScriptFile) {
Chmod chmod = new Chmod();
chmod.setProject(AntUtil.createProject());
chmod.setFile(unixScriptFile);
chmod.setPerm("ugo+rx");
chmod.execute();
}
private void createWindowsScript(String jarPath, File scriptDestinationDir, String wrapperPropertiesPath) throws IOException {
String windowsWrapperScriptHead = IOUtils.toString(getClass().getResourceAsStream("windowsWrapperScriptHead.txt"));
String windowsWrapperScriptTail = IOUtils.toString(getClass().getResourceAsStream("windowsWrapperScriptTail.txt"));