You are currently browsing the monthly archive for May 2010.

Me and MaulOnce the GemTools 1.0-beta.6 configuration was released, James Foster took a Pharo 1.0 one-click image and transformed it into a GemTools 1.0-beta.6 one-click(zip) for OS X, Linux and Windows.

The one-click image is available on the GLASS downloads page.

Photo by http://www.flickr.com/photos/cogdog/2313353249/ / CC BY 2.0

SSGN-OHIO_launch_Tomahawk-01Pier version 1.2.1.4 fixes a couple of GemStone portability issues.

To install or upgrade in GLASS 1.0-beta.8 evaluate the following expression in a GemTools workspace:

MCPlatformSupport commitOnAlmostOutOfMemoryDuring: [
	[	Gofer project load: 'Seaside28' version: '2.8.4.6'.
		Gofer project load: 'Magritte' version: '1.2.1.4'.
		Gofer project load: 'Pier' version: '1.2.1.4' ]
	on: Warning
	do: [:ex |
		Transcript cr; show: ex description.
		ex resume ]].

I recommend that you specify explicit versions when you load, because the default version of intermediate projects may not be exactly what you expect. By explicitly loading a version you will have fewer surprises.

Note also that I’ve wrapped the standard Gofer project load messages with a handler for Warnings that dumps the  warning message to the Transcript and then resumes execution. The #commitOnAlmostOutOfMemoryDuring: method will do just that … it creates and enables an AmostOutOfMemory signal handler that performs a commit when you are almost out of memory – quite convenient for any operation that might run out of memory on you.

Photo by http://www.flickr.com/photos/mateus27_24-25/2168015333/ / CC BY-NC 2.0

Bell Buoy CrabsThe first fruits of the GLASS 1.0-beta.8 release: Seaside 2.8.4.6 is available for GLASS, Pharo and Squeak.

After snapping off GLASS 1.0-beta.9 for development this morning, I got right to work porting the absolute latest Seaside 2.8 release to GemStone and since there was new Seaside 2.8 code for Pharo and Squeak, I updated the ConfigurationOfSeaside28 for all three platforms.

To install or upgrade in GLASS 1.0-beta.8 evaluate the following expression in a GemTools workspace:

Gofer project load: 'Seaside28' version: '2.8.4.6'.

Now that the configurations for the GLASS code base are broken up into smaller pieces it is very easy for me (or anyone else) to make incremental releases.

In producing this release it should be noted that I released a new version of ConfigurationOfGsCore (version 0.240) without having to release a new ConfigurationOfGLASS. When ConfigurationOf28 the new version of ConfigurationOfGsCore is automatically loaded.

I will be providing detailed development steps shortly, so that other developers can get into the game.

Photo by http://www.flickr.com/photos/curtisperry/122790934/ / CC BY-NC-ND 2.0

open sign...I know, I know, the paint is not even dry on GLASS 1.0-beta.8 and I’m opening GLASS 1.0-beta.9 for development? Well, of course!

There are nearly a dozen bugs that are targeted for fixing in 1.0-beta.9, so we need a place to stash the bugfixes and with Metacello, that means opening a version for development.

In addition to GLASS version 1.0-beta.9, I’ve  created development versions for each of the fundamental projects managed in ConfigurationOfGLASS:

  • ConfigurationOfGsCore version 0.240
  • ConfigurationOfGsMisc version 0.237
  • ConfigurationOfMonticello version 0.238
  • ConfigurationOfGsOB version 0.239

I am hoping that other developers will eventually start contributing bugfixes to the GLASS project and opening the development versions is the first step. Over the coming weeks I will provide more information about the GLASS development process, but if you are hot to get started, drop me a line and I’ll let you know what I’m thinking.

Photo by http://www.flickr.com/photos/sashafatcat/3007623878/ / CC 2.0

Vaporized[1]

With GLASS 1.0-beta.8. I am finally providing an upgrade path for GLASS.230-dkh.231, the GLASS Appliance 1.0beta11 (GLASS.230-dkh.164), and GemStone/S 64 2.3.1.

FINALLY!

There are a number of changes that take effect with the 1.0-beta.8 release (part of the reason that the release has taken so long):

There are outstanding tasks that need to be completed before the entire 1.0-beta.8 release process is complete and you should keep an eye on the 1.0-beta.8 Release tasks for monitoring progress towards completion. Here is a list of the major milestones that are pending:

With all of that said, 1.0-beta.8 is ready to be used:

So have at it and let me know if you have problems.

1.0-beta.8 Upgrade Instructions

If you have an existing instance of GLASS including:

Upgrade your installation by following these steps:

  1. Create a GemTools client image (Steps 3 through 8 on the Getting started with GLASS page) based upon Pharo or Squeak
  2. Make a backup of your starting extent (Step 9 on the Getting started with GLASS page)
  3. Update GLASS to 1.0-beta.8 (Steps 10 and 11 on the Getting started with GLASS page)

If you have upgraded from a version earlier than 1.0-beta.0, then you are done! The upgrade for optional projects was performed as part of the GLASS update.

If you are upgrading from 1.0-beta.0 or later, then you are not quite done with the upgrade process.

Upgrade Optional Projects for 1.0-beta.0 and later

The 1.0-beta.8 GLASS configuration no longer manages all of the GLASS projects directly. Only a handful of fundamental GLASS projects are being managed. To finish the upgrade process you will need to individually upgrade the optional projects like Seaside28Seaside30 or SOAP.

For post 1.0-beta.0 upgrades, you should pick and choose from the projects and load only those projects that you are using or want in your repository.

The implication of having optional projects is that the fundamental GLASS projects and the optional projects can now be upgraded independently, so monolithic releases are no longer necessary.

http://seaside.gemstone.com/ss/MetacelloRepository

