--- a/CodeGeneratorTool.st Tue Dec 09 15:02:19 2008 +0100
+++ b/CodeGeneratorTool.st Tue Dec 09 15:03:59 2008 +0100
@@ -668,7 +668,7 @@
fn notNil ifTrue:[
fn := fn asFilename.
fn exists ifTrue:[
- ^ fn contents asString.
+ ^ fn contentsAsString.
].
].
^ ' COPYRIGHT (c) %1 by >>yourCompany<<
@@ -684,6 +684,8 @@
!
copyrightTemplate:aString
+ "set the COPYRIGHT_TEMPLATE_FILE"
+
CopyrightTemplate := aString.
! !
@@ -1857,7 +1859,7 @@
fn notNil ifTrue:[
fn := fn asFilename.
fn exists ifTrue:[
- copyRightText := fn contents asString.
+ copyRightText := fn contentsAsString.
self createCopyrightMethodFor:copyRightText for:aClass
]
].
@@ -2459,5 +2461,5 @@
!CodeGeneratorTool class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.57 2008-10-18 11:52:12 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.58 2008-12-09 14:03:59 cg Exp $'
! !