author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 07 May 2013 12:39:09 +0100 | |
branch | development |
changeset 2588 | 58b1e0fd20e7 |
parent 2429 | ebece4dcaab9 |
child 2711 | a00302fe5083 |
permissions | -rw-r--r-- |
749 | 1 |
"{ Package: 'stx:libjava/startup' }" |
2 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
3 |
ApplicationDefinition subclass:#'stx_libjava_startup' |
749 | 4 |
instanceVariableNames:'' |
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'* Projects & Packages *' |
|
8 |
! |
|
9 |
||
10 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
11 |
|
749 | 12 |
!stx_libjava_startup class methodsFor:'description'! |
13 |
||
14 |
excludedFromPreRequisites |
|
15 |
"list all packages which should be ignored in the automatic |
|
16 |
preRequisites scan. See #preRequisites for more." |
|
17 |
||
18 |
^ #( |
|
19 |
) |
|
20 |
! |
|
21 |
||
22 |
isGUIApplication |
|
23 |
"return true, if this is a GUI application. |
|
24 |
(these need more libraries and use a different startup procedure)" |
|
25 |
||
26 |
^ false |
|
27 |
! |
|
28 |
||
29 |
preRequisites |
|
30 |
"list all required packages. |
|
31 |
This list can be maintained manually or (better) generated and |
|
32 |
updated by scanning the superclass hierarchies and looking for |
|
33 |
global variable accesses. (the browser has a menu function for that) |
|
34 |
Howevery, often too much is found, and you may want to explicitely |
|
35 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
36 |
||
37 |
^ #( |
|
38 |
#'stx:libbasic' "ApplicationDefinition - superclass of stx_libjava_startup " |
|
39 |
#'stx:libcomp' |
|
40 |
#'stx:libjava' "Java - referenced by JavaStartup class>>main: " |
|
41 |
) |
|
42 |
! |
|
43 |
||
44 |
subProjects |
|
45 |
"list packages which are known as subprojects. |
|
46 |
This method is generated automatically; however, when generating automatically, |
|
47 |
packages are only added - never removed, unless listed in #excludedFromSubProjects." |
|
48 |
||
49 |
^ #( |
|
50 |
) |
|
51 |
! ! |
|
52 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
53 |
|
749 | 54 |
!stx_libjava_startup class methodsFor:'description - contents'! |
55 |
||
56 |
classNamesAndAttributes |
|
57 |
"lists the classes which are to be included in the project. |
|
58 |
Each entry in the list may be: a single class-name (symbol), |
|
59 |
or an array-literal consisting of class name and attributes. |
|
60 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
61 |
||
62 |
^ #( |
|
63 |
"<className> or (<className> attributes...) in load order" |
|
64 |
JavaStartup |
|
65 |
#'stx_libjava_startup' |
|
66 |
) |
|
67 |
! |
|
68 |
||
69 |
extensionMethodNames |
|
70 |
"lists the extension methods which are to be included in the project. |
|
71 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
72 |
||
73 |
^ #( |
|
74 |
) |
|
75 |
! ! |
|
76 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
77 |
|
749 | 78 |
!stx_libjava_startup class methodsFor:'description - project information'! |
79 |
||
80 |
applicationIconFileName |
|
81 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
82 |
||
83 |
^ nil |
|
84 |
"/ ^ self applicationName |
|
85 |
! |
|
86 |
||
87 |
companyName |
|
88 |
"Return a companyname which will appear in <lib>.rc" |
|
89 |
||
90 |
^ 'SWING Research Group & eXept Software AG' |
|
91 |
||
92 |
"Modified: / 07-04-2011 / 20:22:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
93 |
! |
|
94 |
||
95 |
description |
|
96 |
"Return a description string which will appear in vc.def / bc.def" |
|
97 |
||
98 |
^ 'Smalltalk/X Java Launcher' |
|
99 |
||
100 |
"Modified: / 07-04-2011 / 20:23:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
101 |
! |
|
102 |
||
103 |
legalCopyright |
|
104 |
"Return a copyright string which will appear in <lib>.rc" |
|
105 |
||
106 |
^ 'Copyright 2010-2011 Jan Vrany, Jan Kurs, Marcel Hlopko\nCopyright 1988-2011Claus Gittinger \nCopyright 1998-2011 eXept Software AG' |
|
107 |
||
108 |
"Modified: / 07-04-2011 / 20:24:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
109 |
! |
|
110 |
||
111 |
productName |
|
112 |
"Return a product name which will appear in <lib>.rc" |
|
113 |
||
114 |
^ 'Smalltalk/X JVM' |
|
115 |
||
116 |
"Modified: / 07-04-2011 / 20:24:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
117 |
! ! |
|
118 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
119 |
|
749 | 120 |
!stx_libjava_startup class methodsFor:'description - startup'! |
121 |
||
122 |
startupClassName |
|
123 |
"the name of the class which starts the show in its <startupSelector> method. |
|
124 |
Usually, the name of a subclass of StandAloneStartup." |
|
125 |
||
126 |
^ 'JavaStartup' |
|
127 |
||
128 |
"Modified: / 07-04-2011 / 20:24:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
129 |
! |
|
130 |
||
131 |
startupSelector |
|
132 |
"the message that is sent to the startupClass to start the show" |
|
133 |
||
134 |
^ #'start' |
|
135 |
! ! |
|
136 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
137 |
|
749 | 138 |
!stx_libjava_startup class methodsFor:'description - svn'! |
139 |
||
140 |
svnRevisionNr |
|
141 |
"Return a SVN revision number of myself. |
|
142 |
This number is updated after a commit" |
|
143 |
||
144 |
^ "$SVN-Revision:"'nil'"$" |
|
145 |
! ! |
|
146 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
147 |
|
749 | 148 |
!stx_libjava_startup class methodsFor:'documentation'! |
149 |
||
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
150 |
version_CVS |
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
151 |
^ '$Header: /cvs/stx/stx/libjava/startup/stx_libjava_startup.st,v 1.3 2013-02-25 11:15:34 vrany Exp $' |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
152 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
153 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
154 |
version_HG |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
155 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
156 |
^ '$Changeset: <not expanded> $' |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
157 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
158 |
|
749 | 159 |
version_SVN |
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
160 |
^ '$Id: stx_libjava_startup.st,v 1.3 2013-02-25 11:15:34 vrany Exp $' |
2152 | 161 |
! ! |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
162 |