author | Jan Vrany <jan.vrany@labware.com> |
Sat, 30 Sep 2023 22:55:25 +0100 | |
branch | jv |
changeset 19648 | 5df52d354504 |
parent 16676 | 04e6ef206a00 |
permissions | -rw-r--r-- |
2628 | 1 |
" |
2 |
COPYRIGHT (c) 1998 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
16667 | 12 |
"{ Package: 'stx:libtool' }" |
2628 | 13 |
|
16667 | 14 |
"{ NameSpace: Smalltalk }" |
7088 | 15 |
|
1526 | 16 |
ApplicationBuilder subclass:#LibraryBuilder |
1560 | 17 |
instanceVariableNames:'' |
1526 | 18 |
classVariableNames:'' |
19 |
poolDictionaries:'' |
|
7088 | 20 |
category:'Interface-Tools' |
1526 | 21 |
! |
22 |
||
23 |
!LibraryBuilder class methodsFor:'documentation'! |
|
24 |
||
2628 | 25 |
copyright |
26 |
" |
|
27 |
COPYRIGHT (c) 1998 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
||
38 |
||
39 |
||
40 |
! |
|
41 |
||
1526 | 42 |
documentation |
43 |
" |
|
2628 | 44 |
WARNING: unfinished - do not use. |
45 |
||
1526 | 46 |
The Library Builder of ST/X allows you to build ST/X-libraries by following steps: |
47 |
||
1558 | 48 |
0. Clobber the target directory of the application |
1526 | 49 |
1. File out the source code of all library classes |
1558 | 50 |
2. Link the source code of all library classes into the source directory |
51 |
3. Generate the file Make.Proto |
|
52 |
4. Generate the file Makefile |
|
53 |
5. Make the library |
|
1526 | 54 |
|
55 |
[start with:] |
|
56 |
LibraryBuilder open |
|
57 |
||
58 |
[see also:] |
|
59 |
ApplicationBuilder |
|
60 |
||
61 |
[author:] |
|
62 |
Thomas Zwick, eXept Software AG |
|
63 |
" |
|
64 |
! ! |
|
65 |
||
1558 | 66 |
!LibraryBuilder class methodsFor:'accessing'! |
67 |
||
68 |
label |
|
69 |
||
70 |
^'Library Builder (experimental)' |
|
71 |
||
72 |
||
73 |
||
74 |
||
75 |
||
76 |
! ! |
|
77 |
||
1526 | 78 |
!LibraryBuilder class methodsFor:'help specs'! |
79 |
||
80 |
helpSpec |
|
81 |
"This resource specification was automatically generated |
|
82 |
by the UIHelpTool of ST/X." |
|
83 |
||
84 |
"Do not manually edit this!! If it is corrupted, |
|
85 |
the UIHelpTool may not be able to read the specification." |
|
86 |
||
87 |
" |
|
88 |
UIHelpTool openOnClass:LibraryBuilder |
|
89 |
" |
|
90 |
||
91 |
<resource: #help> |
|
92 |
||
93 |
^super helpSpec addPairsFrom:#( |
|
94 |
||
1560 | 95 |
#addLibraryClasses |
96 |
'Adds the selected classes to the list of library classes.' |
|
1558 | 97 |
|
98 |
#fileOutClasses |
|
99 |
'Files out the source code of the selected library classes.' |
|
1526 | 100 |
|
101 |
#findClass |
|
102 |
'Find the class with the first known letters.' |
|
103 |
||
104 |
#inlineNew |
|
105 |
'Additionally inline new.' |
|
106 |
||
107 |
#libraryClasses |
|
108 |
'Classes of the library.' |
|
109 |
||
110 |
#libraryName |
|
111 |
'Name of the library.' |
|
112 |
||
1558 | 113 |
#linkSources |
1560 | 114 |
'Creates links in the source directory to the source files of the library classes.' |
1558 | 115 |
|
1526 | 116 |
#optinline |
117 |
'Generate optimized inline code.' |
|
118 |
||
119 |
#optspace |
|
120 |
'Optimize for space.' |
|
121 |
||
122 |
#optspace2 |
|
123 |
'Optimize more for space.' |
|
124 |
||
125 |
#optspace3 |
|
126 |
'Optimize even more for space.' |
|
127 |
||
1560 | 128 |
#removeLibraryClasses |
129 |
'Removes the selected library classes.' |
|
130 |
||
1526 | 131 |
#stxClasses |
132 |
'Classes of the ST/X.' |
|
133 |
||
134 |
) |
|
135 |
! ! |
|
136 |
||
137 |
!LibraryBuilder class methodsFor:'interface specs'! |
|
138 |
||
139 |
windowSpec |
|
140 |
"This resource specification was automatically generated |
|
141 |
by the UIPainter of ST/X." |
|
142 |
||
143 |
"Do not manually edit this!! If it is corrupted, |
|
144 |
the UIPainter may not be able to read the specification." |
|
145 |
||
146 |
" |
|
147 |
UIPainter new openOnClass:LibraryBuilder andSelector:#windowSpec |
|
148 |
LibraryBuilder new openInterface:#windowSpec |
|
149 |
LibraryBuilder open |
|
150 |
" |
|
151 |
||
152 |
<resource: #canvas> |
|
153 |
||
154 |
^ |
|
155 |
||
156 |
#(#FullSpec |
|
157 |
#window: |
|
158 |
#(#WindowSpec |
|
1558 | 159 |
#name: 'Library Builder (experimental)' |
1560 | 160 |
#layout: #(#LayoutFrame 15 0 222 0 514 0 681 0) |
1558 | 161 |
#label: 'Library Builder (experimental)' |
1526 | 162 |
#min: #(#Point 420 220) |
163 |
#max: #(#Point 1152 900) |
|
1560 | 164 |
#bounds: #(#Rectangle 15 222 515 682) |
1526 | 165 |
#menu: #menu |
166 |
#usePreferredExtent: false |
|
167 |
) |
|
168 |
#component: |
|
169 |
#(#SpecCollection |
|
170 |
#collection: |
|
171 |
#( |
|
172 |
#(#ViewSpec |
|
173 |
#name: 'Box1' |
|
1558 | 174 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 316 0) |
1526 | 175 |
#component: |
176 |
#(#SpecCollection |
|
177 |
#collection: |
|
178 |
#( |
|
179 |
#(#ViewSpec |
|
180 |
#name: 'Box2' |
|
1558 | 181 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 -148 1.0 0 1.0) |
1526 | 182 |
#component: |
183 |
#(#SpecCollection |
|
184 |
#collection: |
|
185 |
#( |
|
186 |
#(#LabelSpec |
|
187 |
#name: 'libraryNameLabel' |
|
188 |
#layout: #(#AlignmentOrigin 147 0 15 0 1 0.5) |
|
189 |
#label: 'Library Name:' |
|
190 |
#adjust: #right |
|
191 |
) |
|
192 |
#(#InputFieldSpec |
|
193 |
#name: 'libraryNameField' |
|
194 |
#layout: #(#LayoutFrame 150 0 4 0 0 1 26 0) |
|
195 |
#activeHelpKey: #libraryName |
|
196 |
#model: #libraryName |
|
197 |
) |
|
198 |
#(#DividerSpec |
|
199 |
#name: 'Separator2' |
|
200 |
#layout: #(#LayoutFrame 0 0 28 0 0 1 31 0) |
|
201 |
) |
|
202 |
#(#LabelSpec |
|
203 |
#name: 'libraryClassesLabel' |
|
204 |
#layout: #(#AlignmentOrigin 147 0 42 0 1 0.5) |
|
205 |
#label: 'Library Classes:' |
|
206 |
#adjust: #right |
|
207 |
) |
|
208 |
#(#SequenceViewSpec |
|
1558 | 209 |
#name: 'libraryClassesList' |
210 |
#layout: #(#LayoutFrame 0 0.6 56 0 0 1.0 195 0) |
|
1526 | 211 |
#activeHelpKey: #libraryClasses |
212 |
#model: #selectionOfLibraryClasses |
|
213 |
#hasHorizontalScrollBar: true |
|
214 |
#hasVerticalScrollBar: true |
|
215 |
#miniScrollerVertical: true |
|
1558 | 216 |
#backgroundColor: #(#Color 100.0 74.9996 49.9992) |
1526 | 217 |
#isMultiSelect: true |
218 |
#useIndex: false |
|
219 |
#sequenceList: #libraryClasses |
|
220 |
) |
|
221 |
#(#DividerSpec |
|
222 |
#name: 'Separator3' |
|
223 |
#layout: #(#LayoutFrame 0 0 196 0 0 1 199 0) |
|
224 |
) |
|
225 |
#(#ActionButtonSpec |
|
226 |
#name: 'targetDirectoryButton' |
|
227 |
#layout: #(#LayoutFrame 4 0 204 0 147 0 228 0) |
|
1558 | 228 |
#activeHelpKey: #selectPath |
1526 | 229 |
#label: 'Target Directory:' |
230 |
#model: #doSelectDirectory: |
|
231 |
#actionValue: 'Target' |
|
232 |
) |
|
233 |
#(#InputFieldSpec |
|
234 |
#name: 'targetDirectoryField' |
|
235 |
#layout: #(#LayoutFrame 150 0 205 0 0 1.0 227 0) |
|
236 |
#activeHelpKey: #targetDirectory |
|
237 |
#model: #targetDirectory |
|
238 |
) |
|
239 |
#(#ActionButtonSpec |
|
240 |
#name: 'topDirectoryButton' |
|
241 |
#layout: #(#LayoutFrame 4 0 228 0 147 0 252 0) |
|
1558 | 242 |
#activeHelpKey: #selectPath |
1526 | 243 |
#label: 'Top Directory:' |
244 |
#model: #doSelectDirectory: |
|
245 |
#actionValue: 'Top' |
|
246 |
) |
|
247 |
#(#InputFieldSpec |
|
248 |
#name: 'topDirectoryField' |
|
249 |
#layout: #(#LayoutFrame 150 0 229 0 0 1.0 251 0) |
|
250 |
#activeHelpKey: #topDirectory |
|
251 |
#model: #topDirectory |
|
252 |
) |
|
253 |
#(#DividerSpec |
|
254 |
#name: 'Separator4' |
|
1558 | 255 |
#layout: #(#LayoutFrame 0 0.0 278 0 0 1.0 281 0) |
1526 | 256 |
) |
257 |
#(#ActionButtonSpec |
|
258 |
#name: 'systemLibrariesButton' |
|
1558 | 259 |
#layout: #(#LayoutFrame 4 0 285 0 147 0 309 0) |
260 |
#activeHelpKey: #selectPath |
|
1526 | 261 |
#label: 'System Libraries:' |
262 |
#model: #doSelectLibrary: |
|
263 |
#actionValue: 'SystemLibrary' |
|
264 |
) |
|
265 |
#(#ComboBoxSpec |
|
266 |
#name: 'systemLibrariesComboBox' |
|
1558 | 267 |
#layout: #(#LayoutFrame 150 0 286 0 0 1 308 0) |
1526 | 268 |
#activeHelpKey: #systemLibaries |
269 |
#model: #systemLibrary |
|
270 |
#immediateAccept: false |
|
271 |
#acceptOnTab: false |
|
272 |
#comboList: #systemLibraries |
|
273 |
) |
|
1558 | 274 |
#(#SequenceViewSpec |
275 |
#name: 'listOfCategoriesList' |
|
276 |
#layout: #(#LayoutFrame 0 0.0 56 0 0 0.3 195 0) |
|
277 |
#activeHelpKey: #libraryClasses |
|
278 |
#model: #selectionOfCategory |
|
279 |
#hasHorizontalScrollBar: true |
|
280 |
#hasVerticalScrollBar: true |
|
281 |
#miniScrollerVertical: true |
|
282 |
#backgroundColor: #(#Color 86.9993 86.9993 86.9993) |
|
283 |
#useIndex: false |
|
284 |
#sequenceList: #listOfCategories |
|
285 |
) |
|
286 |
#(#SequenceViewSpec |
|
287 |
#name: 'listOfClassesList' |
|
288 |
#layout: #(#LayoutFrame 0 0.3 56 0 0 0.6 195 0) |
|
289 |
#activeHelpKey: #libraryClasses |
|
290 |
#model: #selectionOfClasses |
|
291 |
#hasHorizontalScrollBar: true |
|
292 |
#hasVerticalScrollBar: true |
|
293 |
#miniScrollerVertical: true |
|
294 |
#backgroundColor: #(#Color 86.9993 86.9993 86.9993) |
|
295 |
#isMultiSelect: true |
|
296 |
#useIndex: false |
|
297 |
#sequenceList: #listOfClasses |
|
298 |
) |
|
299 |
#(#ActionButtonSpec |
|
300 |
#name: 'sourceDirectoryButton1' |
|
301 |
#layout: #(#LayoutFrame 4 0 252 0 147 0 276 0) |
|
302 |
#activeHelpKey: #selectPath |
|
303 |
#label: 'Source Directory:' |
|
304 |
#model: #doSelectDirectory: |
|
305 |
#actionValue: 'Source' |
|
306 |
) |
|
307 |
#(#InputFieldSpec |
|
308 |
#name: 'sourceDirectoryField' |
|
309 |
#layout: #(#LayoutFrame 150 0 253 0 0 1.0 275 0) |
|
310 |
#activeHelpKey: #sourceDirectory |
|
311 |
#model: #sourceDirectory |
|
312 |
) |
|
1560 | 313 |
#(#ActionButtonSpec |
314 |
#name: 'removeButton' |
|
315 |
#layout: #(#LayoutFrame -32 0.6 34 0 -1 0.6 56 0) |
|
316 |
#activeHelpKey: #removeLibraryClasses |
|
317 |
#hasCharacterOrientedLabel: false |
|
318 |
#label: 'leftIcon' |
|
319 |
#model: #removeLibraryClasses |
|
320 |
) |
|
321 |
#(#ActionButtonSpec |
|
322 |
#name: 'addButton' |
|
323 |
#layout: #(#LayoutFrame 1 0.6 34 0 32 0.6 56 0) |
|
324 |
#activeHelpKey: #addLibraryClasses |
|
325 |
#hasCharacterOrientedLabel: false |
|
326 |
#label: 'rightIcon' |
|
327 |
#model: #addLibraryClasses |
|
328 |
) |
|
1526 | 329 |
) |
330 |
) |
|
331 |
) |
|
332 |
#(#DividerSpec |
|
333 |
#name: 'Separator5' |
|
334 |
#layout: #(#LayoutFrame -144 1 0 0.0 -138 1 0 1.0) |
|
335 |
#orientation: #vertical |
|
336 |
) |
|
337 |
#(#ViewSpec |
|
338 |
#name: 'Box3' |
|
339 |
#layout: #(#LayoutFrame -134 1 0 0.0 0 1.0 0 1.0) |
|
340 |
#component: |
|
341 |
#(#SpecCollection |
|
342 |
#collection: |
|
343 |
#( |
|
344 |
#(#FramedBoxSpec |
|
345 |
#name: 'FramedBox' |
|
1558 | 346 |
#layout: #(#LayoutFrame -4 0.0 4 0.0 0 1.0 -128 1.0) |
1526 | 347 |
#component: |
348 |
#(#SpecCollection |
|
349 |
#collection: |
|
350 |
#( |
|
351 |
#(#CheckBoxSpec |
|
352 |
#name: 'spaceCheckBox' |
|
1558 | 353 |
#layout: #(#LayoutFrame 12 0 24 0 21 1 46 0) |
1526 | 354 |
#activeHelpKey: #optspace |
355 |
#model: #optspace |
|
356 |
#label: 'Space' |
|
357 |
) |
|
358 |
#(#CheckBoxSpec |
|
359 |
#name: 'space2CheckBox' |
|
1558 | 360 |
#layout: #(#LayoutFrame 12 0 48 0 21 1 70 0) |
1526 | 361 |
#activeHelpKey: #optspace2 |
362 |
#model: #optspace2 |
|
363 |
#label: 'Space2' |
|
364 |
) |
|
365 |
#(#CheckBoxSpec |
|
366 |
#name: 'space3CheckBox' |
|
1558 | 367 |
#layout: #(#LayoutFrame 12 0 72 0 21 1 94 0) |
1526 | 368 |
#activeHelpKey: #optspace3 |
369 |
#model: #optspace3 |
|
370 |
#label: 'Space3' |
|
371 |
) |
|
372 |
#(#CheckBoxSpec |
|
373 |
#name: 'inlineCheckBox' |
|
1558 | 374 |
#layout: #(#LayoutFrame 12 0 96 0 21 1 118 0) |
1526 | 375 |
#activeHelpKey: #optinline |
376 |
#model: #optinline |
|
377 |
#label: 'Inline' |
|
378 |
) |
|
379 |
#(#CheckBoxSpec |
|
380 |
#name: 'inlineNewCheckBox' |
|
1558 | 381 |
#layout: #(#LayoutFrame 12 0 120 0 21 1 142 0) |
1526 | 382 |
#activeHelpKey: #inlineNew |
383 |
#model: #inlineNew |
|
384 |
#label: 'Inline New' |
|
385 |
) |
|
1558 | 386 |
#(#CheckBoxSpec |
387 |
#name: 'linkSourcesCheckBox' |
|
388 |
#layout: #(#LayoutFrame 12 0 144 0 21 1 166 0) |
|
389 |
#activeHelpKey: #linkSources |
|
390 |
#model: #linkSources |
|
391 |
#label: 'Link Sources' |
|
392 |
) |
|
1526 | 393 |
) |
394 |
) |
|
1558 | 395 |
#label: 'Options' |
1526 | 396 |
#labelPosition: #topLeft |
397 |
) |
|
398 |
#(#VerticalPanelViewSpec |
|
399 |
#name: 'VerticalPanel' |
|
400 |
#layout: #(#LayoutFrame 0 0.0 -68 1 -6 1.0 -2 1.0) |
|
401 |
#component: |
|
402 |
#(#SpecCollection |
|
403 |
#collection: |
|
404 |
#( |
|
405 |
#(#ActionButtonSpec |
|
406 |
#name: 'buildButton' |
|
407 |
#activeHelpKey: #build |
|
408 |
#label: 'Build' |
|
409 |
#model: #doBuild |
|
410 |
#extent: #(#Point 128 32) |
|
411 |
) |
|
412 |
#(#ActionButtonSpec |
|
413 |
#name: 'stopButton' |
|
414 |
#activeHelpKey: #stop |
|
415 |
#label: 'Stop' |
|
416 |
#model: #doStop |
|
417 |
#extent: #(#Point 128 31) |
|
418 |
) |
|
419 |
) |
|
420 |
) |
|
421 |
#horizontalLayout: #fit |
|
422 |
#verticalLayout: #fit |
|
423 |
#horizontalSpace: 3 |
|
424 |
#verticalSpace: 3 |
|
425 |
) |
|
426 |
) |
|
427 |
) |
|
428 |
) |
|
429 |
) |
|
430 |
) |
|
431 |
#borderWidth: 1 |
|
432 |
) |
|
433 |
#(#SubCanvasSpec |
|
434 |
#name: 'shellViewSubCanvas' |
|
1558 | 435 |
#layout: #(#LayoutFrame 0 0.0 318 0 0 1.0 -26 1) |
1526 | 436 |
#hasHorizontalScrollBar: false |
437 |
#hasVerticalScrollBar: false |
|
438 |
#clientHolder: #shellView |
|
439 |
) |
|
440 |
#(#UISubSpecification |
|
441 |
#name: 'windowSpecForInfoBar' |
|
442 |
#layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
|
443 |
#majorKey: #ToolApplicationModel |
|
444 |
#minorKey: #windowSpecForInfoBar |
|
445 |
) |
|
446 |
) |
|
447 |
) |
|
448 |
) |
|
449 |
! ! |
|
450 |
||
451 |
!LibraryBuilder class methodsFor:'menu specs'! |
|
452 |
||
453 |
menu |
|
454 |
"This resource specification was automatically generated |
|
455 |
by the MenuEditor of ST/X." |
|
456 |
||
457 |
"Do not manually edit this!! If it is corrupted, |
|
458 |
the MenuEditor may not be able to read the specification." |
|
459 |
||
460 |
" |
|
461 |
MenuEditor new openOnClass:LibraryBuilder andSelector:#menu |
|
462 |
(Menu new fromLiteralArrayEncoding:(LibraryBuilder menu)) startUp |
|
463 |
" |
|
464 |
||
465 |
<resource: #menu> |
|
466 |
||
467 |
^ |
|
468 |
||
469 |
#(#Menu |
|
470 |
||
471 |
#( |
|
472 |
#(#MenuItem |
|
1558 | 473 |
#label: 'About' |
474 |
#labelImage: #(#ResourceRetriever nil #menuIcon) |
|
475 |
#submenuChannel: #menuAbout |
|
476 |
) |
|
477 |
#(#MenuItem |
|
1526 | 478 |
#label: 'File' |
479 |
#submenu: |
|
480 |
#(#Menu |
|
481 |
||
482 |
#( |
|
483 |
#(#MenuItem |
|
1558 | 484 |
#label: 'Load...' |
485 |
#value: #doLoad |
|
486 |
) |
|
487 |
#(#MenuItem |
|
488 |
#label: '-' |
|
489 |
) |
|
490 |
#(#MenuItem |
|
491 |
#label: 'Save As...' |
|
492 |
#value: #doSaveAs |
|
493 |
) |
|
494 |
#(#MenuItem |
|
495 |
#label: '-' |
|
496 |
) |
|
497 |
#(#MenuItem |
|
498 |
#label: 'Exit' |
|
499 |
#value: #closeRequest |
|
500 |
#activeHelpKey: #fileExit |
|
501 |
) |
|
502 |
) nil |
|
503 |
nil |
|
504 |
) |
|
505 |
) |
|
506 |
#(#MenuItem |
|
507 |
#label: 'Library' |
|
508 |
#submenu: |
|
509 |
#(#Menu |
|
510 |
||
511 |
#( |
|
512 |
#(#MenuItem |
|
1526 | 513 |
#label: 'Build' |
514 |
#value: #doBuild |
|
515 |
#activeHelpKey: #build |
|
516 |
) |
|
517 |
#(#MenuItem |
|
518 |
#label: 'Stop' |
|
519 |
#value: #doStop |
|
520 |
#activeHelpKey: #stop |
|
521 |
) |
|
522 |
#(#MenuItem |
|
523 |
#label: '-' |
|
524 |
) |
|
525 |
#(#MenuItem |
|
1558 | 526 |
#label: 'File Out Class' |
527 |
#value: #doFileOutClass |
|
528 |
#activeHelpKey: #fileOutClasses |
|
1526 | 529 |
) |
530 |
) nil |
|
531 |
nil |
|
532 |
) |
|
533 |
) |
|
534 |
#(#MenuItem |
|
535 |
#label: 'Settings' |
|
536 |
#submenu: |
|
537 |
#(#Menu |
|
538 |
||
539 |
#( |
|
540 |
#(#MenuItem |
|
541 |
#label: 'Target Directory...' |
|
542 |
#value: #doSelectDirectory: |
|
543 |
#activeHelpKey: #targetDirectory |
|
544 |
#argument: 'Target' |
|
545 |
) |
|
546 |
#(#MenuItem |
|
547 |
#label: 'Top Directory...' |
|
548 |
#value: #doSelectDirectory: |
|
549 |
#activeHelpKey: #topDirectory |
|
550 |
#argument: 'Top' |
|
551 |
) |
|
552 |
#(#MenuItem |
|
553 |
#label: '-' |
|
554 |
) |
|
555 |
#(#MenuItem |
|
556 |
#label: 'System Libraries...' |
|
557 |
#value: #doSelectLibrary: |
|
558 |
#activeHelpKey: #systemLibaries |
|
559 |
#argument: 'SystemLibrary' |
|
560 |
) |
|
561 |
#(#MenuItem |
|
562 |
#label: '-' |
|
563 |
) |
|
564 |
#(#MenuItem |
|
565 |
#label: 'Fonts' |
|
566 |
#submenuChannel: #menuFont |
|
567 |
) |
|
568 |
) nil |
|
569 |
nil |
|
570 |
) |
|
571 |
) |
|
572 |
#(#MenuItem |
|
573 |
#label: 'Help' |
|
574 |
#startGroup: #right |
|
575 |
#submenuChannel: #menuHelp |
|
576 |
) |
|
577 |
) nil |
|
578 |
nil |
|
579 |
) |
|
580 |
! ! |
|
581 |
||
582 |
!LibraryBuilder methodsFor:'actions'! |
|
583 |
||
584 |
addLibraryClasses |
|
1558 | 585 |
"adds selecetd classes to the list of the library classes" |
1526 | 586 |
|
587 |
|libraryClasses selectionOfLibraryClasses| |
|
588 |
||
1560 | 589 |
self selectionOfClasses value size == 0 |
590 |
ifTrue: [^self warn: 'No class selected!!']. |
|
1558 | 591 |
|
1526 | 592 |
libraryClasses := (aspects at: #libraryClasses) value. |
593 |
||
594 |
(aspects at: #libraryClasses) value: |
|
595 |
((libraryClasses, |
|
1558 | 596 |
(selectionOfLibraryClasses := self selectionOfClasses value)) asSet asSortedCollection asArray |
1526 | 597 |
topologicalSort:[:n1 :n2 | ((Smalltalk at: n2) isSubclassOf: (Smalltalk at: n1))]) asOrderedCollection. |
598 |
||
1558 | 599 |
self selectionOfLibraryClasses value: selectionOfLibraryClasses. |
600 |
||
601 |
self selectionOfCategory changed |
|
1526 | 602 |
! |
603 |
||
604 |
classSelected: anIndexCollection |
|
605 |
"updates the field of the class name after a selection in the class tree view" |
|
606 |
||
1552 | 607 |
self valueOfClassName value: (self selectionOfClasses value first name upTo: $ ) |
1526 | 608 |
|
609 |
||
610 |
! |
|
611 |
||
612 |
doBuild |
|
613 |
"builds the library by doing following tasks: |
|
614 |
0. Clobber the target directory of the application |
|
615 |
1. File out the source code of all library classes |
|
1558 | 616 |
2. Link the source code of all library classes into the source directory |
617 |
3. Generate the file Make.Proto |
|
618 |
4. Generate the file Makefile |
|
619 |
5. Make the library |
|
1526 | 620 |
" |
1558 | 621 |
|dir compilerPath compilerFlags block0 block1 block2 block3 block4 block5 priority| |
1526 | 622 |
|
623 |
task notNil ifTrue: [self warn: 'There is already a build running!!']. |
|
624 |
||
625 |
self inform: 'Starting building of library...' asBoldText. |
|
626 |
||
627 |
(dir := self getTargetDirectory) isNil |
|
628 |
ifTrue: [^self warn: 'Could not create library directory!!']. |
|
629 |
||
630 |
shellView directory: dir. |
|
631 |
||
632 |
(compilerPath := ByteCodeCompiler ccPath, ' ') isNil |
|
633 |
ifTrue: [^self warn:'Define first a system compiler!!']. |
|
634 |
compilerFlags := self getCompilerFlags. |
|
635 |
||
636 |
block0 := self getBlockForClobberingTargetDirectory: dir. |
|
637 |
block1 := self getBlockForFilingOutAllClassesIn: dir. |
|
1558 | 638 |
block2 := self getBlockForLinkingSourceOfAllClassesIn: dir. |
639 |
block3 := self getBlockForGeneratingMakeProtoFileIn: dir. |
|
640 |
block4 := self getBlockForGeneratingMakefileFileIn: dir. |
|
641 |
block5 := self getBlockForMakingTheLibraryIn: dir. |
|
1526 | 642 |
|
643 |
priority := Processor userBackgroundPriority. |
|
644 |
task := block0 forkAt: priority. |
|
645 |
task addExitAction: |
|
646 |
[ |
|
647 |
task isNil ifTrue: |
|
648 |
[ |
|
649 |
task := block1 forkAt: priority. |
|
650 |
task addExitAction: |
|
651 |
[ |
|
652 |
task isNil ifTrue: |
|
653 |
[ |
|
654 |
task := block2 forkAt: priority. |
|
655 |
task addExitAction: |
|
656 |
[ |
|
657 |
task isNil ifTrue: |
|
658 |
[ |
|
659 |
task := block3 forkAt: priority. |
|
660 |
task addExitAction: |
|
661 |
[ |
|
662 |
task isNil ifTrue: |
|
663 |
[ |
|
664 |
task := block4 forkAt: priority. |
|
665 |
task addExitAction: |
|
666 |
[ |
|
1558 | 667 |
task isNil ifTrue: |
668 |
[ |
|
669 |
task := block5 forkAt: priority. |
|
670 |
task addExitAction: |
|
671 |
[ |
|
672 |
task isNil |
|
673 |
ifTrue: [self inform: 'Library build.' asBoldText] |
|
1630 | 674 |
ifFalse: [self informTargetBuildingFailed]. |
1558 | 675 |
task := nil. |
676 |
Display beep. |
|
677 |
] |
|
1630 | 678 |
] ifFalse: [self informTargetBuildingFailed] |
1558 | 679 |
] |
1630 | 680 |
] ifFalse: [self informTargetBuildingFailed] |
1526 | 681 |
] |
1630 | 682 |
] ifFalse: [self informTargetBuildingFailed] |
1526 | 683 |
] |
1630 | 684 |
] ifFalse: [self informTargetBuildingFailed] |
1526 | 685 |
] |
1630 | 686 |
] ifFalse: [self informTargetBuildingFailed] |
1526 | 687 |
]. |
688 |
||
689 |
||
690 |
||
691 |
||
692 |
||
693 |
||
694 |
||
695 |
! |
|
696 |
||
1558 | 697 |
doFileOutClass |
698 |
"files out the source code of the selected classes" |
|
699 |
||
700 |
|dir| |
|
701 |
(dir := self getTargetDirectory) isNil |
|
702 |
ifTrue: [^self warn: 'Could not create library directory!!']. |
|
703 |
||
704 |
self selectionOfLibraryClasses value do: |
|
705 |
[:clsName | |
|
706 |
(Smalltalk at: clsName) fileOutIn: dir |
|
707 |
] |
|
708 |
||
709 |
! |
|
710 |
||
711 |
doLoad |
|
712 |
"opens a dialog for loading a library specification" |
|
713 |
||
714 |
|selectedFile fileStream fileAspects| |
|
715 |
||
716 |
(selectedFile := FileSelectionBrowser |
|
717 |
request: 'Load Library Specification' |
|
718 |
fileName: ((aspects at: #targetDirectory) value asFilename construct: (aspects at: #libraryName) value,'.def') name |
|
719 |
withFileFilters: #('*.def')) notNil |
|
720 |
ifTrue: |
|
721 |
[ |
|
722 |
(fileStream := selectedFile asFilename readStream) notNil |
|
723 |
ifTrue: |
|
724 |
[ |
|
725 |
fileAspects := Compiler evaluate: fileStream contents asString. |
|
726 |
fileAspects associationsDo: |
|
727 |
[:aspect| |
|
728 |
(aspects at: aspect key) value: aspect value |
|
729 |
]. |
|
730 |
shellView directory: (aspects at: #targetDirectory) value. |
|
731 |
fileStream close |
|
732 |
] |
|
733 |
] |
|
734 |
||
735 |
||
736 |
! |
|
737 |
||
738 |
doSaveAs |
|
739 |
"opens a dialog for saving the the library specification" |
|
740 |
||
741 |
|selectedFile fileStream longestStringSize| |
|
742 |
||
743 |
(selectedFile := FileSelectionBrowser |
|
744 |
request: 'Save Library Specification' |
|
745 |
fileName: ((aspects at: #targetDirectory) value asFilename construct: (aspects at: #libraryName) value,'.def') name |
|
746 |
withFileFilters: #('*.def')) notNil |
|
747 |
ifTrue: |
|
748 |
[ |
|
749 |
(fileStream := selectedFile asFilename writeStream) notNil |
|
750 |
ifTrue: |
|
751 |
[ |
|
752 |
longestStringSize := aspects keys first size. |
|
753 |
aspects keys do: [:key| key size > longestStringSize ifTrue: [longestStringSize := key size]]. |
|
754 |
fileStream nextPutAll: 'IdentityDictionary new'; cr. |
|
755 |
aspects associationsDo: |
|
756 |
[:aspect| |
|
757 |
fileStream nextPutAll: 'at: #', aspect key. |
|
758 |
(longestStringSize - aspect key size) timesRepeat: [fileStream space]. |
|
759 |
fileStream nextPutAll: ' put: '. |
|
760 |
aspect value value storeOn: fileStream. |
|
761 |
fileStream nextPutAll: ';'. |
|
762 |
fileStream cr |
|
763 |
]. |
|
764 |
fileStream nextPutAll: 'yourself'. |
|
765 |
fileStream close |
|
766 |
] |
|
767 |
] |
|
768 |
||
769 |
||
770 |
! |
|
771 |
||
1630 | 772 |
informTargetBuildingFailed |
1526 | 773 |
"informs that something went wrong" |
774 |
||
1630 | 775 |
self inform: 'Library building failed.' asBoldText. |
1526 | 776 |
task := nil |
777 |
! |
|
778 |
||
779 |
removeLibraryClasses |
|
1558 | 780 |
"removes selected library classes from the list of the library classes" |
1526 | 781 |
|
782 |
|libraryClasses| |
|
783 |
||
1558 | 784 |
self selectionOfLibraryClasses value size == 0 ifTrue: [^self warn: 'No library class selected!!']. |
785 |
||
1526 | 786 |
libraryClasses := aspects at: #libraryClasses. |
787 |
||
788 |
self selectionOfLibraryClasses value do: |
|
789 |
[:clsName| |
|
790 |
libraryClasses value remove: clsName ifAbsent: nil |
|
791 |
]. |
|
1558 | 792 |
self selectionOfCategory changed. |
793 |
libraryClasses changed |
|
1526 | 794 |
|
795 |
! ! |
|
796 |
||
797 |
!LibraryBuilder methodsFor:'aspects'! |
|
798 |
||
1558 | 799 |
listOfCategories |
800 |
"returns the list of categories as value holder" |
|
1526 | 801 |
|
802 |
|holder| |
|
1558 | 803 |
(holder := builder bindingAt:#listOfCategories) isNil ifTrue:[ |
804 |
builder aspectAt:#listOfCategories put: (holder := List withAll: |
|
805 |
((Object withAllSubclasses reject: [:cls|cls isPrivate]) collect: [:cls| cls category]) asSet asSortedCollection) |
|
1526 | 806 |
]. |
807 |
^ holder |
|
808 |
||
809 |
||
810 |
||
811 |
! |
|
812 |
||
1558 | 813 |
listOfClasses |
814 |
"returns the list of classes belonging to the selected category as value holder" |
|
815 |
||
816 |
|holder| |
|
817 |
(holder := builder bindingAt:#listOfClasses) isNil ifTrue:[ |
|
818 |
builder aspectAt:#listOfClasses put: (holder := List new) |
|
819 |
]. |
|
820 |
^ holder |
|
821 |
||
822 |
||
823 |
||
824 |
! |
|
825 |
||
826 |
selectionOfCategory |
|
827 |
"returns the selected category as value holder" |
|
828 |
||
829 |
|holder| |
|
830 |
(holder := builder bindingAt:#selectionOfCategory) isNil ifTrue:[ |
|
831 |
builder aspectAt:#selectionOfCategory put:(holder := ValueHolder new). |
|
832 |
holder onChangeSend: #value to: |
|
833 |
[self listOfClasses contents: |
|
834 |
((Object withAllSubclasses select: [:cls| cls category = holder value and: [cls isPrivate not]]) collect: [:cls| cls name]). |
|
835 |
self selectionOfLibraryClasses value: ((aspects at: #libraryClasses) value select: [:clsName| self listOfClasses includes: clsName ]). |
|
836 |
self selectionOfClasses value: (self listOfClasses select: [:clsName| self selectionOfLibraryClasses value includes: clsName ])]. |
|
837 |
]. |
|
838 |
^ holder |
|
839 |
||
840 |
! |
|
841 |
||
1526 | 842 |
selectionOfClasses |
1558 | 843 |
"returns the selected classes as value holder" |
1526 | 844 |
|
845 |
|holder| |
|
846 |
(holder := builder bindingAt:#selectionOfClasses) isNil ifTrue:[ |
|
847 |
builder aspectAt:#selectionOfClasses put:(holder := ValueHolder new). |
|
848 |
]. |
|
849 |
^ holder |
|
850 |
||
851 |
! |
|
852 |
||
853 |
selectionOfLibraryClasses |
|
1558 | 854 |
"returns the selected library classes as value holder" |
1526 | 855 |
|
856 |
|holder| |
|
857 |
(holder := builder bindingAt:#selectionOfLibraryClasses) isNil ifTrue:[ |
|
1558 | 858 |
builder aspectAt:#selectionOfLibraryClasses put:(holder := Array new asValue). |
1526 | 859 |
]. |
860 |
^ holder |
|
861 |
||
862 |
! ! |
|
863 |
||
864 |
!LibraryBuilder methodsFor:'building blocks'! |
|
865 |
||
866 |
getBlockForFilingOutAllClassesIn: dir |
|
867 |
"returns the block for filing out all Smalltalk-source files into the target directory" |
|
868 |
||
869 |
^ |
|
870 |
[ |
|
871 |
|libraryClasses| |
|
872 |
(libraryClasses := self getLibraryClasses) isEmpty |
|
873 |
ifTrue: |
|
874 |
[ |
|
875 |
self warn:'No class libraries defined!!' |
|
876 |
] |
|
877 |
ifFalse: |
|
878 |
[ |
|
879 |
libraryClasses do: |
|
880 |
[:cls | |
|
881 |
cls isLoaded ifFalse: [cls autoload]. |
|
1558 | 882 |
cls fileOutIn: dir. |
1526 | 883 |
]. |
884 |
task := nil |
|
885 |
] |
|
886 |
] |
|
887 |
||
888 |
! |
|
889 |
||
890 |
getBlockForGeneratingMakeProtoFileIn: dir |
|
891 |
"returns the block for generating the file Make.proto" |
|
892 |
||
893 |
^ |
|
894 |
[ |
|
895 |
|makeProtoFile makeProtoFileStream conf libraryClasses| |
|
896 |
||
1560 | 897 |
(makeProtoFileStream := (makeProtoFile := dir asFilename construct:'Make.proto') writeStream) isNil |
1526 | 898 |
ifTrue: |
899 |
[ |
|
1558 | 900 |
self warn: 'Cannot create Make.proto' |
1526 | 901 |
] |
902 |
ifFalse: |
|
903 |
[ |
|
904 |
libraryClasses := self getLibraryClasses collect: [:cls|Smalltalk fileNameForClass:cls name]. |
|
905 |
||
906 |
makeProtoFileStream |
|
907 |
nextPutAll:'#Make.proto automatically generated by the Library Builder of ST/X.'; cr; cr; |
|
908 |
nextPutAll:'TOP=', (aspects at: #topDirectory) value; cr; |
|
909 |
nextPutAll:'LIBNAME=', (aspects at: #libraryName) value ; cr; |
|
1558 | 910 |
nextPutAll:'PACKAGE=tz:$(LIBNAME)' ; cr; |
1526 | 911 |
nextPutAll:'STCLOCALOPTIMIZATIONS=', |
912 |
((aspects at: #optspace ) value ifTrue: [' +optspace' ] ifFalse: ['']), |
|
913 |
((aspects at: #optspace2) value ifTrue: [' +optspace2'] ifFalse: ['']), |
|
914 |
((aspects at: #optspace3) value ifTrue: [' +optspace3'] ifFalse: ['']), |
|
915 |
((aspects at: #optinline) value ifTrue: [' +optinline'] ifFalse: ['']), |
|
916 |
((aspects at: #inlineNew) value ifTrue: [' +inlineNew'] ifFalse: ['']); cr; |
|
917 |
||
1558 | 918 |
nextPutAll:'STCLOCALOPT=$(STCLOCALOPTIMIZATIONS) -H. -package=$(PACKAGE) -Z$(LIBNAME) $(COMMONSYMFLAG) $(INITCODESEPFLAG)'; cr; |
1526 | 919 |
nextPutAll:'RCSSOURCES=*.st Make.proto' ; cr; |
920 |
nextPutAll:'all:: classLibRule' ; cr; |
|
1558 | 921 |
nextPutAll:'LINK_ADDITIONAL_OBJS=', ((aspects at: #systemLibraries) value asStringCollection asStringWith: $ ); cr. |
1526 | 922 |
|
923 |
makeProtoFileStream nextPutAll:'OBJS= \'; cr. |
|
924 |
||
925 |
libraryClasses do: |
|
926 |
[:clsFileName| |
|
927 |
makeProtoFileStream tab; nextPutAll: clsFileName; nextPutAll:'.$(O)'; tab. |
|
928 |
libraryClasses last ~~ clsFileName ifTrue: [makeProtoFileStream nextPutAll: '\'; cr] |
|
929 |
]. |
|
930 |
||
931 |
makeProtoFileStream cr; cr; nextPutAll:'# BEGINMAKEDEPEND --- do not remove this line; make depend needs it'. |
|
932 |
libraryClasses do: |
|
933 |
[:clsFileName| |
|
934 |
makeProtoFileStream cr; nextPutAll: clsFileName; nextPutAll:'.$(O): '; nextPutAll: clsFileName; nextPutAll:'.st $(STCHDR)'. |
|
935 |
]. |
|
936 |
makeProtoFileStream cr; nextPutAll:'# ENDMAKEDEPEND --- do not remove this line'. |
|
937 |
||
938 |
makeProtoFileStream close. |
|
939 |
||
940 |
task := nil |
|
941 |
] |
|
942 |
] |
|
943 |
||
944 |
! |
|
945 |
||
946 |
getBlockForGeneratingMakefileFileIn: dir |
|
947 |
"returns the block for generating the file Makefile" |
|
948 |
||
949 |
^ |
|
950 |
[ |
|
951 |
|makeFile makeFileStream makeProtoFile catOn| |
|
952 |
||
1560 | 953 |
(makeFileStream := (makeFile := dir asFilename construct:'Makefile') writeStream) isNil |
1526 | 954 |
ifTrue: |
955 |
[ |
|
956 |
self warn:'Cannot create Makefile'. |
|
957 |
] |
|
958 |
ifFalse: |
|
959 |
[ |
|
960 |
catOn := |
|
961 |
[:aFileName| |
|
962 |
|systemFileStream| |
|
963 |
systemFileStream := Smalltalk systemFileStreamFor: ((aspects at: #topDirectory) value asFilename construct: aFileName) name. |
|
964 |
makeFileStream nextPutAll: systemFileStream contents asString. |
|
965 |
systemFileStream close |
|
966 |
]. |
|
967 |
||
968 |
catOn value: (aspects at: #standardHeaderPath) value. |
|
969 |
catOn value: (aspects at: #commonDefinesPath) value. |
|
970 |
catOn value: (aspects at: #vendorCommonDefinesPath) value. |
|
971 |
catOn value: (aspects at: #vendorCommonConfigurationDefinesPath) value. |
|
972 |
catOn value: (aspects at: #packagePath) value. |
|
973 |
catOn value: (aspects at: #standardHeader2Path) value. |
|
974 |
||
975 |
(makeProtoFile := self getTargetDirectory asFilename construct:'Make.proto') exists |
|
976 |
ifTrue: |
|
977 |
[ |
|
978 |
makeFileStream nextPutAll:makeProtoFile readStream contents asString. |
|
979 |
]. |
|
980 |
||
981 |
makeFileStream cr; cr; nextPutAll: 'CONF=', (aspects at: #configuration) value. |
|
982 |
catOn value: (aspects at: #standardRulesPath) value. |
|
983 |
||
984 |
makeFileStream close. |
|
985 |
||
986 |
task := nil |
|
987 |
] |
|
988 |
] |
|
989 |
||
990 |
||
991 |
! |
|
992 |
||
1558 | 993 |
getBlockForLinkingSourceOfAllClassesIn: dir |
994 |
"returns the block for linking source of all Smalltalk-source files into the target directory" |
|
995 |
||
996 |
^ |
|
997 |
[ |
|
998 |
self getLibraryClasses do: |
|
999 |
[:cls | |
|
1000 |
(aspects at: #linkSources) value |
|
1001 |
ifTrue: |
|
1002 |
[ |
|
1003 |
self executeCommand: |
|
1004 |
'ln -s ', |
|
1005 |
((aspects at: #targetDirectory) value asFilename construct: cls name, '.st') name, ' ', |
|
1006 |
(aspects at: #sourceDirectory) value inDirectory: dir. |
|
1007 |
] |
|
1008 |
]. |
|
1009 |
task := nil |
|
1010 |
] |
|
1011 |
||
1012 |
! |
|
1013 |
||
1526 | 1014 |
getBlockForMakingTheLibraryIn: dir |
1015 |
"returns the block for making the library" |
|
1016 |
||
1017 |
^ |
|
1018 |
[ |
|
1019 |
self inform: 'Making the library...'. |
|
1020 |
self executeCommand: 'make' inDirectory: dir. |
|
1021 |
task := nil |
|
1022 |
] |
|
1023 |
||
1024 |
||
1025 |
! ! |
|
1026 |
||
1027 |
!LibraryBuilder methodsFor:'initialization'! |
|
1028 |
||
1029 |
initialize |
|
1558 | 1030 |
"initializes all aspects" |
1526 | 1031 |
|
1564 | 1032 |
|topDir myAspects| |
1526 | 1033 |
|
1034 |
super initialize. |
|
1035 |
||
1564 | 1036 |
topDir := (Filename currentDirectory asFilename construct:'..') construct:'..'. |
1526 | 1037 |
|
1560 | 1038 |
myAspects := IdentityDictionary new. |
1039 |
aspects associationsDo: [:aspect| myAspects at: aspect key put: aspect value copy]. |
|
1040 |
aspects := myAspects. |
|
1041 |
||
1042 |
(aspects at: #systemLibrary) addDependent: self. |
|
1526 | 1043 |
self aspectsAt: #libraryName putFirst: 'libnew'. |
1044 |
self aspectsAt: #libraryClasses putFirst: OrderedCollection new. |
|
1045 |
self getLibraryClasses. "do check classes" |
|
1046 |
self aspectsAt: #libraryDefines putFirst: '-L/usr/X11/lib -Llib -Lbinary -L. -L/usr/local/lib -L/usr/lib -L/lib -lm -ldl -lXext -lX11'. |
|
1564 | 1047 |
self aspectsAt: #targetDirectory putFirst: (topDir pathName asFilename construct: 'libnew') pathName. |
1048 |
self aspectsAt: #sourceDirectory putFirst: topDir pathName. |
|
1526 | 1049 |
|
1050 |
self aspectsAt: #standardHeaderPath putFirst: '/rules/stdHeader'. |
|
1051 |
self aspectsAt: #commonDefinesPath putFirst: '/configurations/COMMON/defines'. |
|
1052 |
self aspectsAt: #vendorCommonDefinesPath putFirst: '/configurations/vendorConf'. |
|
1053 |
self aspectsAt: #vendorCommonConfigurationDefinesPath putFirst: '/configurations/myConf'. |
|
1054 |
self aspectsAt: #packagePath putFirst: '/configurations/myPack'. |
|
1055 |
self aspectsAt: #standardHeader2Path putFirst: '/rules/stdHeader2'. |
|
1056 |
self aspectsAt: #standardRulesPath putFirst: '/rules/stdRules'. |
|
1057 |
||
1558 | 1058 |
self aspectsAt: #optspace putFirst: false. |
1059 |
self aspectsAt: #optspace2 putFirst: false. |
|
1060 |
self aspectsAt: #optspace3 putFirst: false. |
|
1061 |
self aspectsAt: #optinline putFirst: false. |
|
1062 |
self aspectsAt: #inlineNew putFirst: false. |
|
1063 |
||
1560 | 1064 |
self aspectsAt: #linkSources putFirst: false. |
1526 | 1065 |
|
1066 |
! ! |
|
1067 |
||
1068 |
!LibraryBuilder methodsFor:'queries'! |
|
1069 |
||
1070 |
getLibraryClasses |
|
1071 |
"returns the 'real' library classes" |
|
1072 |
||
1073 |
|libraryClasses cls| |
|
1074 |
libraryClasses := OrderedCollection new. |
|
1075 |
(aspects at: #libraryClasses) value reverseDo: |
|
1076 |
[:clsName| |
|
1077 |
(cls := Smalltalk at: clsName) notNil |
|
1078 |
ifTrue: [libraryClasses add: cls] |
|
1079 |
ifFalse:[(aspects at: #libraryClasses) value remove: clsName] |
|
1080 |
]. |
|
1081 |
(aspects at: #libraryClasses) changed. |
|
1558 | 1082 |
^libraryClasses reverse |
1526 | 1083 |
! ! |
1084 |
||
16667 | 1085 |
!LibraryBuilder methodsFor:'startup & release'! |
1560 | 1086 |
|
1087 |
closeRequest |
|
1088 |
"close request; stores the aspects for the next try" |
|
1089 |
||
1090 |
self class aspects: aspects. |
|
1091 |
||
1092 |
super closeRequest |
|
1093 |
||
1094 |
||
1095 |
||
1096 |
! ! |
|
1097 |
||
1526 | 1098 |
!LibraryBuilder class methodsFor:'documentation'! |
1099 |
||
1100 |
version |
|
16667 | 1101 |
^ '$Header$' |
12650
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
1102 |
! |
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
1103 |
|
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
1104 |
version_HG |
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
1105 |
|
e0f607754b9a
Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12125
diff
changeset
|
1106 |
^ '$Changeset: <not expanded> $' |
1526 | 1107 |
! ! |
16667 | 1108 |