[ANN] SWT 0.6 released

Torsten.Bergmann at phaidros.com Torsten.Bergmann at phaidros.com
Tue Aug 28 12:49:34 UTC 2001


>I've had no luck doing anything with these images- what am I missing here?


A short intro to the Squeak world tour image:

Start the SWTDev0_6.image with the VM. It already contains the repository
code so you 
dont have to use the code in the "Squeak Worldtour Bootstrap" workspace to
bootstrap the 
repository. Seems like this is the only difference to SWTBase0_6.image. 

The second workspace "SWT code configurations" is able to build so called
"Build lists"
from a repository URL and file it in. An example:

	url := (RepositoryUrl fromString:
'repos://SqueakBase/SUnitConfig/0.2').
	url resolve build.
	url := (RepositoryUrl fromString:
'repos://SqueakBase/BaseTests/0.2').
	url resolve build

will load the SUnit-Configuration and all the basic s-unit tests into the
image.
Now you are able to open the "S-Unit test runner" in the "open" menu.

Use 
	url := (RepositoryUrl fromString:
'repos://SqueakBase/RepositoryConfig/0.3').
	url resolve build

to get the repository configuration.
This allows you to open the repository browser by evaluating
"RepositoryBrowser open".
This browser allows you to view the contents of the repository as well as
the creation
of new repositories and entities.

If you need the refactoring browser use:

	url := (RepositoryUrl fromString:
'repos://SqueakBase/RefactorAndLintTestConfig/0.2').
	url resolve build

After that you are able to open the refactoring browser in the "open menu".

You can also file in single repository entities, an example:

	|pathSpec pathStream path|
	pathSpec := #('SqueakBase' 'LedMorphs' '0.2').	
	pathStream := WriteStream on: String new.
	pathStream nextPutAll: FileDirectory default pathName;
			  nextPut: FileDirectory pathNameDelimiter.
	pathSpec do: [:eachPathElement |
		pathStream  nextPutAll: eachPathElement.
		pathStream nextPut: FileDirectory pathNameDelimiter	
	].
	path := pathStream reset; next: (pathStream size - 1).
	FileStream fileIn: path

This will load class LedMorph into your image.

Keep on talking small
Torsten




Bye
Torsten









More information about the Squeak-dev mailing list