Setting up a Morphic project
Last updated at 3:16 am UTC on 17 February 2018
prior selfStudy next
Note: These instructions were written in 2006, they have been slightly updated. More updates needed.
What we want to do: We want to set up a sandbox to play in for the rest of this self-study course. We will create a Morphic project (more see MorphicProject). In that project, we will place some basic windows:
- a Workspace,
- the Transcript and
- a Browser.
These we will use right away. We will also add the Package Loader, the S-Unit Test Runner and a Bug Fixes Archive Viewer windows (Note: Bug Fixes Archive Viewer is no longer used, go for Monticello instead).
These are for later use, when we become contributing members. We fuss around a lot with the appearance and layout of our project. We're just trying to get comfortable in Squeak. We make sure to save our image with the project so we can get get back in as often as we want. This will give us most of the tools we need to do our work as we do Squeak development.
What you should know before doing this exercise
If you haven't already done so, read the Welcome To window that appears when you open a fresh image.
Also do the following tutorial http://www.phaidros.com/DIGITALIS/englisch/sqk/sqk00013.htm and the next 10 pages. NOTE - this link is broken
- Open a morphic project. Hint:Starting up Morphic
- Change the project title to: "Self-study".
- Enter the Self-stuy project.
- Open the Tools Flap.
- Drag out the Preferences window.
- Select "browsing" at the top of the window.
- Set "browseWithPrettyPrint" and set "colorWhenPrettyPrinting".
- Select "?" at the top of the window.
- Select "Save Current Setting to Disk".
- Close the Preference window.
- Drag out a Browser.
- Find and select the class "Object".
- Select the "->" method.
- Confirm the display is pretty printed with color.
- Position the Browser mid-way down on the right-hand side.
- Drag out a Workspace and change its label to: "Exercises: and position it mid-way down,on the left-side.
- Drag out a Transcript and position it in the lower right-hand corner.
- Close the Tools Flap.
- Open the Package Loader (From World Menu select "open...", then "Package Loader".) Note its full name is SqueakMap Package Loader. Everyone calls it the SM.
- Install "SUnit Preload (3.7) (->3.1)" from the SqueakMap Package Loader(SM)
- Install "SUnit (3.1->3.1-Not Test Runner)" from the SqueakMap (SM)
- Install "TestRunnerEnhancements (->1.9)" from the SqueakMap (SM)
- Open "SUnit Test Runner" (From World Menu select "open...", then "SUnit Test Runner" ) Everyone calls it the Test Runner.)
- Position TestRunner in the lower left-hand corner.
- Collapse the SM.
- Save image as: self-study.image.
- Exit the project.
- Quit Squeak.
Verify you got it
prior selfStudy next
Feedback - Please, update this page with corrections and comments This is a Wiki, so feel free to make corrections/extensions to the instructions above. Also feel make suggestions comments below. The more specific your comments the better.