. .


ST 4U 234: ENVY Config Maps

May 18, 2012 7:02:22.578

Today's Smalltalk 4 You looks at the ENVY config map browser - what each part shows, and how you would use the various aspects. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

Config Maps.

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Today we'll take a brief tour of the Configuration Map browser in VA Smalltalk. For any VA project, it's a tool you'll get very familiar with; it's where you set up all of the loading information for your project. Take a look at the screen capture below:

Config Maps

The list on the left is all of the defined maps in the library. Since your image must be connected to a library to work, this list will grow over time. There are two panes to the right, labeled "Editions and Versions", and "Applications". Any map has a number of versions (anything not versioned will be an open edition - we'll discuss those soon). The list of Applications tells us which Applications make up the config map, and what the load order for them is.

The lower left pane, "Config Expressions" requires some explanation. Generally, you leave this blank, or put in the simple statement "true". However, any Smalltalk expression that answers a boolean could go here. Say you wanted to define a Config Map that should only load on Unix/Linux systems; you might want something like this:

(System respondsTo: #subsystemType:) 
    and: [(System subsystemType: 'CFS') = 'POSIX']

The next pane to the right contains a listing (in order) of any pre-requisite maps - those that need to load before your map can be loaded. One of the nicer things about Envy is that you can edit all of this information without actually loading the map; if you make a mistake that prevents the map from loading, you can some back here and address it.

The last pane on the bottom is for comments - it's often used for license information, or copyright notices. It's free form, and can contain any information you feel is relevant.

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

Technorati Tags: , ,

[st4u234-iPhone.m4v ( Size: 4042512 )]

posted by James Robertson

 Share Tweet This