Code Comments
Programming Forum and web based access to our favorite programming groups.When I fileOut a class, the category information for all the methods seems to be lost... is there a way to preserve this? Thanks.
Post Follow-up to this message"PaulAtKP" <paul.macmillan@kp.org> wrote: > When I fileOut a class, the category information for all the methods > seems to be lost... is there a way to preserve this? > Thanks. Which Smalltalk? Squeak and VW do this quite nicely. Cheers, Hans-Martin
Post Follow-up to this messagePaulAtKP wrote: > When I fileOut a class, the category information for all the methods > seems to be lost... is there a way to preserve this? > Thanks. Hi Paul, In VA Smallalk, the incantation is: System fileOutCategories: true File out after doing that, and all category information is included in the file-out. If you are not moving code away from VA Smalltalk, it is usually preferable to use the export/import mechanism instead of file-ing out and in. Export/import (which are use cases provided by the Envy/Manager code management subsystem of VA Smalltalk) preserves about all there is to preserve about your code (in a binary format). If you want to move between dialects and you can't use Envy, some form of textual file-out may well be indicated. The VisualWorks dialect also has several mechanisms for moving code built-in. Let us know what it is that you are trying to do, and with which dialect(s), and we can help you better. Cheers, Peter
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.