I try to understand why I could not find it by myself and when I look at writeSourceCodeFrom: aStream baseName: baseName isSt: stOrCsFlag
| extension fileName outputStream | self halt. extension := stOrCsFlag ifTrue: ['.st'] ifFalse: ['.cs']. fileName := baseName, extension. fileName := FileSystem disk checkName: fileName fixErrors: true. outputStream := (File named: fileName) writeStream. (ZnCrPortableWriteStream on: (ZnCharacterWriteStream on: outputStream encoding: 'utf8')) nextPutAll: aStream contents. outputStream close. self inform: 'Filed out to: ', String cr, fileName. I do not understand why File does not understand fullName. So going to bed because I got too many bugs this evening. and I'm doing an overflow. Stef On Wed, Nov 8, 2017 at 10:05 PM, Stephane Ducasse <[email protected]> wrote: > Ok you are right I could then find them there. > This is quite annoying and this is probably related to the launcher > > > On Wed, Nov 8, 2017 at 10:03 PM, Stephane Ducasse > <[email protected]> wrote: >> File @ /Users/ducasse/Documents/Pharo/vms/70-x86/Pharo.app/Contents/MacOS >> >> Stef >> >> On Wed, Nov 8, 2017 at 10:03 PM, Stephane Ducasse >> <[email protected]> wrote: >>> https://pharo.fogbugz.com/f/cases/20658/Fileouting-code-from-the-changesorter-does-not-work >>> >>> On Wed, Nov 8, 2017 at 9:53 PM, Stephane Ducasse >>> <[email protected]> wrote: >>>> It looks like the problem is here but I cannot find it. >>>> >>>> CodeExporter>> writeSourceCodeFrom: aStream baseName: baseName isSt: >>>> stOrCsFlag >>>> >>>> | extension fileName outputStream | >>>> self halt. >>>> extension := stOrCsFlag ifTrue: ['.st'] ifFalse: ['.cs']. >>>> fileName := baseName, extension. >>>> fileName := FileSystem disk checkName: fileName fixErrors: true. >>>> outputStream := (File named: fileName) writeStream. >>>> (ZnCrPortableWriteStream on: (ZnCharacterWriteStream >>>> on: outputStream >>>> encoding: 'utf8')) nextPutAll: aStream contents. >>>> >>>> outputStream close. >>>> >>>> self inform: 'Filed out to: ', String cr, fileName. >>>> >>>> On Wed, Nov 8, 2017 at 9:38 PM, Stephane Ducasse >>>> <[email protected]> wrote: >>>>> Ah thanks we should fix this. >>>>> >>>>> On Wed, Nov 8, 2017 at 9:31 PM, Christian Kellermann >>>>> <[email protected]> wrote: >>>>>> * Stephane Ducasse <[email protected]> [171108 21:29]: >>>>>>> Hi >>>>>>> >>>>>>> I'm trying to rescue some of my work (that I cannot save in MC nor in >>>>>>> Iceberg because the system >>>>>>> does not see it - super funny). >>>>>>> >>>>>>> I can browse the change using the changesorter when I do fileout >>>>>>> the system tells me that the file it saved but I cannot find it on my >>>>>>> disc. >>>>>>> Apparently none of the fileout is working in the changesorter. :( >>>>>> >>>>>> I have successfully filed out code with epicea but not changesorter. >>>>>> >>>>>> HTH, >>>>>> >>>>>> Christian >>>>>> >>>>>> -- >>>>>> May you be peaceful, may you live in safety, may you be free from >>>>>> suffering, and may you live with ease. >>>>>>
