[Seaside] [DVS] loading new versions doesn't remove old methods

Ned Konz seaside@lists.squeakfoundation.org
Mon, 9 Dec 2002 14:35:32 -0800


On Monday 09 December 2002 02:19 pm, Avi Bryant wrote:

> You need to use the PackagePanel FileIn button instead.  Load is
> meant for bringing in new versions, not updating existing ones.  To
> address your main point of confusion - the .st files are straight
> file outs, it's the way they're filed in that's special.

Ah, thanks.

> Programmatically, I think you'd need to do something like
>
> |current new|
>
> current :=3D ImagePackageLoad new package: (PackageInfo named:
> 'PackageName').
> new :=3D StreamPackageLoader new stream: myFileStream.
> (new changesFromBase: current) fileIn.
>
> Does that help?

Yes; it means that SARBuilder is going to have to change.

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