installing latest ConfigurationOf

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

installing latest ConfigurationOf

Max Leske
Hi guys

I have the following snippet I use to automatically run Fuel tests in Squeak4.1 to 4.4:

((Smalltalk at: #Installer) fromUrl: 'http://ss3.gemstone.com/ss/Fuel/')
        install: 'ConfigurationOfFuel-MaxLeske.202.mcz'.
(Smalltalk at: #ConfigurationOfFuel) load

As you can see I have to hard code the configuration version. Is there a recommended way to install the latest version (like with Gofer)? Or should I simply load Gofer first?

Cheers,
Max
Reply | Threaded
Open this post in threaded view
|

Re: installing latest ConfigurationOf

Frank Shearar-3
On 19 May 2013 10:03, Max Leske <[hidden email]> wrote:
> Hi guys
>
> I have the following snippet I use to automatically run Fuel tests in Squeak4.1 to 4.4:
>
> ((Smalltalk at: #Installer) fromUrl: 'http://ss3.gemstone.com/ss/Fuel/')
>         install: 'ConfigurationOfFuel-MaxLeske.202.mcz'.
> (Smalltalk at: #ConfigurationOfFuel) load
>
> As you can see I have to hard code the configuration version. Is there a recommended way to install the latest version (like with Gofer)? Or should I simply load Gofer first?

(Smalltalk at: #Installer) ss3
    project: 'Fuel';
    install: 'ConfigurationOfFuel.
(Smalltalk at: #ConfigurationOfFuel) load.

should do the trick.

frank