July 4, 2012
7:29 a.m.
Why not (FileSystem disk workingDirectory / 'foo.txt') delete. Works for me. Are you sure you are using the latest VM ? On 04 Jul 2012, at 09:23, Fernando Olivero wrote:
Hi, i found an error in the latest Pharo2.0 build, at least in OSX , that prevents from using Gofer and monticello.
Its related to the FileSystem primitives, when trying to delete a file.
To reproduce evaluate the following code ( change 'PharoDebug.log' for any existing file in the same directory as the image).
| path | path := FileSystem disk workingDirectory. p := FilePluginPrims new . p deleteDirectory: (path / 'PharoDebug.log') fullName.
Any idea why?
Thanks, Fernando