SAR Usage - WAS: [CGUI] new CGUIMenuMorph

Ned Konz ned at bike-nomad.com
Wed Dec 11 06:18:04 UTC 2002


On Tuesday 10 December 2002 02:27 pm, Chris Burkert wrote:
> But I'm confused by the SARBuilder. Let's say I've got a Changeset
> in the Image. How do I build a well formed .sar from that 

At the simplest,

(SARChangeSetDumper on: 'MyChangeSet') fileOutAsZipNamed: 
'MyProject.sar'

Or you could use the context menu choice in the change sorter that 
says "file out as .sar/.zip".

should do it.
see also SARChangeSetDumper class>>example1

> and how
> do I integrate it in Squeakmap from Squeak inside (I don't want to
> use the webinterface unless I have to)?

I don't know. Have you looked at the SM interface?

>  In this process I don't
> want to build any file (.cs) except the .sar!

Don't worry. SARBuilder only builds one file -- the SAR, just as 
SARInstaller doesn't extract any files unless told explicitly to in 
the preamble.

> What's the Difference for those Classes and what is the right class
> for .sar zip's ?
> SARDumper
Abstract class.

> SARChangeSetDumper
For dumping change sets to SARs possibly along with other files and/or 
change sets

> SARPackageDumper
For dumping DVS packages possibly along with other packages, files 
and/or change sets

> Please give me a short tutorial of building a .sar and publish it
> on the Swiki. Maybe like the Howto at
> http://minnow.cc.gatech.edu/squeak/2931

I'm working on one; thanks for reminding me!

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list