Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
authorStefan Vogel <sv@exept.de>
Sat, 09 Mar 2013 00:54:11 +0100
changeset 3117 28b188631dcb
parent 3116 9ddba2316fec
child 3118 e7b6c79e6824
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
stx_libbasic3.st
--- a/stx_libbasic3.st	Fri Mar 08 23:36:47 2013 +0100
+++ b/stx_libbasic3.st	Sat Mar 09 00:54:11 2013 +0100
@@ -42,7 +42,7 @@
 !
 
 extensionsVersion_SVN
-    ^ '$Id: stx_libbasic3.st,v 1.76 2013-01-18 13:03:07 cg Exp $'
+    ^ '$Id: stx_libbasic3.st,v 1.77 2013-03-08 23:54:11 stefan Exp $'
 ! !
 
 !stx_libbasic3 class methodsFor:'description'!
@@ -60,25 +60,37 @@
         #'stx:libview2'    "ValueHolder - referenced by MessageTracer class>>trapModificationsIn:selectors:filter: "
         #'stx:libwidg'    "DialogBox - referenced by SourceCodeManagerUtilities class>>askForExistingRevision:title:class:manager:module:package:fileName: "
         #'stx:libwidg2'    "CheckBox - referenced by SourceCodeManagerUtilities class>>checkAndWarnAboutBadMessagesInClass:checkAgainHolder: "
+        #'stx:libdb/libodbc'    "SQL::ODBCSession - referenced by StoreSourceCodeManager class>>tryToConnectToDatabase: "
+        #'stx:libdb/libsqlite'    "SQLiteConnection - referenced by DataBaseSourceCodeManager class>>openSQLite: "
     )
 !
 
-preRequisites
-    "list all required packages.
+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 and looking for
-     global variable accesses. (the browser has a menu function for that)
-     Howevery, often too much is found, and you may want to explicitely
-     exclude individual packages in the #excludedFromPrerequisites method."
+     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'    "Collection - superclass of MethodChangeNotificationParameter "
-        #'stx:libbasic2'    "Text - referenced by PerforceSourceCodeManager class>>mergeOrResolveConflictsFor: "
-"/        #'stx:libdb/libodbc'    "SQL::ODBCSession - referenced by StoreSourceCodeManager class>>tryToConnectToDatabase: "
-"/        #'stx:libdb/libsqlite'    "SQLiteConnection - referenced by DataBaseSourceCodeManager class>>openSQLite: "
+        #'stx:libbasic'    "Query - superclass of ClassRemoveChange::ClassBeingRemovedQuery "
     )
+!
 
-    "Modified: / 31-07-2012 / 13:47:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+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'    "OrderedDictionary - referenced by ChangeSet>>groupBy:labelAs:sort: "
+    )
 ! !
 
 !stx_libbasic3 class methodsFor:'description - compilation'!
@@ -197,6 +209,13 @@
 
 !stx_libbasic3 class methodsFor:'description - project information'!
 
+applicationIconFileName
+    "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
+
+    ^ nil
+    "/ ^ self applicationName
+!
+
 companyName
     "Return a companyname which will appear in <lib>.rc"
 
@@ -217,6 +236,19 @@
     ^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
 
     "Modified: / 18-07-2012 / 19:11:26 / cg"
+!
+
+productInstallDirBaseName
+    "Returns a default installDir which will appear in <app>.nsi.
+     This is usually not the one you want to keep"
+
+    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
+!
+
+productName
+    "Return a product name which will appear in <lib>.rc"
+
+    ^ 'Smalltalk/X'
 ! !
 
 !stx_libbasic3 class methodsFor:'description - svn'!
@@ -234,19 +266,19 @@
     "Return a SVN revision number of myself.
      This number is updated after a commit"
 
-    ^ "$SVN-Revision:"'1945            '"$"
+    ^ "$SVN-Revision:"'Nicht versioniertes Verzeichnis'"$"
 ! !
 
 !stx_libbasic3 class methodsFor:'others'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic3/stx_libbasic3.st,v 1.76 2013-01-18 13:03:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic3/stx_libbasic3.st,v 1.77 2013-03-08 23:54:11 stefan Exp $'
 ! !
 
 !stx_libbasic3 class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic3/stx_libbasic3.st,v 1.76 2013-01-18 13:03:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic3/stx_libbasic3.st,v 1.77 2013-03-08 23:54:11 stefan Exp $'
 !
 
 version_SVN