[Seaside] seaside hosting: trouble with

Nick Ager nick.ager at gmail.com
Tue Jul 17 23:26:22 UTC 2007

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...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070718/b043c360/attachment.htm

More information about the Seaside mailing list