stx_libtool.st
branchjv
changeset 12459 7899fe07efd7
parent 12431 9f0c59c742d5
parent 12446 3f87b6db4d99
child 12517 3a904476a8d2
--- a/stx_libtool.st	Thu Mar 07 11:10:05 2013 +0000
+++ b/stx_libtool.st	Wed Mar 13 01:04:29 2013 +0000
@@ -11,7 +11,7 @@
 "
 "{ Package: 'stx:libtool' }"
 
-LibraryDefinition subclass:#stx_libtool
+LibraryDefinition subclass:#'stx_libtool'
 	instanceVariableNames:''
 	classVariableNames:''
 	poolDictionaries:''
@@ -49,6 +49,7 @@
     ^ '$Id:: extensions.st 8086 2013-01-15 12:03:21Z vranyj1                                                                        $'
 ! !
 
+
 !stx_libtool class methodsFor:'description'!
 
 excludedFromPreRequisites
@@ -56,6 +57,62 @@
      preRequisites scan. See #preRequisites for more."
 
     ^ #(
+        #'exept:expecco'    "Expecco::ExpeccoNetAPI - referenced by AbstractLauncherApplication>>bugReporterAvailable "
+        #'exept:httpPortal'    "WebApplicationModel - referenced by Tools::NewSystemBrowser>>classMenuNewWebApplication "
+        #'exept:osi/asn1'    "OSI::ASN1Browser - referenced by FileBrowser>>openASN1Browser "
+        #'stx:libwebkit'    "WebKitView - referenced by Tools::WebBrowserPage>>webKitView "
+        #'stx:libsvn'
+        #'exept:CC'    "CBrowser::Browser - referenced by AbstractFileBrowser>>openCBrowser "
+        #'exept:xml/inspector'    "XML::XMLInspector - referenced by AbstractFileBrowser>>inspectXmlFile "
+        #'stx:clients/Demos'    "ClassTreeGraphView - referenced by Tools::NewSystemBrowser>>updateSpecialCodeEditorVisibilityForClass:method: "
+        #'stx:clients/MailTool'    "SendMailTool - referenced by Tools::NewSystemBrowser>>sendFileViaEmail:subject: "
+        #'stx:clients/Tools'    "ZipTool - referenced by AbstractFileBrowser>>openZipTool "
+        #'stx:goodies/communication'    "SmalltalkShareClient - referenced by AbstractLauncherApplication>>remoteImageBrowserAvailable "
+        #'stx:goodies/monticello'    "MCInteractiveLoadingQuery - referenced by Tools::ChangeSetBrowser2>>changeMenuApplyChange: "
+        #'stx:goodies/rdoit'    "RDoItServer - referenced by AbstractLauncherApplication::LauncherDialogs class>>communicationsSettings "
+        #'stx:goodies/sif'    "SmalltalkInterchangeSTXFileOutManager - referenced by Tools::NewSystemBrowser>>projectMenuFileOutAsWithFormat: "
+        #'stx:goodies/simpleServices'    "STXScriptingServer - referenced by AbstractSettingsApplication::RDoItServerSettingsAppl>>scriptingServerPortOrPath "
+        #'stx:goodies/soap'    "SOAP::SoapHttpModule - referenced by AbstractLauncherApplication::LauncherDialogs class>>communicationsSettings "
+        #'stx:goodies/soap/examples'    "SOAP::BabelFishClient - referenced by WorkspaceApplication>>babelFishTranslate: "
+        #'stx:goodies/sunit'    "TestCase - referenced by Tools::NewSystemBrowser>>classTemplateFor:in:asNamespace:private:metaClassUsed: "
+        #'stx:goodies/webServer'    "FCGIServer - referenced by AbstractSettingsApplication::HTTPStartServerSettingsApplication>>createFcgiServer "
+        #'stx:goodies/webServer/ui'    "HTTPServerSettingsAppl - referenced by AbstractSettingsApplication::HTTPStartServerSettingsApplication>>createServerApplicationFor: "
+        #'stx:goodies/xml/stx'    "XMLCoder - referenced by Tools::NewSystemBrowser>>selectorMenuFileOutXMLAs "
+        #'stx:goodies/xml/vw'    "XML::XMLParser - referenced by ChangesBrowser class>>readXMLChangesFrom:inBackground: "
+        #'stx:libdb'    "SQL::SQLError - referenced by StoreSourceCodeManagementSettingsAppl>>tryToConnectTo: "
+        #'stx:libhtml'    "DidYouKnowTipViewer - referenced by AbstractLauncherApplication>>showTipOfTheDay "
+        #'stx:libjava'    "JavaClassReader - referenced by AbstractFileBrowser>>singleFileFileIn:lazy: "
+        #'stx:libjava/experiments'    "JavaCompiler - referenced by BrowserView>>setAcceptActionForNewJavaClass "
+        #'stx:libjavascript'    "STXJavaScriptLanguage - referenced by Tools::NewSystemBrowser>>classOtherClassNewSlice "
+        #'stx:libtool2'    "HierarchicalListEditor - referenced by SystemBrowser class>>resourceEditorClassFor: "
+        #'stx:libboss'    "BinaryOutputManager - referenced by Tools::Profiler>>storeStatisticsOn: "
+    )
+
+    "Modified: / 06-07-2011 / 16:16:13 / jv"
+    "Modified: / 26-07-2011 / 10:59:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+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:goodies/refactoryBrowser/parser'    "RBProgramNodeVisitor - superclass of CodeGenerator "
+        #'stx:libbasic'    "Link - superclass of Diff::Change "
+        #'stx:libbasic2'    "Iterator - extended "
+        #'stx:libbasic3'    "Change - extended "
+        #'stx:libcomp'    "BreakpointDescription - extended "
+        #'stx:libui'    "ViewWithSubcomponentsSpec - superclass of FileBrowserV2UISpecifications::PanelSpec "
+        #'stx:libview'    "TopView - superclass of FileBrowser "
+        #'stx:libview2'    "SimpleDialog - superclass of Tools::ChangeSetSelectionDialog "
+        #'stx:libwidg'    "ListView - superclass of Tools::NewSystemBrowserCodeView "
+        #'stx:libwidg2'    "HierarchicalItemWithLabelAndIcon - superclass of SettingsDialog::HierarchicalApplicationList::ApplicationItem "
     )
 !
 
