Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
--- a/stx_libtool2.st Fri Mar 08 23:40:41 2013 +0100
+++ b/stx_libtool2.st Sat Mar 09 00:55:20 2013 +0100
@@ -50,29 +50,46 @@
^ #(
#'stx:clients/Demos' "WindowTreeView - referenced by FlyByWindowInformation>>keyPress:x:y:view: "
#'stx:goodies/webServer' "HTTPServer - referenced by UIPainter>>doInstallAsWebPage "
+ #'exept:httpPortal' "WebApplicationModel - referenced by UIPainter>>canInstallAsWebPage "
+ #'stx:goodies/communication' "HTTPInterface - referenced by ImageEditor>>doLoadFromURL "
)
!
-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' "Autoload - superclass of Tools::NewInspectorPanelView "
- #'stx:libbasic2' "List - referenced by DataSetBuilder>>updateColumnView "
- #'stx:libbasic3' "MethodFinder - referenced by MethodFinderWindow>>search "
- #'stx:libcomp' "ParserFlags - referenced by Tools::ProjectBuilder>>makeWithOutputTo:errorTo: "
- #'stx:libtool' "CodeGeneratorTool - referenced by Tools::ProjectBuilderAssistantApplication>>createNewApplication "
- #'stx:libui' "UISpecification - referenced by UIGalleryView::Palette>>specification: "
- #'stx:libview' "SimpleView - superclass of UIObjectView "
- #'stx:libview2' "ApplicationModel - superclass of UISelectionPanel "
- #'stx:libview3' "LineSegmentMorph - referenced by UIObjectView class>>handlesOf:do: "
- #'stx:libwidg' "ObjectView - superclass of UIPainterView "
- #'stx:libwidg2' "HierarchicalItem - superclass of UIHelpTool::ClassItem "
+ #'stx:libbasic' "Array - superclass of DataSetBuilder::Row "
+ #'stx:libview' "GraphicsContext - superclass of UIGalleryView::Palette "
+ #'stx:libview2' "ResourceSpecEditor - superclass of TabListEditor "
+ #'stx:libwidg' "ListView - superclass of UIPainter::TreeView "
+ #'stx:libwidg2' "HierarchicalItem - superclass of MenuEditor::RegularMenuItem "
+ )
+!
+
+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 Tools::ProjectBuilder>>build "
+ #'stx:libbasic3' "CVSSourceCodeManager - referenced by Tools::ObjectModuleInformation>>showInfoForClassLib: "
+ #'stx:libcomp' "ObjectFileLoader - referenced by Tools::ObjectModuleInformation>>postBuildWith: "
+ #'stx:libhtml' "HTMLDocumentView - referenced by MethodFinderWindow>>openHTMLDocumentation "
+ #'stx:libtool' "SmalltalkCodeGeneratorTool - referenced by MenuEditor>>doGenerateAspectMethods "
+ #'stx:libui' "HorizontalPanelViewSpec - referenced by UIPainterView>>groupSelectionWithLayout: "
+ #'stx:libview3' "LineSegmentMorph - referenced by UIObjectView class>>isHorizontalResizable: "
)
! !
@@ -137,8 +154,6 @@
ResourceSelectionBrowser
UIPainterView
)
-
- "Modified: / 18-10-2010 / 14:20:34 / cg"
!
extensionMethodNames
@@ -151,6 +166,13 @@
!stx_libtool2 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"
@@ -169,6 +191,19 @@
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
"Modified: / 18-07-2012 / 19:11:56 / 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_libtool2 class methodsFor:'documentation'!
@@ -180,3 +215,4 @@
version_CVS
^ '$Header$'
! !
+