author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Fri, 27 Feb 2015 16:50:43 +0100 | |
changeset 37 | f417fe8685c5 |
parent 13 | d06924d8ca0a |
child 40 | d766d4c854a2 |
permissions | -rw-r--r-- |
0 | 1 |
"{ Package: 'jv:vdb/tests' }" |
2 |
||
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
3 |
"{ NameSpace: Smalltalk }" |
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
4 |
|
0 | 5 |
LibraryDefinition subclass:#jv_vdb_tests |
6 |
instanceVariableNames:'' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
9 |
category:'* Projects & Packages *' |
|
10 |
! |
|
11 |
||
12 |
||
13 |
!jv_vdb_tests class methodsFor:'description'! |
|
14 |
||
15 |
excludedFromPreRequisites |
|
16 |
"list packages which are to be explicitely excluded from the automatic constructed |
|
17 |
prerequisites list. If empty, everything that is found along the inheritance of any of |
|
18 |
my classes is considered to be a prerequisite package." |
|
19 |
||
20 |
^ #( |
|
21 |
) |
|
22 |
! |
|
23 |
||
24 |
mandatoryPreRequisites |
|
25 |
"list packages which are mandatory as a prerequisite. |
|
26 |
This are packages containing superclasses of my classes and classes which |
|
27 |
are extended by myself. |
|
11
43439b9e9096
Moved VDBInternalPipeStream from jv:vdb and jv:libgdbs and renamed to GDBInternalPipeStream
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
0
diff
changeset
|
28 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
0 | 29 |
This method is generated automatically, |
30 |
by searching along the inheritance chain of all of my classes." |
|
31 |
||
32 |
^ #( |
|
13
d06924d8ca0a
Minor fixes in UI - allow to open stack window as floating tool window.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11
diff
changeset
|
33 |
#'stx:libbasic' "LibraryDefinition - superclass of jv_vdb_tests" |
0 | 34 |
) |
35 |
! |
|
36 |
||
37 |
referencedPreRequisites |
|
38 |
"list packages which are a prerequisite, because they contain |
|
39 |
classes which are referenced by my classes. |
|
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
40 |
We do not need these packages as a prerequisite for compiling or loading, |
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
41 |
however, a class from it may be referenced during execution and having it |
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
42 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
43 |
includes explicit checks for the package being present. |
0 | 44 |
This method is generated automatically, |
45 |
by searching all classes (and their packages) which are referenced by my classes." |
|
46 |
||
47 |
^ #( |
|
48 |
) |
|
49 |
! |
|
50 |
||
51 |
subProjects |
|
52 |
"list packages which are known as subprojects. |
|
53 |
The generated makefile will enter those and make there as well. |
|
54 |
However: they are not forced to be loaded when a package is loaded; |
|
55 |
for those, redefine requiredPrerequisites." |
|
56 |
||
57 |
^ #( |
|
58 |
) |
|
59 |
! ! |
|
60 |
||
61 |
!jv_vdb_tests class methodsFor:'description - contents'! |
|
62 |
||
63 |
classNamesAndAttributes |
|
64 |
"lists the classes which are to be included in the project. |
|
65 |
Each entry in the list may be: a single class-name (symbol), |
|
66 |
or an array-literal consisting of class name and attributes. |
|
67 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
68 |
||
69 |
^ #( |
|
70 |
"<className> or (<className> attributes...) in load order" |
|
71 |
#'jv_vdb_tests' |
|
72 |
) |
|
73 |
! |
|
74 |
||
75 |
extensionMethodNames |
|
76 |
"list class/selector pairs of extensions. |
|
77 |
A correponding method with real names must be present in my concrete subclasses" |
|
78 |
||
79 |
^ #( |
|
80 |
) |
|
81 |
! ! |
|
82 |
||
83 |
!jv_vdb_tests class methodsFor:'description - project information'! |
|
84 |
||
85 |
companyName |
|
86 |
"Returns a company string which will appear in <lib>.rc. |
|
87 |
Under win32, this is placed into the dlls file-info" |
|
88 |
||
89 |
^ 'My Company' |
|
90 |
! |
|
91 |
||
92 |
description |
|
93 |
"Returns a description string which will appear in nt.def / bc.def" |
|
94 |
||
95 |
^ 'Class Library' |
|
96 |
! |
|
97 |
||
98 |
legalCopyright |
|
99 |
"Returns a copyright string which will appear in <lib>.rc. |
|
100 |
Under win32, this is placed into the dlls file-info" |
|
101 |
||
102 |
^ 'My CopyRight or CopyLeft' |
|
103 |
! |
|
104 |
||
105 |
productName |
|
106 |
"Returns a product name which will appear in <lib>.rc. |
|
107 |
Under win32, this is placed into the dlls file-info. |
|
108 |
This method is usually redefined in a concrete application definition" |
|
109 |
||
110 |
^ 'LibraryName' |
|
111 |
! ! |
|
112 |
||
113 |
!jv_vdb_tests class methodsFor:'documentation'! |
|
114 |
||
115 |
version_HG |
|
116 |
^ '$Changeset: <not expanded> $' |
|
117 |
! ! |
|
118 |