author | Claus Gittinger <cg@exept.de> |
Mon, 17 Sep 2018 16:09:24 +0200 | |
changeset 1573 | 1ca3df2d6317 |
parent 1479 | 109c34978a1d |
child 1481 | 4a4686007f8f |
permissions | -rw-r--r-- |
740 | 1 |
" |
1478 | 2 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
740 | 3 |
All Rights Reserved |
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
"{ Package: 'stx:projects/smalltalk' }" |
|
13 |
||
1376
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
14 |
"{ NameSpace: Smalltalk }" |
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
15 |
|
740 | 16 |
ApplicationDefinition subclass:#stx_projects_smalltalk |
1221 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'* Projects & Packages *' |
|
740 | 21 |
! |
22 |
||
23 |
!stx_projects_smalltalk class methodsFor:'documentation'! |
|
24 |
||
25 |
copyright |
|
26 |
" |
|
1478 | 27 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
740 | 28 |
All Rights Reserved |
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
39 |
documentation |
|
40 |
" |
|
1376
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
41 |
Build- and package information for creation of the ST/X executable itself (with GUI). |
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
42 |
ST/X itself (i.e. the stx executable) is simply a standAlone application which includes |
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
43 |
all the common widgets and development tool libraries as prerequisites. |
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
44 |
So when started, these classes are already present. |
740 | 45 |
|
46 |
[Author:] |
|
47 |
Claus Gittinger |
|
48 |
||
49 |
[startWith:] |
|
1376
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
50 |
Start the ST/X application from the command line: |
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
51 |
|
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
52 |
stx regular start; read snapshot image file if present |
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
53 |
stx -I regular start; ignore any snapshot image (i.e. cold start) |
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
54 |
stx -I --quick quick start; ignore snapshot and do not scan for autoloaded classes. |
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
55 |
|
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
56 |
Actually, startup is in 'Smalltalk >> start', so take a look at that method, for what is going on. |
740 | 57 |
" |
58 |
! ! |
|
59 |
||
60 |
!stx_projects_smalltalk class methodsFor:'description'! |
|
61 |
||
842 | 62 |
applicationIconFileName |
63 |
^ 'stx_32x32' |
|
64 |
! |
|
65 |
||
996 | 66 |
applicationName |
67 |
"History: we want the helper files to be named: smalltalk*.*" |
|
68 |
||
69 |
^ 'smalltalk' |
|
70 |
! |
|
71 |
||
807 | 72 |
applicationNameConsole |
996 | 73 |
^ 'stx.com' |
748 | 74 |
! |
75 |
||
807 | 76 |
applicationNameNoConsole |
996 | 77 |
^ 'stx.exe' |
807 | 78 |
! |
79 |
||
748 | 80 |
buildTarget |
807 | 81 |
"redefined, so by default, the executable file is only built - not an installer. |
82 |
For the installer to be built, we must explicitly type 'bmake setup'" |
|
748 | 83 |
|
84 |
^ 'exe' |
|
85 |
! |
|
86 |
||
996 | 87 |
documentExtensions |
1049 | 88 |
^ #() |
89 |
"/ ^ #('st') |
|
996 | 90 |
! |
91 |
||
748 | 92 |
isConsoleApplication |
807 | 93 |
^ true "actually, we do both the console and the non-console app (see additionalTargets_bc_dot_mak)" |
748 | 94 |
! |
95 |
||
740 | 96 |
isGUIApplication |
1072 | 97 |
^ true "actually, we do both the console and the non-console app (see additionalTargets_bc_dot_mak)" |
740 | 98 |
! |
99 |
||
100 |
preRequisites |
|
101 |
^ #( |
|
807 | 102 |
#'stx:libbasic' |
740 | 103 |
#'stx:libbasic2' |
104 |
#'stx:libbasic3' |
|
105 |
#'stx:libcomp' |
|
106 |
#'stx:libhtml' |
|
107 |
#'stx:libtool' |
|
108 |
#'stx:libtool2' |
|
109 |
#'stx:libui' |
|
110 |
#'stx:libview' |
|
111 |
#'stx:libview2' |
|
112 |
#'stx:libwidg' |
|
113 |
#'stx:libwidg2' |
|
114 |
#'stx:libwidg3' |
|
748 | 115 |
#'stx:goodies/refactoryBrowser/helpers' |
116 |
#'stx:goodies/refactoryBrowser/parser' |
|
117 |
#'stx:goodies/refactoryBrowser/refactoring' |
|
118 |
#'stx:goodies/refactoryBrowser/changes' |
|
1148 | 119 |
#'stx:goodies/refactoryBrowser/browser' |
1101 | 120 |
#'stx:goodies/refactoryBrowser/lint' |
748 | 121 |
#'stx:libboss' |
1212 | 122 |
#'stx:libjavascript' |
1233 | 123 |
"/ #'stx:goodies/petitparser' |
124 |
"/ #'stx:libjava' |
|
125 |
"/ #'stx:libsvn' |
|
740 | 126 |
) |
1148 | 127 |
|
1233 | 128 |
"Modified: / 13-01-2012 / 13:03:52 / cg" |
740 | 129 |
! |
130 |
||
971 | 131 |
splashFileName |
132 |
^ 'stx_splash' |
|
740 | 133 |
! ! |
134 |
||
762 | 135 |
!stx_projects_smalltalk class methodsFor:'description - building'! |
136 |
||
893 | 137 |
additionalFilesToInstall |
901 | 138 |
"becomes part of the nsi list of files to install" |
139 |
||
893 | 140 |
^ #( |
1035 | 141 |
'"*.wsp"' |
1021 | 142 |
'/x CVS "${STX_ROOT}\stx\projects\smalltalk\patches"' |
143 |
'/r /x CVS "${STX_ROOT}\stx\include"' |
|
1028 | 144 |
'/x CVS "${STX_ROOT}\stx\libview\styles\*"' |
145 |
'SetOutPath "$INSTDIR\bin\doc"' |
|
1021 | 146 |
'/r /x CVS "${STX_ROOT}\stx\doc\online"' |
1035 | 147 |
'SetOutPath "$INSTDIR\bin\source"' |
1028 | 148 |
'/r /x CVS /x "not*" "${STX_ROOT}\stx\*.st"' |
893 | 149 |
) |
150 |
||
151 |
"Created: / 01-03-2007 / 20:03:15 / cg" |
|
152 |
! |
|
153 |
||
807 | 154 |
iconFileName |
155 |
^ 'stx_32x32.ico' |
|
762 | 156 |
! ! |
157 |
||
740 | 158 |
!stx_projects_smalltalk class methodsFor:'description - contents'! |
159 |
||
160 |
classNamesAndAttributes |
|
161 |
^ #( |
|
162 |
"<className> or (<className> attributes...) in load order" |
|
163 |
#'stx_projects_smalltalk' |
|
164 |
) |
|
165 |
! |
|
166 |
||
167 |
extensionMethodNames |
|
168 |
^ #( |
|
169 |
) |
|
902 | 170 |
! |
171 |
||
172 |
protectedFileNames |
|
1122
715da7750a21
changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents:
1101
diff
changeset
|
173 |
"names of files which should NOT be generated (because they are hand-maintained)" |
902 | 174 |
"do NOT overwrite the hand-written Make.proto for now" |
175 |
||
176 |
^ #( 'Make.proto' ) |
|
1122
715da7750a21
changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents:
1101
diff
changeset
|
177 |
|
715da7750a21
changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents:
1101
diff
changeset
|
178 |
"Modified: / 21-12-2010 / 11:37:05 / cg" |
740 | 179 |
! ! |
180 |
||
181 |
!stx_projects_smalltalk class methodsFor:'description - project information'! |
|
182 |
||
183 |
companyName |
|
184 |
"Return a companyname which will appear in <lib>.rc" |
|
185 |
||
1477 | 186 |
^ 'Claus Gittinger / eXept Software AG' |
187 |
||
188 |
"Modified: / 18-11-2016 / 11:47:40 / cg" |
|
740 | 189 |
! |
190 |
||
191 |
description |
|
192 |
"Return a description string which will appear in nt.def / bc.def" |
|
193 |
||
795 | 194 |
^ 'Smalltalk/X IDE' |
195 |
||
196 |
"Modified: / 10-02-2007 / 18:36:19 / cg" |
|
740 | 197 |
! |
198 |
||
199 |
legalCopyright |
|
200 |
"Return a copyright string which will appear in <lib>.rc" |
|
201 |
||
1479 | 202 |
^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 1998-2012' |
795 | 203 |
|
1479 | 204 |
"Modified: / 18-11-2016 / 12:19:34 / cg" |
740 | 205 |
! |
206 |
||
886 | 207 |
productFilename |
208 |
^ 'SmalltalkX' |
|
209 |
||
210 |
"Modified: / 01-03-2007 / 19:34:15 / cg" |
|
740 | 211 |
! ! |
212 |
||
213 |
!stx_projects_smalltalk class methodsFor:'description - startup'! |
|
214 |
||
215 |
startupClassName |
|
216 |
^ #Smalltalk |
|
217 |
! |
|
218 |
||
219 |
startupSelector |
|
220 |
^ #start |
|
221 |
! ! |
|
222 |
||
223 |
!stx_projects_smalltalk class methodsFor:'documentation'! |
|
224 |
||
225 |
version |
|
226 |
^ '$Header$' |
|
1072 | 227 |
! |
228 |
||
229 |
version_CVS |
|
230 |
^ '$Header$' |
|
740 | 231 |
! ! |
1376
d37a3939d86d
class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents:
1273
diff
changeset
|
232 |