home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / chapm20.zip / ChapKrnl.cha < prev    next >
Text File  |  1995-06-22  |  4KB  |  139 lines

  1. CHAPMAN
  2. Version: 2.0
  3. Name: 'ChapMan Kernel'
  4. Time: '22.06.95 21.19.05'
  5.  
  6. OrganizationOnly: false
  7.  
  8. SubapplicationNames...: 'System Extensions' 
  9.     'ParcPlace Compatibility' . 
  10. SubapplicationFilenames...: SysExten ParcPCom . 
  11.  
  12. ExtraSymbols...: . 
  13.  
  14. FileName: ChapKrnl
  15.  
  16. Comments: 'This application contained the core ChapMan classes.'
  17.  
  18. 'Init Code:' ''
  19.  
  20. 'Finalize Code:' ''
  21.  
  22. 'Class Template:' <default>
  23.  
  24. 'Method Template:' <default>
  25.  
  26. 'Method Comment Template:' <default>
  27.  
  28. Copyright: <default>
  29.  
  30. LibraryBuilderScripts...: a . 
  31.  
  32. 'LibraryBuilderScript a:' 
  33.     '| sll app apps unresolved |
  34.  
  35. "Set some variables and open an object library with feedback window."
  36. app := ChApplication atName: ''ChapMan Kernel''.
  37. sll := SmalltalkLibraryBuilder new: ''chapm20''.
  38. sll directory: ''''.
  39. sll description: ''a''.
  40. sll windowFeedback.
  41. (apps := OrderedCollection with: app) addAll: app allSubApplications.
  42.  
  43. "Set various options."
  44. sll includeSource: true.
  45. sll sourceSeparate.
  46.  
  47. "Add classes, methods and remap class variables."
  48. apps do: [:eachApp |
  49.     eachApp ownedClasses do: [:eachClass |
  50.         true ifTrue: [
  51.             eachClass classPool associationsDo: [:assoc |
  52.                 sll remap: assoc to: (Association key: assoc key value: nil)]
  53.             ].
  54.         sll addClass: eachClass.
  55.         ]
  56.     ].
  57. apps do: [:eachApp |
  58.     eachApp requiredClasses do: [:eachClass |
  59.         (eachApp methodsForClass: eachClass) do: [:method |
  60.             sll addMethod: (eachClass compiledMethodAt: method)].
  61.         (eachApp methodsForClass: eachClass class) do: [:method |
  62.             sll addMethod: (eachClass class compiledMethodAt: method)].
  63.         ]
  64.     ].
  65.  
  66. "Define Imports."
  67. "E.g.: sll addImport: ClassReader."
  68.  
  69. "Set the initialization method."
  70. "E.g.: sll initMethod: (ChApplication class compiledMethodAt: #initialize)."
  71.  
  72. "Write the library file."
  73. (unresolved := sll collectImports) isEmpty ifFalse: [
  74.     unresolved inspect]
  75. ifTrue: [
  76.     sll writeFile].
  77. sll interestingImports inspect.
  78. '
  79.  
  80. OwnedClasses...: ChAbstractApplication ChApplication 
  81.     ChSystemRootApplication ChUserRootApplication ChChangeItem ChClassDescription 
  82.     ChDefinitionInstaller ChChaFileFormatter ChHistoryItem ChIPFHeading 
  83.     ChSourceManager ChChangeClassReader ChApplicationFileInError . 
  84. RequiredClasses...: . 
  85. 'ChUserRootApplication ClassComments:' 
  86.     '13.04.95 ch Creation. Copyright (c) 1995.
  87. @
  88. Variable description: '
  89.  
  90. 'ChChangeItem ExtraSymbols...:' defineClassInstanceVariables 
  91.     removeClass defineClass chapManVariable savedImage classComment . 
  92.  
  93. 'ChClassDescription ClassComments:' 
  94.     '10.05.95 ch Creation. Copyright (c) 1995.
  95. @
  96. Variable description:'
  97.  
  98. 'ChDefinitionInstaller ClassComments:' 
  99.     'This class plugs in into the definition installer system hook to provide necessary features to ChapMan. It utilizes the #doesNotUnderstand mechanism to allow coexistance with previously installed definition installers, by simply passing all unknown messages to this previously installed definition installer.
  100.  
  101. 13.04.95 ch Creation. Copyright (c) 1995.
  102. @
  103. Variable description:
  104.  
  105. .oldDefinitionInstaller : The definition installer installed before ChapMan installation.'
  106.  
  107. 'ChDefinitionInstaller ExtraSymbols...:' isDeletedClass . 
  108.  
  109. 'ChChaFileFormatter ClassComments:' 
  110.     '22.05.95 ch Creation. Copyright (c) 1995.
  111. @
  112. Variable description: '
  113.  
  114. 'ChHistoryItem ClassComments:' 
  115.     '13.04.95 ch Creation. Copyright (c) 1995.
  116. @
  117. Variable description:'
  118.  
  119. 'ChIPFHeading ClassComments:' 
  120.     '01.06.95 ch Creation. Copyright (c) 1995.
  121. @
  122. Variable description:'
  123.  
  124. 'ChSourceManager ClassComments:' 
  125.     'This class plugs in into the source manager system hook to provide necessary features to ChapMan. It utilizes the #doesNotUnderstand mechanism to allow coexistance with previously installed source managers, by simply passing all unknown messages to the previously installed source manager.
  126.  
  127. 21.04.95 ch Creation. Copyright (c) 1995.
  128. @
  129. Variable description:
  130.  
  131. .oldSourceManager : The source manager which was installed before ChapMan installation.'
  132.  
  133. 'ChSourceManager ExtraSymbols...:' ChMethodBrowser . 
  134.  
  135. 'ChApplicationFileInError ClassComments:' 
  136.     '04.05.95 ch Creation. Copyright (c) 1995.
  137. @
  138. Variable description: '
  139.