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