IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: Got Smalltalk code to publish, but how?
Are you using Parcels?

If you code is in a parcel or parcels, just use the Parcel Browser and sleect the parclel and pick either the "Save" or "File Out As" options. Both produce a text file of the Smalltalk code that can be easily imported into another Smalltalk image

If you are not using Parcels, you can still use the "File Out As" option in the System Browser to export a Category, a Class, or even just a Method as text that can be published
Jay O'Connor

"Going places unmapped
to do things unplanned
to people unsuspecting"
New Re: Got Smalltalk code to publish, but how?
My code is not in a parcel. How do I make one?

I did File Out As, but for the life of mine I can't find how to file it back in.
New Re: Got Smalltalk code to publish, but how?
My code is not in a parcel. How do I make one?

Go to "Browse->Parcels" and on the parcel browser that opens, you just select "Parcel->New" in the menu bar or "New" in the popup menu on the parcel list on the left. Then find your classes and add then to the Parcel. Note: The Parcel browser and manipulating parcels and classes can be farily confusing


I did File Out As, but for the life of mine I can't find how to file it back in.

Open a File browser, select the file you want in the middle pane (should have a .st extension...) and right click and select "File In"

Note: VisualWorks defaults to using XML for its import/export format. Using the "Settings" you can switch to the older style chunked Smalltalk code format which is actually quasi-executed on import. (The file contains Smalltalk code instructing the compiler how to build the classes and add the methods)

Jay O'Connor

"Going places unmapped
to do things unplanned
to people unsuspecting"
New Confusing was too gentle a word...
New AS in "I don't like it...
...and it's error prone"

It was the first step, I believe, toward STORE, which was there attempt to have another option other than Envy (being that Envy is no owned by their main competition). I haven't used STORE, but I believe it uses a database (like Oracle) for code repository.
Jay O'Connor

"Going places unmapped
to do things unplanned
to people unsuspecting"
     Got Smalltalk code to publish, but how? - (Arkadiy) - (12)
         Re: Got Smalltalk code to publish, but how? - (Fearless Freep) - (4)
             Re: Got Smalltalk code to publish, but how? - (Arkadiy) - (3)
                 Re: Got Smalltalk code to publish, but how? - (Fearless Freep) - (2)
                     Confusing was too gentle a word... -NT - (Arkadiy) - (1)
                         AS in "I don't like it... - (Fearless Freep)
         This is one of Smalltalk's great failings IMO - (tuberculosis) - (6)
             Not really - (Fearless Freep) - (5)
                 Re: Not really - (wharris2) - (1)
                     Wrong - (Fearless Freep)
                 Thats one of the other ones - (tuberculosis) - (2)
                     Actually.. - (Fearless Freep) - (1)
                         Many incompatible but perfectly finely-tuned answers... - (ben_tilly)

But calm down, don't wet yourself over spotting one!
147 ms