stx_libbasic3.st
branchjv
changeset 3126 d6be49d743b4
parent 3125 08d6603c4fe9
child 3128 87750af738dc
--- a/stx_libbasic3.st	Tue Mar 12 10:31:15 2013 +0000
+++ b/stx_libbasic3.st	Fri Mar 15 14:06:47 2013 +0000
@@ -63,6 +63,21 @@
     )
 !
 
+mandatoryPreRequisites
+    "list all required mandatory packages.
+     Packages are mandatory, if they contain superclasses of the package's classes
+     or classes which are extended by this package.
+     This list can be maintained manually or (better) generated and
+     updated by scanning the superclass hierarchies
+     (the browser has a menu function for that)
+     However, often too much is found, and you may want to explicitely
+     exclude individual packages in the #excludedFromPreRequisites method."
+
+    ^ #(
+        #'stx:libbasic'    "SequenceableCollection - superclass of TraceBuffer "
+    )
+!
+
 preRequisites
     "list all required packages.
      This list can be maintained manually or (better) generated and
@@ -77,6 +92,21 @@
         #'stx:libdb/libodbc'
         #'stx:libdb/libsqlite'    "SqliteError - referenced by DataBaseSourceCodeManager class>>openSQLite: "
     )
+!
+
+referencedPreRequisites
+    "list all packages containing classes referenced by the packages's members.
+     This list can be maintained manually or (better) generated and
+     updated by looking for global variable accesses
+     (the browser has a menu function for that)
+     However, often too much is found, and you may want to explicitely
+     exclude individual packages in the #excludedFromPreRequisites method."
+
+    ^ #(
+        #'stx:libbasic2'    "HTMLUtilities - referenced by HTMLDocGenerator>>withSpecialHTMLCharactersEscaped: "
+        #'stx:libdb/libodbc'    "SQL::ODBCSession - referenced by StoreSourceCodeManager class>>tryToConnectToDatabase: "
+        #'stx:libdb/libsqlite'    "SqliteError - referenced by DataBaseSourceCodeManager class>>openSQLite: "
+    )
 ! !
 
 !stx_libbasic3 class methodsFor:'description - compilation'!
@@ -189,6 +219,7 @@
         UserPreferences managerPerMatchingModuleDefinitions
         UserPreferences managerPerMatchingModuleDefinitions:
         'ConfigurableFeatures class' hasProjectChecker
+        CompiledCode setTracelog
     )
 ! !