On 7/16/07, Avi wrote:
> I've had the same problem. The workaround I use is a very similar
> method which suppresses errors on #createDirectory:
>
> ensureExistenceOfPath: localPath
> localPath isEmpty ifTrue: [ ^self ].
> (self directoryExists: localPath) ifTrue: [^ self].
> self containingDirectory ensureExistenceOfPath: self localName.
> [self createDirectory: localPath] ifError: []
> It ain't pretty but it works.
Brilliant - it works and it's better English...
Thanks
Nick
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside