CodeGeneratorTool.st
changeset 14425 47fb1e0c33a9
parent 13817 92a5c6e81647
child 14701 a10c86eb7b9c
--- a/CodeGeneratorTool.st	Sat May 24 19:34:39 2014 +0200
+++ b/CodeGeneratorTool.st	Tue May 27 10:22:42 2014 +0200
@@ -363,7 +363,7 @@
     "return the contents of COPYRIGHT_TEMPLATE_FILE resources
      or a standard template"
 
-    |fn|
+    |fn copyrightHolder|
 
     CopyrightTemplate notNil ifTrue:[^ CopyrightTemplate].
 
@@ -374,7 +374,13 @@
             ^ fn contentsAsString.
         ].
     ].
-    ^ ' COPYRIGHT (c) %1 by >>yourCompany<<
+    (OperatingSystem getDomainName endsWith:'exept.de') ifTrue:[
+        copyrightHolder := 'eXept Sofware AG'.
+    ] ifFalse:[
+        copyrightHolder := '>>your company<<'.
+    ].
+
+    ^ ' COPYRIGHT (c) %1 by %2
               All Rights Reserved
 
  This software is furnished under a license and may be used
@@ -382,8 +388,7 @@
  inclusion of the above copyright notice.   This software may not
  be provided or otherwise made available to, or used by, any
  other person.  No title to or ownership of the software is
- hereby transferred.
-'.
+ hereby transferred.' bindWith:'%1' with:copyrightHolder.
 !
 
 copyrightTemplate:aString
@@ -1756,10 +1761,10 @@
 !CodeGeneratorTool class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.105 2014-02-05 18:57:05 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.106 2014-05-27 08:22:42 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.105 2014-02-05 18:57:05 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/CodeGeneratorTool.st,v 1.106 2014-05-27 08:22:42 stefan Exp $'
 ! !