jv_smallsense.st
changeset 34 5be71b1d52ec
parent 33 34c0ccc191aa
child 39 748389119d0a
--- a/jv_smallsense.st	Tue Jul 23 20:49:19 2013 +0100
+++ b/jv_smallsense.st	Wed Jul 24 10:54:18 2013 +0100
@@ -7,11 +7,6 @@
 	category:'* Projects & Packages *'
 !
 
-!jv_smallsense class methodsFor:'documentation'!
-
-extensionsVersion_SVN
-    ^ '$Id:: extensions.st 7983 2012-04-19 08:02:50Z vranyj1                                                                        $'
-! !
 
 !jv_smallsense class methodsFor:'description'!
 
@@ -23,6 +18,30 @@
     )
 !
 
+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)"
+
+    ^ #(
+        #'stx:goodies/refactoryBrowser/helpers'    "BrowserEnvironment - superclass of SmallSenseUnacceptedMethodEnvironment "
+        #'stx:goodies/refactoryBrowser/lint'    "RBLintRule - extended "
+        #'stx:goodies/roeltyper'    "TypeCollector - superclass of SmallSenseTypeCollector "
+        #'stx:goodies/sunit'    "TestAsserter - superclass of SmallSenseTestCase "
+        #'stx:libbasic'    "Autoload - superclass of SmallSenseBaseTestClass "
+        #'stx:libbasic2'    "CacheDictionary - superclass of SmallSenseTypeCollectorCache "
+        #'stx:libcomp'    "AbstractSyntaxHighlighter - superclass of SmallSenseAbstractInstvarInterfaceExtractor "
+        #'stx:libhtml'    "HTMLDocumentFrame - extended "
+        #'stx:libtool'    "AbstractSettingsApplication - superclass of SmallSenseSettingsAppl "
+        #'stx:libview'    "DeviceGraphicsContext - extended "
+        #'stx:libview2'    "ApplicationModel - superclass of SmallSenseCompletionWindow "
+        #'stx:libwidg2'    "HierarchicalItem - superclass of SmallSenseClassPO "
+    )
+!
+
 preRequisites
     "list all required packages.
      This list can be maintained manually or (better) generated and
@@ -47,6 +66,29 @@
         #'stx:libwidg'
         #'stx:libwidg2'    "HierarchicalItem - superclass of SmallSenseParseNodeInspector::ParseNodeItem "
     )
+!
+
+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:libbasic3'    "ChangeSet - referenced by RBTransformationRule>>fixes: "
+    )
+!
+
+subProjects
+    "list packages which are known as subprojects.
+     The generated makefile will enter those and make there as well.
+     However: they are not forced to be loaded when a package is loaded;
+     for those, redefine requiredPrerequisites"
+
+    ^ #(
+    )
 ! !
 
 !jv_smallsense class methodsFor:'description - contents'!
@@ -59,50 +101,48 @@
 
     ^ #(
         "<className> or (<className> attributes...) in load order"
-        SmallSenseParseNodeVisitor
+        (SmallSenseBaseTestClass autoload)
+        SmallSenseChecker
+        SmallSenseCompletionWindow
+        SmallSenseCriticsWindow
+        (SmallSenseFinderTests autoload)
         SmallSenseInfo
-        (SmallSenseBaseTestClass autoload)
-        SmallSenseFinder
-        (SmallSenseFinderTests autoload)
+        SmallSenseManager
+        SmallSensePO
+        SmallSenseParseNodeInspector
+        SmallSenseParseNodeVisitor
         SmallSenseParser
         (SmallSenseParserTests autoload)
+        SmallSensePosition
+        SmallSenseQuickFixer
         SmallSenseRecognizer
         (SmallSenseRecognizerTests autoload)
-        SmallSenseResultItem
         SmallSenseResultSet
         SmallSenseSelectorNode
         SmallSenseService
+        SmallSenseSettingsAppl
         (SmallSenseTestCase autoload)
+        SmallSenseType
         SmallSenseTypeCollector
         SmallSenseTypeCollectorCache
+        SmallSenseTypeHolder
+        SmallSenseUnacceptedMethodEnvironment
         #'jv_smallsense'
         SmallSenseAbstractInstvarInterfaceExtractor
-        SmallSenseClass
-        SmallSenseConstant
-        SmallSenseMethod
-        SmallSenseSnippet
-        SmallSenseVariable
-        SmallSenseInstvarInterfaceExtractor
-        SmallSenseParseNodeInspector
-        SmallSensePosition
-        SmallSenseType
+        SmallSenseClassInfo
+        SmallSenseClassPO
+        SmallSenseClassType
+        SmallSenseConstantPO
+        SmallSenseFinder
         SmallSenseInferencer
-        SmallSenseClassInfo
-        SmallSenseManager
         SmallSenseMethodInfo
-        SmallSenseTypeHolder
-        SmallSenseClassType
+        SmallSenseMethodPO
+        SmallSenseSnippetPO
         SmallSenseUnionType
         SmallSenseUnknownType
-        SmallSenseCompletionWindow
-        SmallSenseCriticsWindow
-        SmallSenseUnacceptedMethodEnvironment
-        SmallSenseQuickFixer
-        SmallSenseSettingsAppl
-        SmallSenseChecker
+        SmallSenseVariablePO
+        SmallSenseInstvarInterfaceExtractor
     )
-
-    "Modified: / 26-02-2013 / 12:35:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 extensionMethodNames
@@ -135,8 +175,6 @@
         UserPreferences smallSenseBackgroundTypingEnabled:
         HTMLDocumentView doQuickFix:
     )
-
-    "Modified: / 26-02-2013 / 12:30:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !jv_smallsense class methodsFor:'description - project information'!