On Dec 14, 2011, at 6:23 PM, Sean P. DeNigris wrote:
Benjamin Van Ryseghem-2 wrote
So it's really boring (and time consuming) to have to set my preferences to have a nice environment to work with all the time.
I understand that and have the same problem, but solved it in the image with code and Metacello. Mariano has a blog post about it at http://marianopeck.wordpress.com/2011/11/19/loading-projects-and-building-yo.... In fact, the Metacello approach solves the next problem the script will run into, which is that each version of Pharo is a different incompatible platform, so there will have to be a different script for each 1.3, 1.4, 102.16; or create tags, or a script language, or...
But sometimes, we want different script for different version. Use case: integration. When Stef is integrating, paths for scripts are different, and so are repos. The Metacello approach is network dependent. When I download a new image from Jenkins, I do it through a script which save the latest version. So if Jenkins is down (or my internet connection), I can have a fresh image. Another thing is, I won't have to Gofer blabla, I am to lazy (and my memory is too bad for that ^^) ;) Moreover, I had no clue this solution was existing ;) I want it to work out of the box, without thinking (and I am damn good at that ^^) ;) Ben
I am hesitant to add mechanisms outside the image because one of Smalltalk's compelling strengths is its consistency (we don't even have mathematical operator precedence, for ch*st sake :)) and this is one more thing to learn/understand/remember esp. for newbies. Also, maybe this is how Java's XML virus started ;-)
-- View this message in context: http://forum.world.st/Startup-Preferences-tp4129591p4196010.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.