[squeak-dev] [BUG][FIX} Review this please...

Edgar J. De Cleene edgardec2005 at gmail.com
Sat Apr 10 13:53:02 UTC 2010


Just send the cleanup of servers external to Squeak long time non working
and the missed menu in in the build directory Tree pane .

But current code do not shows the name you choose for your external server.


"Please fill in the following info, then select all text and choose DoIt."

    | aa | 
    self flag: #ViolateNonReferenceToOtherClasses.
    aa := ServerDirectory new.
    aa server: 'st.cs.uiuc.edu'.    "host"
    aa user: 'anonymous'.
    aa password: 'yourEmail at school.edu'.
    aa directory: '/Smalltalk/Squeak/Goodies'.
    aa url: ''.    "<- this is optional.  Only used when *writing* update
    ServerDirectory addServer: aa named: 'UIUCArchive'.  "<- known by this
name in Squeak"

You do not see UIUCArchive in the server list.

I fix, but don¹t like , so send here for best solution

The ugly fix:

Copy FileList2 initialDirectoryList code, put in Filelist rootDirectoryList

FileList  directoryNameOf: aDirectory
(aDirectory isKindOf: FileDirectoryWrapper) ifFalse:[
    ^aDirectory localName] ifTrue:[ ^aDirectory asString]

Additional question

Is FileDirectoryWrapper deprecated now ? Do not should be used?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100410/078d443b/attachment.htm

More information about the Squeak-dev mailing list