The MetacelloRepository on GemSource is where the configuration for projects that are known to work in GLASS are stored:

  • ConfigurationOfGLASS
  • ConfigurationOfGofer
  • ConfigurationOfGoferProjectLoader
  • ConfigurationOfGrease
  • ConfigurationOfGsCore
  • ConfigurationOfGsFastCGI
  • ConfigurationOfGsHyper
  • ConfigurationOfGsMisc
  • ConfigurationOfGsMonticello
  • ConfigurationOfGsOB
  • ConfigurationOfGsScaffolding
  • ConfigurationOfGsSeasideTesting28
  • ConfigurationOfGsSOAP
  • ConfigurationOfGsSqueakSource
  • ConfigurationOfMagritte
  • ConfigurationOfMetacello
  • ConfigurationOfPier
  • ConfigurationOfPierAddOns
  • ConfigurationOfSeaside
  • ConfigurationOfSeaside28
  • ConfigurationOfSeaside28Examples
  • ConfigurationOfSeaside30
  • ConfigurationOfSwazoo2
  • ConfigurationOfXMLSupport

Any one of the above configurations can be loaded on top of GLASS 1.0-beta.8.

Using Gofer one can load the latest version of Magritte using the following expressions:

Gofer new
	gemsource: 'MetacelloRepository';
	package: 'ConfigurationOfMagritte';
	load.
(Smalltalk at:#ConfigurationOfMagritte) project latestVersion load.

Even though Gofer drastically reduces the complexity of the load expressions involving Monticello, there is still room for improvement when loading configurations and that’s where Gofer Project Loader comes into play.

Using Gofer Project Loader the following expression is equivalent to the previous Gofer expression:

Gofer project load: 'Magritte'.

With Gofer Project Loader you can specify a default repository (for GLASS: http://seaside.gemstone.com/ss/MetacelloRepository). Gofer Project Loader is also aware of the ‘ConfigurationOf’ convention, so it isn’t necessary to type the leading ‘ConfigurationOf’.

The Gofer Project Loader expression:

Gofer project load: 'Magritte' version: '1.2.1.4'.

loads version ‘1.2.1.4’ from ConfigurationOfMagritte and:

Gofer project
    load: 'Magritte' 
    version: '1.2.1.4' 
    group: 'Magritte-Seaside'.

loads the ‘Magritte-Seaside’ package (along with the dependent packages of ‘Magritte-Seaside’) from version ‘1.2.1.4’ of ConfigurationOfMagritte.

The following Gofer expression is useful if you would like to just load the ConfigurationOfMagritte without loading the Magritte project itself:

Gofer new
	gemsource: 'MetacelloRepository';
	package: 'ConfigurationOfMagritte';
	load.

It should be obvious by now that it will be worthwhile spending some time learning about Metacello (take the Metacello Tutorial), Gofer and Gofer Project Loader. I think you will find Metacello it very useful to build a Metacello configuration to manage the packages in your own project.


http://www.flickr.com/photos/markkelley/ / CC BY-NC-ND 2.0

[1]

GemTools 1.0-beta.6 is a prerequisite for GLASS 1.0-beta.8.

GemTools 1.0-beta.6 features:

  • fixed highlighting for class definition/creation template
  • enabled syntax highlighting in workspaces
  • double click includes leading $_. In package GemTools-Overrides that is not loaded by default, because it stomps on a method in Character.
  • GsOBColumnPanel>>currentNode sends #currentNode to server-side, fixing a couple of ancient bugs
  • reset GLASS version after doing a Server update
  • exclude #baseline versions from update glass client version list
  • add proportional splitters to inspectors (resize panes vertically)
  • Use Help System instead of ProfStef
  • fix Issue 54 “Typos and unclear instructions in GemTools ProfStef tutorial”
  • add ”Admin>>Doit…>>Version Report” menu item (included in bug report template) that shows versions of all installed configs
  • add toggle ”Admin>>Commit on Almost Out of Memory” command
  • upgrade path from 0.231, 0.232.2 and 1.0-beta.0 through 1.0-beta.7 to 1.0-beta.8

The Terse Guide to the (new) GLASS Tools has been transferred (and updated) to the glassdb wiki see the GemTools Launcher Guide page.

For GemTools  installation instructions see the Getting started with GLASS page (steps 3 through 6).

For GemTools update instructions see the Update GemTools Launcher page.

GemTools Client 1.0-beta.6 has been tested with:

  • Pharo 1.0
  • Squeak 4.1

Let me know if you run into problems.

—–
http://www.flickr.com/photos/35669523@N04/3310187686 / CC BY-NC-ND 2.0

PerfectionDaniel Lyons writes about his initial experiences with Smalltalk:

Smalltalk seems like a good environment for learning better OO design, but it makes you wish Java or whatever you’re using were as fast, easy and simple.

Thanks to Randal Schwartz for the pointer.

Photo by http://www.flickr.com/photos/jjjohn/2387534678 / CC BY-NC-ND 2.0

Nowhere Train (or Train to Atlantis)Sergio Ruiz, a relative newcomer to Smalltalk and Seaside writes about his reasons for becoming a Seaside devotee:

I am a seaside believer. It’s not that i dislike Rails or have turned my back on it, seaside just seems more natural to me now. I still really love the Ruby language, and (especially the documentation), but I think I have found a favorite framework for awhile

Photo by http://www.flickr.com/photos/innoxiuss/ / CC BY-NC 2.0

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 446 other subscribers

Categories

RSS GLASS updates

  • An error has occurred; the feed is probably down. Try again later.

RSS Metacello Updates

  • An error has occurred; the feed is probably down. Try again later.

RSS Twitterings

  • An error has occurred; the feed is probably down. Try again later.
May 2010
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31