what's the best way to package a small data file with a changeset ?

goran.hultgren at bluefish.se goran.hultgren at bluefish.se
Mon Jan 27 12:18:10 UTC 2003

Simon Michael <simon at joyful.com> wrote:
> Thanks Göran. I'm still not sure how to convert a binary file to a literal
> string (your example was blank) but it makes sense to keep the .ggd file

Well it is dead simple. :-) Open a filelist, click the file in question
(the ascii contents will be shown in the filelist), select it all and
paste into a method between single quotes. If the contents of the file
is "xxx" then the method simply reads:


Of course - you would need to escape any '-characters with double ones.
Perhaps I misunderstood the problem though, not sure.

regards, Göran

More information about the Squeak-dev mailing list