#250340: Building egg fails with IOException: No such file or directory
authorJulien Enselme <jenselme@netbeans.org>
Sun, 25 Jun 2017 18:17:37 +0200
changeset 184271520ed2e78e3
parent 18407 fcbdc73e2a68
child 18428 47444533169e
#250340: Building egg fails with IOException: No such file or directory

Thanks to ratanak for the patch
python.project/src/org/netbeans/modules/python/project/ui/actions/CleanBuildCommand.java
     1.1 --- a/python.project/src/org/netbeans/modules/python/project/ui/actions/CleanBuildCommand.java	Sat Jun 10 22:44:51 2017 +0200
     1.2 +++ b/python.project/src/org/netbeans/modules/python/project/ui/actions/CleanBuildCommand.java	Sun Jun 25 18:17:37 2017 +0200
     1.3 @@ -154,7 +154,7 @@
     1.4  
     1.5          //System.out.println("Working directory" + path);
     1.6  
     1.7 -        pyexec.setWorkingDirectory(path.toString());
     1.8 +        pyexec.setWorkingDirectory(path.getPath());
     1.9          pyexec.setCommand(platform.getInterpreterCommand());
    1.10          //Set python script
    1.11          //path = FileUtil.toFile(script).getAbsolutePath();