Tuesday, June 28, 2011

My Pharo image

Backup of my preferences:
Gofer it
   squeaksource: 'MetacelloRepository';
   package: 'ConfigurationOfPhexample';
   package: 'ConfigurationOfAutotest';
   squeaksource: 'TilingWindowManager';
   package: 'ConfigurationOfTilingWindowManager';
   load.
 
(Smalltalk at:#ConfigurationOfTilingWindowManager) perform: #loadDevelopment.
(Smalltalk at:#ConfigurationOfPhexample) load.
((Smalltalk at:#ConfigurationOfAutotest) project version: #development) load: 'OB'.

(Smalltalk at:#TWMUITheme) beCurrent. 
TaskbarMorph  showTaskbar: false.
TasklistMorph keepOpen: true.
(Smalltalk at:#TWMBar) perform: #showTWMBar: with: true.
(Smalltalk at: #AutotestDashboard) perform: #showAutotestDashboard: with: true.

8 comments:

  1. You should add

    package: 'ConfigurationOfAutotest'

    Also - when I ran that in a fresh Pharo 1.3 image - I get:

    'Could not resolve: OB-Standard [OB-Standard-lr.541] in /Users/johnnyt/Desktop/Pharo1.3.app/Contents/Resources/package-cache http://www.squeaksource.com/PharoOB'

    ReplyDelete
  2. Hi Johnny,

    First I've updated the script :)

    Second ConfigurationOfAutotest is already loaded by the build server.

    Finally I don't have the problem using latest Pharo OneClick https://pharo-ic.lille.inria.fr/hudson/job/Pharo%201.3/lastSuccessfulBuild/artifact/PharoOneClick1.3.zip

    Which image have you used ?

    ReplyDelete
  3. Awesome - that worked! I was using the wrong base image (not the one click). Also - one more change - there is an extra true on the end of the next to last line.

    Thanks again!

    ReplyDelete
  4. Cool. Thanks for checking the script.

    ReplyDelete
  5. Ops, wrong post...

    Now...Great! I love it :P

    Greetings.

    ReplyDelete
  6. Hi,
    can you elaborate a bit WHEN and HOW to use a script like this? Whenever you start with a new image? How often do you usually get a new image?
    Can you explain how to run the script on MacOSX?
    I found some information on the collaborActive book (http://book.pharo-project.org/book/Tidbits/CustomizingPharo/PharoRC/?_s=qa6gH4bqYm-poZVc&_k=YEX_Sf6soXkMu2Sz&_n&64) - but it didn’t help me much..

    Thank you,
    Helene

    ReplyDelete
  7. Whenever I start with a new image, I just copy it into a workspace and Do It.

    ReplyDelete