[squeak-dev] Problem with vmmaker-dtl.211.mcz
Casimiro de Almeida Barreto
casimiro.barreto at gmail.com
Mon Dec 20 16:30:15 UTC 2010
Problem:
saveConfig
"write info about the current configuration to a file."
(UIManager default request: 'Save VMMaker configuration...'
initialAnswer: self configFileName)
ifNotNilDo: [:file | | path |
('*.config' match: file)
ifFalse: [Cannot store into ->file := file , '.config'].
"If path is not valid, this is probably because we are
running the image on a different
platform. Assume this is the case, and change the path to
current default if it appears
to be invalid."
path := file copyUpToLast: FileDirectory pathNameDelimiter.
(FileDirectory default directoryExists: path)
ifFalse: [ file := file copyReplaceAll: path with:
FileDirectory default pathName].
vmMaker saveConfigurationTo: file.
configFileName := file]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20101220/91b45609/attachment.htm
More information about the Squeak-dev
mailing list
|