author | Claus Gittinger <cg@exept.de> |
Mon, 25 Mar 2013 22:51:35 +0100 | |
changeset 767 | 8054b14c28d5 |
parent 756 | 2bdeb427dc46 |
child 843 | a4ea1147dd16 |
permissions | -rw-r--r-- |
170 | 1 |
"{ Package: 'stx:goodies/monticello' }" |
2 |
||
3 |
LibraryDefinition subclass:#stx_goodies_monticello |
|
767
8054b14c28d5
class: stx_goodies_monticello
Claus Gittinger <cg@exept.de>
parents:
756
diff
changeset
|
4 |
instanceVariableNames:'' |
8054b14c28d5
class: stx_goodies_monticello
Claus Gittinger <cg@exept.de>
parents:
756
diff
changeset
|
5 |
classVariableNames:'' |
8054b14c28d5
class: stx_goodies_monticello
Claus Gittinger <cg@exept.de>
parents:
756
diff
changeset
|
6 |
poolDictionaries:'' |
8054b14c28d5
class: stx_goodies_monticello
Claus Gittinger <cg@exept.de>
parents:
756
diff
changeset
|
7 |
category:'* Projects & Packages *' |
170 | 8 |
! |
9 |
||
10 |
||
11 |
!stx_goodies_monticello 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 |
||
731
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
21 |
mandatoryPreRequisites |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
22 |
"list all required mandatory packages. |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
23 |
Packages are mandatory, if they contain superclasses of the package's classes |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
24 |
or classes which are extended by this package. |
170 | 25 |
This list can be maintained manually or (better) generated and |
731
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
26 |
updated by scanning the superclass hierarchies |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
27 |
(the browser has a menu function for that) |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
28 |
However, often too much is found, and you may want to explicitely |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
29 |
exclude individual packages in the #excludedFromPreRequisites method." |
170 | 30 |
|
31 |
^ #( |
|
756 | 32 |
#'stx:libbasic' "String - extended " |
33 |
#'stx:libbasic3' "VersionInfo - extended " |
|
34 |
#'stx:libtool' "Tools::NewSystemBrowser - extended " |
|
35 |
#'stx:libview2' "ApplicationModel - superclass of extended Tools::NewSystemBrowser " |
|
36 |
#'stx:libcompat' |
|
731
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
37 |
) |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
38 |
! |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
39 |
|
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
40 |
referencedPreRequisites |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
41 |
"list all packages containing classes referenced by the packages's members. |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
42 |
This list can be maintained manually or (better) generated and |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
43 |
updated by looking for global variable accesses |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
44 |
(the browser has a menu function for that) |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
45 |
However, often too much is found, and you may want to explicitely |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
46 |
exclude individual packages in the #excludedFromPreRequisites method." |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
47 |
|
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
48 |
^ #( |
767
8054b14c28d5
class: stx_goodies_monticello
Claus Gittinger <cg@exept.de>
parents:
756
diff
changeset
|
49 |
'stx:goodies/communication' "/ HTTPInterface |
170 | 50 |
) |
51 |
! ! |
|
52 |
||
53 |
!stx_goodies_monticello class methodsFor:'description - contents'! |
|
54 |
||
55 |
classNamesAndAttributes |
|
56 |
"lists the classes which are to be included in the project. |
|
57 |
Each entry in the list may be: a single class-name (symbol), |
|
58 |
or an array-literal consisting of class name and attributes. |
|
59 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
60 |
||
61 |
^ #( |
|
756 | 62 |
"<className> or (<className> attributes...) in load order" |
63 |
InMidstOfFileinNotification |
|
64 |
MCAncestry |
|
65 |
MCBrowserList |
|
66 |
MCChangeSelectionRequest |
|
67 |
(MCChangeSelector autoload) |
|
68 |
MCConflict |
|
69 |
MCDefinition |
|
70 |
MCDefinitionIndex |
|
71 |
MCDependencySorter |
|
72 |
(MCDependentsWrapper autoload) |
|
73 |
MCDialog |
|
74 |
MCDirtyPackageInfo |
|
75 |
MCDoItParser |
|
76 |
MCEmptyPackageInfo |
|
77 |
(MCFileRepositoryInspector autoload) |
|
78 |
MCFrontier |
|
79 |
MCInteractiveLoadingQuery |
|
80 |
MCLazyPropertyDictionary |
|
81 |
(MCMergeBrowser autoload) |
|
82 |
MCMergeRecord |
|
83 |
MCMergeResolutionRequest |
|
84 |
MCMerger |
|
85 |
MCMock |
|
86 |
MCMockAPoolDictionary |
|
87 |
MCMockClassD |
|
88 |
MCMockClassE |
|
89 |
MCMockClassF |
|
90 |
MCMockClassG |
|
91 |
MCMockClassH |
|
92 |
MCMockClassI |
|
93 |
MCMockDependency |
|
94 |
MCMockPackageInfo |
|
95 |
MCNoChangesException |
|
96 |
MCPackage |
|
97 |
MCPackageCache |
|
98 |
MCPackageEntry |
|
99 |
MCPackageLoader |
|
100 |
MCPackageManager |
|
101 |
MCPatch |
|
102 |
MCPatchOperation |
|
103 |
MCPatcher |
|
104 |
MCReader |
|
105 |
MCRepository |
|
106 |
MCRepositoryBrowser |
|
107 |
MCRepositoryEntry |
|
108 |
MCRepositoryGroup |
|
109 |
(MCRepositoryInspector autoload) |
|
110 |
(MCSMCacheRepository autoload) |
|
111 |
(MCSaveVersionDialog autoload) |
|
112 |
MCScanner |
|
113 |
MCSettingsApp |
|
114 |
MCSnapshot |
|
115 |
(MCSnapshotBrowser autoload) |
|
116 |
MCSourceCodeManager |
|
117 |
MCStXPackageQuery |
|
118 |
MCTimestampAnnotation |
|
119 |
MCTool |
|
120 |
(MCToolWindowBuilder autoload) |
|
121 |
MCVariableDefinition |
|
122 |
MCVersion |
|
123 |
MCVersionDependency |
|
124 |
MCVersionEntry |
|
125 |
MCVersionLoader |
|
126 |
MCVersionMerger |
|
127 |
MCVersionNameAndMessageRequest |
|
128 |
MCVersionNotification |
|
129 |
MCVersionSorter |
|
130 |
(MCWorkingCopyBrowser autoload) |
|
131 |
(MCWorkingHistoryBrowser autoload) |
|
132 |
MCWriter |
|
133 |
MethodReference |
|
134 |
PackageOrganizer |
|
135 |
#'stx_goodies_monticello' |
|
136 |
MCAddition |
|
137 |
MCClassDefinition |
|
138 |
MCClassInstanceVariableDefinition |
|
139 |
MCClassTraitDefinition |
|
140 |
MCClassTraitParser |
|
141 |
MCClassVariableDefinition |
|
142 |
MCCodeTool |
|
143 |
MCCommitDialog |
|
144 |
MCDictionaryRepository |
|
145 |
MCDiffyVersion |
|
146 |
MCFileBasedRepository |
|
147 |
MCFilteredVersionSorter |
|
148 |
MCGOODSRepository |
|
149 |
MCInstanceVariableDefinition |
|
150 |
MCMczWriter |
|
151 |
MCMethodDefinition |
|
152 |
MCMockClassA |
|
153 |
MCMockClassB |
|
154 |
MCMockDefinition |
|
155 |
MCMockDependentItem |
|
156 |
MCModification |
|
157 |
MCMultiPackageLoader |
|
158 |
MCOrganizationDefinition |
|
159 |
MCPackageList |
|
160 |
MCPoolImportDefinition |
|
161 |
MCRemoval |
|
162 |
MCRepositoryDialog |
|
163 |
MCRepositoryList |
|
164 |
MCScriptDefinition |
|
165 |
MCSnapshotReader |
|
166 |
MCStWriter |
|
167 |
MCSystemCategoryParser |
|
168 |
MCThreeWayMerger |
|
169 |
MCTraitParser |
|
170 |
MCVersionHistoryBrowser |
|
171 |
MCVersionInfo |
|
172 |
MCVersionInfoWriter |
|
173 |
MCVersionInspector |
|
174 |
MCVersionList |
|
175 |
MCVersionReader |
|
176 |
MCWorkingAncestry |
|
177 |
MCWorkingCopy |
|
178 |
MCWriteOnlyRepository |
|
179 |
MCDirectoryRepository |
|
180 |
MCFtpRepository |
|
181 |
MCHttpRepository |
|
182 |
MCLazyVersionInfo |
|
183 |
MCMcdWriter |
|
184 |
MCMczReader |
|
185 |
MCMockASubclass |
|
186 |
MCPatchBrowser |
|
187 |
MCPostscriptDefinition |
|
188 |
MCPreambleDefinition |
|
189 |
MCRemovalPostscriptDefinition |
|
190 |
MCRemovalPreambleDefinition |
|
191 |
MCSMReleaseRepository |
|
192 |
MCSmtpRepository |
|
193 |
MCStReader |
|
194 |
MCTraitDefinition |
|
195 |
MCCacheRepository |
|
196 |
MCMcdReader |
|
197 |
MCSubDirectoryRepository |
|
198 |
MCStXPackageInfo |
|
199 |
MCStXNamespaceQuery |
|
200 |
MCStxVersionInfo |
|
201 |
MCStxMczWriter |
|
202 |
MCStxStWriter |
|
170 | 203 |
) |
204 |
! |
|
205 |
||
206 |
extensionMethodNames |
|
207 |
"lists the extension methods which are to be included in the project. |
|
208 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
209 |
||
210 |
^ #( |
|
756 | 211 |
Behavior includesLocalSelector: |
212 |
Behavior localSelectors |
|
213 |
Behavior traitCompositionString |
|
214 |
Behavior typeOfClass |
|
215 |
Class asClassDefinition |
|
216 |
Class classDefinitions |
|
217 |
Class poolDictionaryNames |
|
218 |
ClassDescription mcDefinition |
|
219 |
Object isConflict |
|
220 |
SequenceableCollection copyReplaceAll:with:asTokens: |
|
221 |
Stream isMessageStream |
|
222 |
String asStringWithNativeLineEndings |
|
223 |
String asStringWithSqueakLineEndings |
|
224 |
String extractNumber |
|
225 |
String withSqueakLineEndings |
|
226 |
StringCollection asStringWithNativeLineEndings |
|
227 |
StringCollection asStringWithSqueakLineEndings |
|
228 |
Symbol isDoIt |
|
229 |
#'Tools::NewSystemBrowser' projectMenuMonticelloCommit |
|
230 |
UndefinedObject typeOfClass |
|
231 |
UserPreferences mcEnabled |
|
232 |
UserPreferences mcEnabled: |
|
233 |
UserPreferences mcRepositories |
|
234 |
UserPreferences mcRepositories: |
|
235 |
VersionInfo timeStamp |
|
236 |
'Annotation class' mctimestamp: |
|
237 |
'ProjectDefinition class' #'monticelloTimestamps_code' |
|
238 |
'ProjectDefinition class' #'monticelloTimestamps_codeFor:' |
|
239 |
'Timestamp class' fromMethodTimeStamp: |
|
240 |
'Tools::NewSystemBrowser class' projectMonticelloMenu |
|
170 | 241 |
) |
242 |
! ! |
|
243 |
||
244 |
!stx_goodies_monticello class methodsFor:'description - project information'! |
|
245 |
||
731
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
246 |
applicationIconFileName |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
247 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
248 |
|
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
249 |
^ nil |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
250 |
"/ ^ self applicationName |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
251 |
! |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
252 |
|
170 | 253 |
companyName |
254 |
"Return a companyname which will appear in <lib>.rc" |
|
255 |
||
256 |
^ 'eXept Software AG' |
|
257 |
! |
|
258 |
||
259 |
description |
|
260 |
"Return a description string which will appear in vc.def / bc.def" |
|
261 |
||
426 | 262 |
^ 'Smalltalk/X Monticello Class library' |
263 |
||
264 |
"Modified: / 20-08-2011 / 16:57:40 / cg" |
|
170 | 265 |
! |
266 |
||
267 |
legalCopyright |
|
268 |
"Return a copyright string which will appear in <lib>.rc" |
|
269 |
||
426 | 270 |
^ 'Public - See SqueakSource' |
271 |
||
272 |
"Modified: / 20-08-2011 / 16:58:01 / cg" |
|
170 | 273 |
! |
274 |
||
731
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
275 |
productInstallDirBaseName |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
276 |
"Returns a default installDir which will appear in <app>.nsi. |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
277 |
This is usually not the one you want to keep" |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
278 |
|
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
279 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
280 |
! |
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
281 |
|
170 | 282 |
productName |
283 |
"Return a product name which will appear in <lib>.rc" |
|
284 |
||
285 |
^ 'Smalltalk/X' |
|
286 |
! ! |
|
287 |
||
288 |
!stx_goodies_monticello class methodsFor:'documentation'! |
|
289 |
||
413 | 290 |
version |
767
8054b14c28d5
class: stx_goodies_monticello
Claus Gittinger <cg@exept.de>
parents:
756
diff
changeset
|
291 |
^ '$Header: /cvs/stx/stx/goodies/monticello/stx_goodies_monticello.st,v 1.18 2013-03-25 21:51:35 cg Exp $' |
413 | 292 |
! |
293 |
||
170 | 294 |
version_CVS |
767
8054b14c28d5
class: stx_goodies_monticello
Claus Gittinger <cg@exept.de>
parents:
756
diff
changeset
|
295 |
^ '$Header: /cvs/stx/stx/goodies/monticello/stx_goodies_monticello.st,v 1.18 2013-03-25 21:51:35 cg Exp $' |
170 | 296 |
! ! |
731
a5381bbaee2e
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
551
diff
changeset
|
297 |