Hi everyone, I noted that Pharo resets the location of output when doing fileout to the default Pharo folder, even after several times I changed it to another folder. Is that an expected behaviour? Thanks, Pablo
Under P7, from the class browser, when I fileout, it does not ask me! Hilaire Le 22/09/2018 à 14:53, Pablo Frias a écrit :
I noted that Pharo resets the location of output when doing fileout to the default Pharo folder, even after several times I changed it to another folder. Is that an expected behaviour?
-- Dr. Geo http://drgeo.eu
On P7, the path is hardcoded to the image directory: CodeExporter class>>writeSourceCodeFrom: aStream baseName: baseName isSt: stOrCsFlag    | extension targetFile |    extension := stOrCsFlag ifTrue: ['st'] ifFalse: ['cs'].    targetFile := FileLocator imageDirectory / baseName asFileName, extension.    self writeSourceCodeFrom: aStream toFileReference: targetFile But there are likely other classes doing the same things differently as you seem to be able to select the path. Hilaire Le 22/09/2018 à 16:13, Hilaire a écrit :
Under P7, from the class browser, when I fileout, it does not ask me!
Hilaire
-- Dr. Geo http://drgeo.eu
participants (2)
-
Hilaire -
Pablo Frias