[ANN] VMMaker metacello config for Squeak and Pharo

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

[ANN] VMMaker metacello config for Squeak and Pharo

Torsten Bergmann
Hi, (crosspost vm-dev, squeak-dev, pharo-dev)

with more and more Metacello configurations for various well known Squeak and Pharo
packages appearing in the metacello repository [1] I thought it would be a good
idea to have one for VMMaker. It is based on a description by David (see [2]) and maybe he is able to help me keeping it maintained.

Since Metacello is Smalltalk independent and therefore able to handle differences
between the deployment systems the new 'ConfigurationOfVMMaker' includes two platform
spec's - one for #pharo and one #squeak. (Pharo has FreeType preinstalled, and
Squeak not).

Unfortunately the Balloon3D stuff needs a little bit more cleaning (underscores,
assigns to block args). Maybe Andreas is able to fix this. Until then one has
to switch a preference in Pharo.

However: it should be easy now to load and use VMMaker in both:


  In Squeak 3.11 #9236
  ====================

     Installer ss project: 'MetacelloRepository';
        install: 'ConfigurationOfVMMaker'.

     ((Smalltalk at: #ConfigurationOfVMMaker) project version: '1.0') load


  In Pharo (core or dev) evaluate:
  ================================
   
     Preferences setPreference: #allowBlockArgumentAssignment toValue: true.

     Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfVMMaker';
        load.


     ((Smalltalk at: #ConfigurationOfVMMaker) project version: '1.0') load


Feel free to have a look or use it to build shiny new VM's for the next interesting
devices. For more infos on Metacello see [3] and [4].

Bye
T.

------------------------------------------------------------------------------------

[1] http://squeaksource.com/MetacelloRepository.html
[2] http://n4.nabble.com/Package-name-SharedPool-Speech-SharedPool-FFI-etc-td1299897.html
[3] http://code.google.com/p/metacello/
[4] http://gemstonesoup.wordpress.com/2010/01/25/metacello-1-0-beta22-launches/

--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] VMMaker metacello config for Squeak and Pharo

David T. Lewis
On Fri, Feb 05, 2010 at 04:55:34PM +0100, Torsten Bergmann wrote:

> Hi, (crosspost vm-dev, squeak-dev, pharo-dev)
>
> with more and more Metacello configurations for various well known Squeak and Pharo
> packages appearing in the metacello repository [1] I thought it would be a good
> idea to have one for VMMaker. It is based on a description by David (see [2])
> and maybe he is able to help me keeping it maintained.
>
> Since Metacello is Smalltalk independent and therefore able to handle differences
> between the deployment systems the new 'ConfigurationOfVMMaker' includes two platform
> spec's - one for #pharo and one #squeak. (Pharo has FreeType preinstalled, and
> Squeak not).

Wonderful! Thank you so much for doing this.

I guess this means it's time for me to learn how to use Metacello ;-)

Dave


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] VMMaker metacello config for Squeak and Pharo

Torsten Bergmann
In reply to this post by Torsten Bergmann
Andreas Raab wrote:
>Let's be a bit careful before jumping heads-on into the Metacello
>frenzy.

Somehow I knew before that you will respond like this ... ;)

>I don't mind if people choose to use Metacello to load VMMaker
>but it shouldn't be the only option.

Hey - Metacello is "just" a package management tool for Monticello using
descriptions of the dependencies and the versions that fit together.
Anything I did was to create such a configuration.

Nobody forces you or other developers to use Metacello - having
such an (additional) config does not change the way you are working
right now. Use Monticello, SqueakSource, ... as you did before. You can
continue to use build scripts, installers, SqueakMap, Universe,
whatever ... to load VMMaker.

But currently I dont see none of these "loaders" is well maintained (or only
with private scripts), anything I've found was a decription from David (see last mail) on the web. And how often does one ask which packages in which version fit
together to get VMMaker or other Squeak projects to work. Try to rebuild the
SqueakSource server and you know what I'm talking about!

Providing and maintaining a metacello spec is simple and works. And the
interesting thing is that someone (Dale) is actively maintaining this tool
on several Smalltalks - even for Squeak.  

And as Fernando responded on the pharo list:
 "And the ConfigurationOfXXX is allowing a new form of communication , unthinkable
  just a couple of months ago...."

Metacello easily allows to have reproducable builds for projects, applications, images ...
(see http://astares.blogspot.com/2010/01/pharo-10-release-candidate-2-and-image.html)

Someone requires VMMaker in a specific version - just point him to "ConfigurationOfVMMaker" and you are done.  

>Myself for example, I use customarily a variety of images, none of which
>support or are supported by Metacello.

Two things
 - this has nothing to do with Metacello. Your images dont have to have Metacello.
   So it is just an additional configuration, so why will you bother - it will
   not affect the way you worked before

 - it is not the problem of the Squeak community if you use non-Squeak images
   to build VM's. As community we all have to assure that VMMaker and its loading
   (with or without Metacello) is well known and works on standard images and
   the loading and VM building is reproducable by ANYONE!
   Does the term "Truck Factor" ring a bell?  

At least your images seem to be able to use Monticello - so why lament.
You can continue to work as before and if David could invest a minute
to save others from annoying questions about VMMaker loading everything
is in good shape and even free's some time in the long term.

>It would not be good if we require Metacello to load VMMaker.

Is the Linux project in trouble when one create's and publishes a CD with
linux packages that fit together? No! Same applies here. You should really
have a look first before commenting on Metacello...
 
Bye
T.

--
NEU: Mit GMX DSL über 1000,- ¿ sparen!
http://portal.gmx.net/de/go/dsl02