equal
deleted
inserted
replaced
10 hereby transferred. |
10 hereby transferred. |
11 " |
11 " |
12 |
12 |
13 "{ Package: 'stx:libbasic3' }" |
13 "{ Package: 'stx:libbasic3' }" |
14 |
14 |
15 BuildDefinition subclass:#ProjectDefinition |
15 ProjectDefinition subclass:#LibraryDefinition |
16 instanceVariableNames:'' |
16 instanceVariableNames:'' |
17 classVariableNames:'' |
17 classVariableNames:'' |
18 poolDictionaries:'' |
18 poolDictionaries:'' |
19 category:'System-Support-Projects' |
19 category:'System-Support-Projects' |
20 ! |
20 ! |
21 |
21 |
22 !ProjectDefinition class methodsFor:'documentation'! |
22 !LibraryDefinition class methodsFor:'documentation'! |
23 |
23 |
24 copyright |
24 copyright |
25 " |
25 " |
26 COPYRIGHT (c) 2006 by eXept Software AG |
26 COPYRIGHT (c) 2006 by eXept Software AG |
27 All Rights Reserved |
27 All Rights Reserved |
33 other person. No title to or ownership of the software is |
33 other person. No title to or ownership of the software is |
34 hereby transferred. |
34 hereby transferred. |
35 " |
35 " |
36 ! ! |
36 ! ! |
37 |
37 |
38 !ProjectDefinition class methodsFor:'defaults'! |
38 !LibraryDefinition class methodsFor:'defaults'! |
39 |
39 |
40 defaultDescription |
40 defaultDescription |
41 ^ 'a classLibrary' |
41 ^ 'a classLibrary' |
42 ! ! |
42 ! ! |
43 |
43 |
44 !ProjectDefinition class methodsFor:'file generation'! |
44 !LibraryDefinition class methodsFor:'file generation'! |
45 |
45 |
46 fileNamesToGenerate |
46 fileNamesToGenerate |
47 ^ #( |
47 ^ #( |
48 #('Make.proto' #'generate_make_dot_proto') |
48 #('Make.proto' #'generate_make_dot_proto') |
49 #('Make.spec' #'generate_make_dot_spec') |
49 #('Make.spec' #'generate_make_dot_spec') |
53 #('nt.def' #'generate_nt_dot_def') |
53 #('nt.def' #'generate_nt_dot_def') |
54 #('abbrev.stc' #'generate_abbrev_dot_stc') |
54 #('abbrev.stc' #'generate_abbrev_dot_stc') |
55 ) |
55 ) |
56 ! ! |
56 ! ! |
57 |
57 |
58 !ProjectDefinition class methodsFor:'file templates'! |
58 !LibraryDefinition class methodsFor:'file templates'! |
59 |
59 |
60 bc_dot_def |
60 bc_dot_def |
61 |
61 |
62 ^ |
62 ^ |
63 'LIBRARY %(LIBRARY_NAME) |
63 'LIBRARY %(LIBRARY_NAME) |
383 ^' %(CLASS).$(O) \' |
383 ^' %(CLASS).$(O) \' |
384 |
384 |
385 "Created: / 08-08-2006 / 20:16:46 / fm" |
385 "Created: / 08-08-2006 / 20:16:46 / fm" |
386 ! ! |
386 ! ! |
387 |
387 |
388 !ProjectDefinition class methodsFor:'mappings'! |
388 !LibraryDefinition class methodsFor:'mappings'! |
389 |
389 |
390 bc_dot_def_mappings |
390 bc_dot_def_mappings |
391 ^ (super bc_dot_def_mappings) |
391 ^ (super bc_dot_def_mappings) |
392 at:#'LIBRARY_NAME' put:[ self libraryName ]; |
392 at:#'LIBRARY_NAME' put:[ self libraryName ]; |
393 at:#'C_LIBRARY_NAME' put:[ self libraryName ]; |
393 at:#'C_LIBRARY_NAME' put:[ self libraryName ]; |
491 ^ (aString asString |
491 ^ (aString asString |
492 copyReplaceString:'_' withString:('_',($_ codePoint printStringRadix:8))) |
492 copyReplaceString:'_' withString:('_',($_ codePoint printStringRadix:8))) |
493 replaceAny:':' with:$_ |
493 replaceAny:':' with:$_ |
494 ! ! |
494 ! ! |
495 |
495 |
496 !ProjectDefinition class methodsFor:'mappings support'! |
496 !LibraryDefinition class methodsFor:'mappings support'! |
497 |
497 |
498 generateClassLines_libInit_dot_cc |
498 generateClassLines_libInit_dot_cc |
499 |
499 |
500 ^self compiled_classNames |
500 ^self compiled_classNames |
501 inject: '' |
501 inject: '' |
669 " |
669 " |
670 |
670 |
671 "Created: / 09-08-2006 / 13:12:01 / fm" |
671 "Created: / 09-08-2006 / 13:12:01 / fm" |
672 ! ! |
672 ! ! |
673 |
673 |
674 !ProjectDefinition class methodsFor:'sanity checks'! |
674 !LibraryDefinition class methodsFor:'sanity checks'! |
675 |
675 |
676 searchForInconsistencies |
676 searchForInconsistencies |
677 self searchForNeverCompiledSuperclasses. |
677 self searchForNeverCompiledSuperclasses. |
678 |
678 |
679 " |
679 " |
699 " |
699 " |
700 |
700 |
701 "Created: / 09-08-2006 / 16:31:54 / fm" |
701 "Created: / 09-08-2006 / 16:31:54 / fm" |
702 ! ! |
702 ! ! |
703 |
703 |
704 !ProjectDefinition class methodsFor:'testing'! |
704 !LibraryDefinition class methodsFor:'testing'! |
705 |
705 |
706 isProjectDefinition |
706 isProjectDefinition |
707 ^ self ~~ ProjectDefinition |
707 ^ self ~~ ProjectDefinition |
708 |
708 |
709 "Created: / 17-08-2006 / 14:11:46 / cg" |
709 "Created: / 17-08-2006 / 14:11:46 / cg" |
710 ! ! |
710 ! ! |
711 |
711 |
712 !ProjectDefinition class methodsFor:'update description'! |
712 !LibraryDefinition class methodsFor:'update description'! |
713 |
713 |
714 autoloadedClassNamesGeneratedCodeToCompile |
714 autoloadedClassNamesGeneratedCodeToCompile |
715 |classNamesCode| |
715 |classNamesCode| |
716 |
716 |
717 classNamesCode := 'autoloaded_classNames', String lf, '"This method has been automatically generated"'. |
717 classNamesCode := 'autoloaded_classNames', String lf, '"This method has been automatically generated"'. |
849 "/ value: 'description' |
849 "/ value: 'description' |
850 |
850 |
851 "Created: / 10-08-2006 / 16:35:47 / cg" |
851 "Created: / 10-08-2006 / 16:35:47 / cg" |
852 ! ! |
852 ! ! |
853 |
853 |
854 !ProjectDefinition class methodsFor:'documentation'! |
854 !LibraryDefinition class methodsFor:'documentation'! |
855 |
855 |
856 version |
856 version |
857 ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.21 2006-08-17 14:11:00 cg Exp $' |
857 ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.22 2006-08-17 15:24:38 cg Exp $' |
858 ! ! |
858 ! ! |