logo       

SMDVSInstaller: msg#01055

lang.smalltalk.squeak.general

Subject: SMDVSInstaller

On Tue, 29 Oct 2002, Avi Bryant wrote:

>
> On Tue, 29 Oct 2002 goran.hultgren@xxxxxxxxxxx wrote:
>
> > > (I don't necessarily recommend updating through SqueakMap, though - better
> > > would be to file it in clean to a new image. Need to get that
> > > SMDVSInstaller going...)

Ok, attached is an SMDVSInstaller. It's very minimal, but if you have
DVS, SqueakMap and Seaside 2.02 installed, you should be able to:

- file in SM-DVS.st
- open the SMLoader
- find Seaside (now at version 2.03), right click and choose "install"

DVS will look for differences between the version of Seaside you have in
your image and the version currently posted on SqueakMap, and will
generate and fileIn a changeset with those differences (beware - this
means that any classes you've added to the Seaside categories will
disappear). In other words, it won't just file over your current version,
but will bring it precisely in sync with what's on SqueakMap.

This fileOut also includes the change to
SMInstaller class>>classForPackage: from my previous email.

Daniel - I had to ignore the #upgrade method on SMInstaller, because
SMLoader only supports #install. Perhaps it should call #upgrade if
there's an existing version in the image? Not that it mattered in this
case (I can just check for an existing DVS package myself), but it might
in others.

Cheers,
Avi

Attachment: SM-DVS.st
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise