* Change to executable permissions for non-windows machines.
*/
public static void changePermissions(File file) {
if (!Platform.getOS().equals(Platform.OS_WIN32)) {
LocalFile localFile = new LocalFile(file);
IFileInfo info = localFile.fetchInfo();
if (!info.getAttribute(EFS.ATTRIBUTE_EXECUTABLE)) {
info.setAttribute(EFS.ATTRIBUTE_EXECUTABLE, true);
try {
localFile.putInfo(info, EFS.SET_ATTRIBUTES, null);
} catch (CoreException e) {