devtools/stx_goodies_petitparser_devtools.st
changeset 86 824b59ebcbbd
child 102 9c38fe06d9a7
equal deleted inserted replaced
85:c7eb32908fdf 86:824b59ebcbbd
       
     1 "{ Package: 'stx:goodies/petitparser/devtools' }"
       
     2 
       
     3 LibraryDefinition subclass:#stx_goodies_petitparser_devtools
       
     4 	instanceVariableNames:''
       
     5 	classVariableNames:''
       
     6 	poolDictionaries:''
       
     7 	category:'* Projects & Packages *'
       
     8 !
       
     9 
       
    10 
       
    11 !stx_goodies_petitparser_devtools class methodsFor:'description'!
       
    12 
       
    13 excludedFromPreRequisites
       
    14     "list all packages which should be ignored in the automatic
       
    15      preRequisites scan. See #preRequisites for more."
       
    16 
       
    17     ^ #(
       
    18     )
       
    19 !
       
    20 
       
    21 preRequisites
       
    22     "list all required packages.
       
    23      This list can be maintained manually or (better) generated and
       
    24      updated by scanning the superclass hierarchies and looking for
       
    25      global variable accesses. (the browser has a menu function for that)
       
    26      Howevery, often too much is found, and you may want to explicitely
       
    27      exclude individual packages in the #excludedFromPrerequisites method."
       
    28 
       
    29     ^ #(
       
    30         #'stx:goodies/petitparser'    "PPParser - superclass of PPDebuggingParser "
       
    31         #'stx:libbasic'    "Object - superclass of stx_goodies_petitparser_devtools "
       
    32     )
       
    33 ! !
       
    34 
       
    35 !stx_goodies_petitparser_devtools class methodsFor:'description - contents'!
       
    36 
       
    37 classNamesAndAttributes
       
    38     "lists the classes which are to be included in the project.
       
    39      Each entry in the list may be: a single class-name (symbol),
       
    40      or an array-literal consisting of class name and attributes.
       
    41      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
       
    42 
       
    43     ^ #(
       
    44         "<className> or (<className> attributes...) in load order"
       
    45         PPDebugger
       
    46         PPDebuggingParser
       
    47         #'stx_goodies_petitparser_devtools'
       
    48     )
       
    49 !
       
    50 
       
    51 extensionMethodNames
       
    52     "lists the extension methods which are to be included in the project.
       
    53      Entries are 2-element array literals, consisting of class-name and selector."
       
    54 
       
    55     ^ #(
       
    56     )
       
    57 ! !
       
    58 
       
    59 !stx_goodies_petitparser_devtools class methodsFor:'description - project information'!
       
    60 
       
    61 applicationIconFileName
       
    62     "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
       
    63 
       
    64     ^ nil
       
    65     "/ ^ self applicationName
       
    66 !
       
    67 
       
    68 companyName
       
    69     "Return a companyname which will appear in <lib>.rc"
       
    70 
       
    71     ^ 'eXept Software AG'
       
    72 !
       
    73 
       
    74 description
       
    75     "Return a description string which will appear in vc.def / bc.def"
       
    76 
       
    77     ^ 'Smalltalk/X Class library'
       
    78 !
       
    79 
       
    80 legalCopyright
       
    81     "Return a copyright string which will appear in <lib>.rc"
       
    82 
       
    83     ^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
       
    84 !
       
    85 
       
    86 productInstallDirBaseName
       
    87     "Returns a default installDir which will appear in <app>.nsi.
       
    88      This is usually not the one you want to keep"
       
    89 
       
    90     ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
       
    91 !
       
    92 
       
    93 productName
       
    94     "Return a product name which will appear in <lib>.rc"
       
    95 
       
    96     ^ 'Smalltalk/X'
       
    97 ! !
       
    98 
       
    99 !stx_goodies_petitparser_devtools class methodsFor:'documentation'!
       
   100 
       
   101 version
       
   102     ^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/stx_goodies_petitparser_devtools.st,v 1.1 2012-05-05 14:52:08 vrany Exp $'
       
   103 !
       
   104 
       
   105 version_CVS
       
   106     ^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/stx_goodies_petitparser_devtools.st,v 1.1 2012-05-05 14:52:08 vrany Exp $'
       
   107 ! !