Monticello and Squeaksource+Seaside = Load silently the last version of a package ?

Frederic Pluquet fpluquet at ulb.ac.be
Thu Nov 29 11:19:32 UTC 2007


Thanks !
Fréd

2007/11/29, Edgar J. De Cleene <edgardec2001 at yahoo.com.ar>:
>
>
>
>
> El 11/29/07 5:26 AM, "Frederic Pluquet" <fpluquet at ulb.ac.be> escribió:
>
> > Hello,
> >
> > Somebody knows how to load the last version of a package from
> Squeaksource
> > without using the UI of Monticello, but executing only some lines of
> Smalltalk
> > code ?
> >
> > The code must do something like (giving a package name) :
> > - Check if a newer version exists on Squeaksource
> > - In this case, load the last version of package in the current image
> >
> > The idea is to load the last version of a seaside application (from
> > Squeaksource) without stopping the server (clicking a button in my
> seaside
> > application).
> >
> >
> > Fréd
> >
> > --
> > Frédéric Pluquet
> > Université Libre de Bruxelles (ULB)
> > Assistant
>
> In 3.10 we use this
>
> | repository versionName lastVersion |
> repository := MCHttpRepository
>                 location: 'http://www.squeaksource.com/universes'
>                 user: ''
>                 password: ''.
> versionName := repository readableFileNames first.
> lastVersion := repository versionFromFileNamed: versionName.
> lastVersion workingCopy repositoryGroup addRepository: repository.
> lastVersion load
>
> You need replace the last of path "universes" with your package name.
>
> Edgar
>
>
>
>


-- 
Frédéric Pluquet
Université Libre de Bruxelles (ULB)
Assistant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20071129/640bf121/attachment.htm


More information about the Squeak-dev mailing list