1
|
1 |
"{ Package: 'stx:goodies/cypress' }"
|
|
2 |
|
|
3 |
LibraryDefinition subclass:#stx_goodies_cypress
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'* Projects & Packages *'
|
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!stx_goodies_cypress 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/monticello'
|
8
|
31 |
#'stx:goodies/sunit'
|
|
32 |
#'stx:libbasic' "Autoload - superclass of CypressAbstractTest "
|
1
|
33 |
#'stx:libbasic2'
|
8
|
34 |
#'stx:libbasic3' "ClassDefinitionChange - referenced by CypressClassStructure>>changesOn: "
|
1
|
35 |
#'stx:libcomp' "Parser - referenced by CypressPackageReader>>readMethodStructureFor:in:methodProperties: "
|
|
36 |
#'stx:libcompat'
|
|
37 |
#'stx:libhtml'
|
|
38 |
)
|
|
39 |
! !
|
|
40 |
|
|
41 |
!stx_goodies_cypress class methodsFor:'description - contents'!
|
|
42 |
|
|
43 |
classNamesAndAttributes
|
|
44 |
"lists the classes which are to be included in the project.
|
|
45 |
Each entry in the list may be: a single class-name (symbol),
|
|
46 |
or an array-literal consisting of class name and attributes.
|
|
47 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..."
|
|
48 |
|
|
49 |
^ #(
|
|
50 |
"<className> or (<className> attributes...) in load order"
|
|
51 |
(CypressAbstractTest autoload)
|
|
52 |
CypressDefinition
|
|
53 |
CypressDefinitionIndex
|
|
54 |
CypressDependencySorter
|
|
55 |
CypressJsonParser
|
|
56 |
CypressLoader
|
|
57 |
CypressMockBasic
|
|
58 |
CypressPackageDefinition
|
|
59 |
CypressPackageReader
|
|
60 |
CypressPackageWriter
|
|
61 |
CypressPatch
|
|
62 |
CypressPatchOperation
|
|
63 |
CypressSnapshot
|
|
64 |
CypressStructure
|
|
65 |
#'stx_goodies_cypress'
|
|
66 |
CypressAddition
|
|
67 |
CypressClassDefinition
|
|
68 |
CypressClassStructure
|
|
69 |
(CypressDefinitionTest autoload)
|
|
70 |
(CypressLoaderTest autoload)
|
|
71 |
CypressMethodDefinition
|
|
72 |
CypressMethodStructure
|
|
73 |
CypressModification
|
|
74 |
CypressPackageStructure
|
|
75 |
(CypressPatchTest autoload)
|
|
76 |
CypressRemoval
|
|
77 |
(CypressSnapshotTest autoload)
|
|
78 |
(CypressStructureTest autoload)
|
|
79 |
)
|
|
80 |
!
|
|
81 |
|
|
82 |
extensionMethodNames
|
|
83 |
"lists the extension methods which are to be included in the project.
|
|
84 |
Entries are 2-element array literals, consisting of class-name and selector."
|
|
85 |
|
|
86 |
^ #(
|
|
87 |
CharacterArray withLineEndings:
|
|
88 |
'CharacterArray class' lfString
|
2
|
89 |
Array asCypressPropertyObject
|
|
90 |
Array writeCypressJsonOn:forHtml:indent:
|
|
91 |
Boolean writeCypressJsonOn:forHtml:indent:
|
|
92 |
Character isSafeForHTTP
|
|
93 |
Class asCypressClassDefinition
|
|
94 |
Dictionary asCypressPropertyObject
|
|
95 |
Dictionary writeCypressJsonOn:forHtml:indent:
|
|
96 |
Number writeCypressJsonOn:forHtml:indent:
|
|
97 |
Object asCypressPropertyObject
|
|
98 |
String asCypressPropertyObject
|
|
99 |
String encodeForHTTP
|
|
100 |
String writeCypressJsonOn:forHtml:indent:
|
3
|
101 |
Method asCypressMethodDefinition
|
10
|
102 |
'ConfigurableFeatures class' hasCypress
|
1
|
103 |
)
|
10
|
104 |
|
|
105 |
"Modified: / 07-09-2012 / 20:03:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
1
|
106 |
! !
|
|
107 |
|
|
108 |
!stx_goodies_cypress class methodsFor:'description - project information'!
|
|
109 |
|
|
110 |
applicationIconFileName
|
|
111 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
|
|
112 |
|
|
113 |
^ nil
|
|
114 |
"/ ^ self applicationName
|
|
115 |
!
|
|
116 |
|
|
117 |
companyName
|
|
118 |
"Return a companyname which will appear in <lib>.rc"
|
|
119 |
|
|
120 |
^ 'eXept Software AG'
|
|
121 |
!
|
|
122 |
|
|
123 |
description
|
|
124 |
"Return a description string which will appear in vc.def / bc.def"
|
|
125 |
|
|
126 |
^ 'Smalltalk/X Class library'
|
|
127 |
!
|
|
128 |
|
|
129 |
legalCopyright
|
|
130 |
"Return a copyright string which will appear in <lib>.rc"
|
|
131 |
|
|
132 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
|
|
133 |
!
|
|
134 |
|
|
135 |
productInstallDirBaseName
|
|
136 |
"Returns a default installDir which will appear in <app>.nsi.
|
|
137 |
This is usually not the one you want to keep"
|
|
138 |
|
|
139 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
|
|
140 |
!
|
|
141 |
|
|
142 |
productName
|
|
143 |
"Return a product name which will appear in <lib>.rc"
|
|
144 |
|
|
145 |
^ 'Smalltalk/X'
|
|
146 |
! !
|
|
147 |
|
|
148 |
!stx_goodies_cypress class methodsFor:'description - svn'!
|
|
149 |
|
|
150 |
svnRepositoryUrlString
|
|
151 |
"Return a SVN repository URL of myself.
|
|
152 |
(Generated since 2011-04-08)
|
|
153 |
Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!!
|
|
154 |
"
|
|
155 |
|
|
156 |
^ '$URL:: $'
|
|
157 |
!
|
|
158 |
|
|
159 |
svnRevisionNr
|
|
160 |
"Return a SVN revision number of myself.
|
|
161 |
This number is updated after a commit"
|
|
162 |
|
8
|
163 |
^ "$SVN-Revision:"'8 '"$"
|
1
|
164 |
! !
|
|
165 |
|
|
166 |
!stx_goodies_cypress class methodsFor:'documentation'!
|
|
167 |
|
|
168 |
version_SVN
|
|
169 |
^ '$Id:: $'
|
|
170 |
! !
|