[Pharo-project] Problem with FileSystem primitives in latest Pharo2.0

Sven Van Caekenberghe sven at beta9.be
Wed Jul 4 03:29:36 EDT 2012


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
> 





More information about the Pharo-dev mailing list