Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
--- a/stx_libview2.st Fri Mar 08 18:48:59 2013 +0100
+++ b/stx_libview2.st Sat Mar 09 00:55:17 2013 +0100
@@ -42,6 +42,10 @@
!
+extensionsVersion_SVN
+ ^ 'Id:'
+! !
+
!stx_libview2 class methodsFor:'description'!
excludedFromPreRequisites
@@ -49,22 +53,44 @@
preRequisites scan. See #preRequisites for more."
^ #(
+ #'stx:goodies/webServer' "HTTPServer - referenced by ApplicationModel>>initializeWebServiceDevice "
#'exept:httpPortal' "HTTPPortalService - referenced by ApplicationModel class>>startAsWebService:onPort: "
+ #'stx:libwidg' "Label - referenced by ActiveHelpView>>contents: "
+ #'stx:libwidg2' "LabelAndIcon - referenced by MenuItem>>labelImage: "
+ #'stx:libtool' "AboutBox - referenced by ToolApplicationModel>>xxopenAboutThisApplication "
+ #'stx:libtool2' "ImageEditor - referenced by ResourceSpecEditor>>doEditImage "
+ #'stx:libcompat' "TextAttributes - referenced by WindowBuilder>>resolveFont: "
+ #'stx:libhtml' "HTMLDocumentView - referenced by ApplicationModel>>openDocumentationFile: "
)
!
-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' "Dictionary - superclass of PropertyListDictionary "
- #'stx:libbasic2' "RunArray - referenced by MenuItem>>filteredLabel "
- #'stx:libview' "TopView - superclass of ApplicationWindow "
+ #'stx:libbasic' "String - superclass of MIMETypes::MIMEType "
+ #'stx:libview' "PopUpView - superclass of PopUpBanner "
+ )
+!
+
+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' "TextStream - referenced by ApplicationModel>>warn:withArguments: "
+ #'stx:libui' "SpecCollection - referenced by UIBuilder>>add: "
)
! !
@@ -323,6 +349,13 @@
!stx_libview2 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"
@@ -341,15 +374,28 @@
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
"Modified: / 18-07-2012 / 19:12:07 / 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_libview2 class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.63 2013-02-13 23:51:11 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.64 2013-03-08 23:55:17 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.63 2013-02-13 23:51:11 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/libview2/stx_libview2.st,v 1.64 2013-03-08 23:55:17 stefan Exp $'
! !