|
1 "{ Package: 'stx:goodies/regression/testData/packages/p2platform_specific_classes' }" |
|
2 |
|
3 "{ NameSpace: Smalltalk }" |
|
4 |
|
5 LibraryDefinition subclass:#stx_goodies_regression_testData_packages_p2platform_specific_classes |
|
6 instanceVariableNames:'' |
|
7 classVariableNames:'' |
|
8 poolDictionaries:'' |
|
9 category:'* Projects & Packages *' |
|
10 ! |
|
11 |
|
12 |
|
13 !stx_goodies_regression_testData_packages_p2platform_specific_classes class methodsFor:'description'! |
|
14 |
|
15 excludedFromPreRequisites |
|
16 "obsolete; temporarily, this is still called for, but will eventually vanish. |
|
17 |
|
18 List packages which are to be explicitely excluded from the automatic constructed |
|
19 prerequisites lists (both). |
|
20 If empty, everything that is found along the inheritance of any of |
|
21 my classes is considered to be a prerequisite package." |
|
22 |
|
23 ^ #( |
|
24 ) |
|
25 ! |
|
26 |
|
27 mandatoryPreRequisites |
|
28 "list packages which are mandatory as a prerequisite. |
|
29 This are packages containing superclasses of my classes and classes which |
|
30 are extended by myself. |
|
31 They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
|
32 This method is generated automatically, |
|
33 by searching along the inheritance chain of all of my classes. |
|
34 Please take a look at the #referencedPreRequisites method as well." |
|
35 |
|
36 ^ #( |
|
37 #'stx:libbasic' "LibraryDefinition - superclass of stx_goodies_regression_testData_packages_p2platform_specific_classes" |
|
38 ) |
|
39 ! |
|
40 |
|
41 referencedPreRequisites |
|
42 "list packages which are a prerequisite, because they contain |
|
43 classes which are referenced by my classes. |
|
44 These packages are NOT needed as a prerequisite for compiling or loading, |
|
45 however, a class from it may be referenced during execution and having it |
|
46 unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
|
47 includes explicit checks for the package being present. |
|
48 This method is generated automatically, |
|
49 by searching all classes (and their packages) which are referenced by my classes. |
|
50 Please also take a look at the #mandatoryPreRequisites method" |
|
51 |
|
52 ^ #( |
|
53 ) |
|
54 ! |
|
55 |
|
56 subProjects |
|
57 "list packages which are known as subprojects. |
|
58 The generated makefile will enter those and make there as well. |
|
59 However: they are not forced to be loaded when a package is loaded; |
|
60 for those, redefine #referencedPrerequisites or #mandatoryPreRequisites." |
|
61 |
|
62 ^ #( |
|
63 ) |
|
64 ! ! |
|
65 |
|
66 !stx_goodies_regression_testData_packages_p2platform_specific_classes class methodsFor:'description - contents'! |
|
67 |
|
68 classNamesAndAttributes |
|
69 "lists the classes which are to be included in the project. |
|
70 Each entry in the list may be: a single class-name (symbol), |
|
71 or an array-literal consisting of class name and attributes. |
|
72 Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
73 |
|
74 ^ #( |
|
75 "<className> or (<className> attributes...) in load order" |
|
76 (UnixSpecificClass unix) |
|
77 (VMSSpecificClass vms) |
|
78 (Win32SpecificClass win32) |
|
79 #'stx_goodies_regression_testData_packages_p2platform_specific_classes' |
|
80 ) |
|
81 ! |
|
82 |
|
83 extensionMethodNames |
|
84 "lists the extension methods which are to be included in the project. |
|
85 Entries are 2-element array literals, consisting of class-name and selector. |
|
86 A correponding method with real names must be present in my concrete subclasses |
|
87 if it has extensions." |
|
88 |
|
89 ^ #( |
|
90 ) |
|
91 ! ! |
|
92 |
|
93 !stx_goodies_regression_testData_packages_p2platform_specific_classes class methodsFor:'description - project information'! |
|
94 |
|
95 companyName |
|
96 "Returns a company string which will appear in <lib>.rc. |
|
97 Under win32, this is placed into the dll's file-info. |
|
98 Other systems may put it elsewhere, or ignore it." |
|
99 |
|
100 ^ 'Claus Gittinger & eXept Software AG' |
|
101 ! |
|
102 |
|
103 description |
|
104 "Returns a description string which will appear in nt.def / bc.def" |
|
105 |
|
106 ^ 'Smalltalk/X Class library' |
|
107 ! |
|
108 |
|
109 legalCopyright |
|
110 "Returns a copyright string which will appear in <lib>.rc. |
|
111 Under win32, this is placed into the dll's file-info. |
|
112 Other systems may put it elsewhere, or ignore it." |
|
113 |
|
114 ^ 'Copyright Claus Gittinger 2017\nCopyright eXept Software AG 2017' |
|
115 ! |
|
116 |
|
117 productName |
|
118 "Returns a product name which will appear in <lib>.rc. |
|
119 Under win32, this is placed into the dll's file-info. |
|
120 This method is usually redefined in a concrete application definition" |
|
121 |
|
122 ^ 'Smalltalk/X' |
|
123 ! ! |
|
124 |
|
125 !stx_goodies_regression_testData_packages_p2platform_specific_classes class methodsFor:'documentation'! |
|
126 |
|
127 version_HG |
|
128 ^ '$Changeset: <not expanded> $' |
|
129 ! ! |
|
130 |