|
1 "{ Package: 'stx:libjava/examples' }" |
|
2 |
|
3 LibraryDefinition subclass:#stx_libjava_examples |
|
4 instanceVariableNames:'' |
|
5 classVariableNames:'' |
|
6 poolDictionaries:'' |
|
7 category:'* Projects & Packages *' |
|
8 ! |
|
9 |
|
10 |
|
11 !stx_libjava_examples class methodsFor:'description'! |
|
12 |
|
13 excludedFromPreRequisites |
|
14 "list all packages which should be ignored in the automatic |
|
15 preRequisites scan. See #preRequisites for more." |
|
16 |
|
17 ^ #( |
|
18 ) |
|
19 ! |
|
20 |
|
21 preRequisites |
|
22 "list all required packages. |
|
23 This list can be maintained manually or (better) generated and |
|
24 updated by scanning the superclass hierarchies and looking for |
|
25 global variable accesses. (the browser has a menu function for that) |
|
26 Howevery, often too much is found, and you may want to explicitely |
|
27 exclude individual packages in the #excludedFromPrerequisites method." |
|
28 |
|
29 ^ #( |
|
30 #'stx:libbasic' "Object - superclass of HelloWorldExampleS " |
|
31 #'stx:libjava' "JavaLookup - referenced by JavaExamples::CDDatabaseHandler class>>initialize " |
|
32 ) |
|
33 ! ! |
|
34 |
|
35 !stx_libjava_examples class methodsFor:'description - contents'! |
|
36 |
|
37 classNamesAndAttributes |
|
38 "lists the classes which are to be included in the project. |
|
39 Each entry in the list may be: a single class-name (symbol), |
|
40 or an array-literal consisting of class name and attributes. |
|
41 Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
42 |
|
43 ^ #( |
|
44 "<className> or (<className> attributes...) in load order" |
|
45 (JavaExamples autoload) |
|
46 #'stx_libjava_examples' |
|
47 HelloWorldExampleS |
|
48 ) |
|
49 ! |
|
50 |
|
51 extensionMethodNames |
|
52 "lists the extension methods which are to be included in the project. |
|
53 Entries are 2-element array literals, consisting of class-name and selector." |
|
54 |
|
55 ^ #( |
|
56 ) |
|
57 ! ! |
|
58 |
|
59 !stx_libjava_examples class methodsFor:'description - project information'! |
|
60 |
|
61 applicationIconFileName |
|
62 "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
63 |
|
64 ^ nil |
|
65 "/ ^ self applicationName |
|
66 ! |
|
67 |
|
68 companyName |
|
69 "Return a companyname which will appear in <lib>.rc" |
|
70 |
|
71 ^ 'eXept Software AG' |
|
72 ! |
|
73 |
|
74 description |
|
75 "Return a description string which will appear in vc.def / bc.def" |
|
76 |
|
77 ^ 'Smalltalk/X Class library' |
|
78 ! |
|
79 |
|
80 legalCopyright |
|
81 "Return a copyright string which will appear in <lib>.rc" |
|
82 |
|
83 ^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
|
84 ! |
|
85 |
|
86 productInstallDirBaseName |
|
87 "Returns a default installDir which will appear in <app>.nsi. |
|
88 This is usually not the one you want to keep" |
|
89 |
|
90 ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last |
|
91 ! |
|
92 |
|
93 productName |
|
94 "Return a product name which will appear in <lib>.rc" |
|
95 |
|
96 ^ 'Smalltalk/X' |
|
97 ! ! |
|
98 |
|
99 !stx_libjava_examples class methodsFor:'description - svn'! |
|
100 |
|
101 svnRepositoryUrlString |
|
102 "Return a SVN repository URL of myself. |
|
103 (Generated since 2011-04-08) |
|
104 Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! |
|
105 " |
|
106 |
|
107 ^ '$URL:: $' |
|
108 ! |
|
109 |
|
110 svnRevisionNr |
|
111 "Return a SVN revision number of myself. |
|
112 This number is updated after a commit" |
|
113 |
|
114 ^ "$SVN-Revision:"'nil '"$" |
|
115 ! ! |
|
116 |
|
117 !stx_libjava_examples class methodsFor:'documentation'! |
|
118 |
|
119 version_SVN |
|
120 ^ '$Id:: $' |
|
121 ! ! |