[squeak-dev] The Trunk: MonticelloConfigurations-ul.65.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Dec 10 11:04:11 UTC 2009


Levente Uzonyi uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-ul.65.mcz

==================== Summary ====================

Name: MonticelloConfigurations-ul.65
Author: ul
Time: 10 December 2009, 11:59:03 am
UUID: f3cbd219-9c1f-114f-a9f4-4d91dbd52d7a
Ancestors: MonticelloConfigurations-nice.64

- enh: make sure that different images in the same directory can update simultaneously by adding the image name to the log file name

=============== Diff against MonticelloConfigurations-nice.64 ===============

Item was added:
+ ----- Method: MCConfiguration>>logFileName (in category 'accessing') -----
+ logFileName
+ 
+ 	^self name, '-', (FileDirectory localNameFor: SmalltalkImage current imageName), '.log'
+ 	!

Item was changed:
  ----- Method: MCConfiguration>>log (in category 'accessing') -----
  log
  	"Answer the receiver's log. If no log exist use the default log"
+ 	
+ 	^log ifNil: [
+ 		(name notNil and: [ self class logToFile ]) ifFalse: [ ^Transcript ].
+ 		self log: (FileStream fileNamed: self logFileName).
+ 		log ]!
- 	log ifNil: [
- 		(name notNil and:[self class logToFile]) ifFalse:[^Transcript].
- 		self log: (FileStream fileNamed: self name, '.log').
- 	].
- 	^log!




More information about the Squeak-dev mailing list