@@ -83,8 +140,27 @@
     )
 
     "Modified: / 27-02-2013 / 12:18:55 / 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:goodies/refactoryBrowser/browser'    "CategoryEnvironment - referenced by Tools::NewSystemBrowser>>selectedCategoriesAsEnvironment "
+        #'stx:goodies/refactoryBrowser/changes'    "RefactoryChangeManager - referenced by Tools::NewSystemBrowser>>hasUndoableOperations "
+        #'stx:goodies/refactoryBrowser/helpers'    "BrowserEnvironment - referenced by Tools::NewSystemBrowser>>selectedSelectorsAsEnvironment "
+        #'stx:goodies/refactoryBrowser/lint'    "SmalllintChecker - referenced by Tools::NewSystemBrowser>>smalllintRunRule:onEnvironment: "
+        #'stx:goodies/refactoryBrowser/refactoring'    "InlineMethodRefactoring - referenced by Tools::NewSystemBrowser>>codeMenuInlineMessage "
+        #'stx:libwidg3'    "ClockView - referenced by WorkspaceApplication>>addStopWatch "
+    )
 ! !
 
+
 !stx_libtool class methodsFor:'description - compilation'!
 
 additionalBaseAddressDefinition_bc_dot_mak
@@ -97,6 +173,7 @@
 '
 ! !
 
+
 !stx_libtool class methodsFor:'description - contents'!
 
 classNamesAndAttributes
@@ -472,6 +549,7 @@
     )
 ! !
 
+
 !stx_libtool class methodsFor:'description - project information'!
 
 applicationIconFileName
@@ -501,12 +579,20 @@
     "Modified: / 18-07-2012 / 19:11:53 / 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_libtool class methodsFor:'description - svn'!
 
 svnRepositoryUrlString
@@ -525,14 +611,15 @@
     ^ "$SVN-Revision:"'8088            '"$"
 ! !
 
+
 !stx_libtool class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.87 2013-02-01 15:11:58 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.88 2013-03-08 23:52:23 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.87 2013-02-01 15:11:58 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.88 2013-03-08 23:52:23 stefan Exp $'
 !
 
 version_HG