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