author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 10 Jan 2013 14:25:07 +0100 | |
changeset 111 | b57b5cd21e95 |
parent 102 | 9c38fe06d9a7 |
child 117 | 69ab3de9efe9 |
permissions | -rw-r--r-- |
86 | 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' |
|
102
9c38fe06d9a7
Added PPCompositeParserGenerator & PPParserVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
86
diff
changeset
|
48 |
XBGFParser |
86 | 49 |
) |
50 |
! |
|
51 |
||
52 |
extensionMethodNames |
|
53 |
"lists the extension methods which are to be included in the project. |
|
54 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
55 |
||
56 |
^ #( |
|
57 |
) |
|
58 |
! ! |
|
59 |
||
60 |
!stx_goodies_petitparser_devtools class methodsFor:'description - project information'! |
|
61 |
||
62 |
applicationIconFileName |
|
63 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
64 |
||
65 |
^ nil |
|
66 |
"/ ^ self applicationName |
|
67 |
! |
|
68 |
||
69 |
companyName |
|
70 |
"Return a companyname which will appear in <lib>.rc" |
|
71 |
||
72 |
^ 'eXept Software AG' |
|
73 |
! |
|
74 |
||
75 |
description |
|
76 |
"Return a description string which will appear in vc.def / bc.def" |
|
77 |
||
78 |
^ 'Smalltalk/X Class library' |
|
79 |
! |
|
80 |
||
81 |
legalCopyright |
|
82 |
"Return a copyright string which will appear in <lib>.rc" |
|
83 |
||
84 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
|
85 |
! |
|
86 |
||
87 |
productInstallDirBaseName |
|
88 |
"Returns a default installDir which will appear in <app>.nsi. |
|
89 |
This is usually not the one you want to keep" |
|
90 |
||
91 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last |
|
92 |
! |
|
93 |
||
94 |
productName |
|
95 |
"Return a product name which will appear in <lib>.rc" |
|
96 |
||
97 |
^ 'Smalltalk/X' |
|
98 |
! ! |
|
99 |
||
100 |
!stx_goodies_petitparser_devtools class methodsFor:'documentation'! |
|
101 |
||
102 |
version |
|
102
9c38fe06d9a7
Added PPCompositeParserGenerator & PPParserVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
86
diff
changeset
|
103 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/stx_goodies_petitparser_devtools.st,v 1.2 2013-01-10 13:22:51 vrany Exp $' |
86 | 104 |
! |
105 |
||
106 |
version_CVS |
|
102
9c38fe06d9a7
Added PPCompositeParserGenerator & PPParserVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
86
diff
changeset
|
107 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/stx_goodies_petitparser_devtools.st,v 1.2 2013-01-10 13:22:51 vrany Exp $' |
86 | 108 |
! ! |