740
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2006 by eXept Software AG
|
|
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 |
|
|
14 |
ApplicationDefinition subclass:#stx_projects_smalltalk
|
|
15 |
instanceVariableNames:''
|
|
16 |
classVariableNames:''
|
|
17 |
poolDictionaries:''
|
|
18 |
category:'* Projects *'
|
|
19 |
!
|
|
20 |
|
|
21 |
!stx_projects_smalltalk class methodsFor:'documentation'!
|
|
22 |
|
|
23 |
copyright
|
|
24 |
"
|
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG
|
|
26 |
All Rights Reserved
|
|
27 |
|
|
28 |
This software is furnished under a license and may be used
|
|
29 |
only in accordance with the terms of that license and with the
|
|
30 |
inclusion of the above copyright notice. This software may not
|
|
31 |
be provided or otherwise made available to, or used by, any
|
|
32 |
other person. No title to or ownership of the software is
|
|
33 |
hereby transferred.
|
|
34 |
"
|
|
35 |
!
|
|
36 |
|
|
37 |
documentation
|
|
38 |
"
|
|
39 |
The Smalltalk executable (with GUI)
|
|
40 |
|
|
41 |
[Author:]
|
|
42 |
Claus Gittinger
|
|
43 |
|
|
44 |
[startWith:]
|
748
|
45 |
Start the ST/X application from the command line
|
740
|
46 |
"
|
|
47 |
! !
|
|
48 |
|
|
49 |
!stx_projects_smalltalk class methodsFor:'description'!
|
|
50 |
|
842
|
51 |
applicationIconFileName
|
|
52 |
^ 'stx_32x32'
|
|
53 |
!
|
|
54 |
|
807
|
55 |
applicationNameConsole
|
|
56 |
"normally, the appName is constructed from the package,
|
|
57 |
and the consoleApp has '_debug' added to the name.
|
|
58 |
Here, the consoleApp is called 'stx' and the non-console app is called 'winstx'.
|
|
59 |
This might change in the future."
|
748
|
60 |
|
|
61 |
^ 'stx'
|
|
62 |
!
|
|
63 |
|
807
|
64 |
applicationNameNoConsole
|
|
65 |
"normally, the appName is constructed from the package,
|
|
66 |
and the consoleApp has '_debug' added to the name.
|
|
67 |
Here, the consoleApp is called 'stx' and the non-console app is called 'winstx'.
|
|
68 |
This might change in the future."
|
|
69 |
|
|
70 |
^ 'winstx'
|
|
71 |
!
|
|
72 |
|
748
|
73 |
buildTarget
|
807
|
74 |
"redefined, so by default, the executable file is only built - not an installer.
|
|
75 |
For the installer to be built, we must explicitly type 'bmake setup'"
|
748
|
76 |
|
|
77 |
^ 'exe'
|
|
78 |
!
|
|
79 |
|
|
80 |
isConsoleApplication
|
807
|
81 |
^ true "actually, we do both the console and the non-console app (see additionalTargets_bc_dot_mak)"
|
748
|
82 |
!
|
|
83 |
|
740
|
84 |
isGUIApplication
|
|
85 |
^ true
|
|
86 |
!
|
|
87 |
|
748
|
88 |
needResources
|
|
89 |
"my resources are already in place"
|
|
90 |
|
849
|
91 |
^ true
|
|
92 |
"/ ^ false
|
|
93 |
|
|
94 |
"Modified: / 01-03-2007 / 17:30:30 / cg"
|
748
|
95 |
!
|
|
96 |
|
740
|
97 |
preRequisites
|
|
98 |
^ #(
|
807
|
99 |
#'stx:libbasic'
|
740
|
100 |
#'stx:libbasic2'
|
|
101 |
#'stx:libbasic3'
|
|
102 |
#'stx:libcomp'
|
|
103 |
#'stx:libhtml'
|
|
104 |
#'stx:libtool'
|
|
105 |
#'stx:libtool2'
|
|
106 |
#'stx:libui'
|
|
107 |
#'stx:libview'
|
|
108 |
#'stx:libview2'
|
|
109 |
#'stx:libwidg'
|
|
110 |
#'stx:libwidg2'
|
|
111 |
#'stx:libwidg3'
|
748
|
112 |
#'stx:goodies/refactoryBrowser/helpers'
|
|
113 |
#'stx:goodies/refactoryBrowser/parser'
|
|
114 |
#'stx:goodies/refactoryBrowser/refactoring'
|
|
115 |
#'stx:goodies/refactoryBrowser/changes'
|
|
116 |
#'stx:libboss'
|
740
|
117 |
)
|
|
118 |
!
|
|
119 |
|
|
120 |
subProjects
|
|
121 |
^ #(
|
|
122 |
)
|
|
123 |
! !
|
|
124 |
|
762
|
125 |
!stx_projects_smalltalk class methodsFor:'description - building'!
|
|
126 |
|
893
|
127 |
additionalFilesToInstall
|
901
|
128 |
"becomes part of the nsi list of files to install"
|
|
129 |
|
893
|
130 |
^ #(
|
|
131 |
'"d_*.rc" "h_*.rc" "private.rc" "smalltalk*.rc"'
|
|
132 |
'"${STX_ROOT}\stx\projects\smalltalk\patches"'
|
900
|
133 |
'/r "${STX_ROOT}\stx\include"'
|
|
134 |
'/r CVS "${STX_ROOT}\stx\libview\styles"'
|
893
|
135 |
)
|
|
136 |
|
|
137 |
"Created: / 01-03-2007 / 20:03:15 / cg"
|
|
138 |
!
|
|
139 |
|
807
|
140 |
additionalTargets_bc_dot_mak
|
|
141 |
^ 'winstx'
|
762
|
142 |
!
|
|
143 |
|
807
|
144 |
iconFileName
|
|
145 |
^ 'stx_32x32.ico'
|
826
|
146 |
!
|
|
147 |
|
|
148 |
nsiDeliveredExecutables
|
|
149 |
^ '"stx.exe" "winstx.exe"'
|
762
|
150 |
! !
|
|
151 |
|
740
|
152 |
!stx_projects_smalltalk class methodsFor:'description - contents'!
|
|
153 |
|
|
154 |
classNamesAndAttributes
|
|
155 |
^ #(
|
|
156 |
"<className> or (<className> attributes...) in load order"
|
|
157 |
#'stx_projects_smalltalk'
|
|
158 |
)
|
|
159 |
!
|
|
160 |
|
|
161 |
extensionMethodNames
|
|
162 |
^ #(
|
|
163 |
)
|
|
164 |
! !
|
|
165 |
|
|
166 |
!stx_projects_smalltalk class methodsFor:'description - project information'!
|
|
167 |
|
|
168 |
companyName
|
|
169 |
"Return a companyname which will appear in <lib>.rc"
|
|
170 |
|
|
171 |
^ 'eXept Software AG'
|
|
172 |
!
|
|
173 |
|
|
174 |
description
|
|
175 |
"Return a description string which will appear in nt.def / bc.def"
|
|
176 |
|
795
|
177 |
^ 'Smalltalk/X IDE'
|
|
178 |
|
|
179 |
"Modified: / 10-02-2007 / 18:36:19 / cg"
|
740
|
180 |
!
|
|
181 |
|
|
182 |
legalCopyright
|
|
183 |
"Return a copyright string which will appear in <lib>.rc"
|
|
184 |
|
795
|
185 |
^ 'Copyright Claus Gittinger 1988-2007\nCopyright eXept Software AG 1998-2007'
|
|
186 |
|
|
187 |
"Modified: / 10-02-2007 / 18:36:27 / cg"
|
740
|
188 |
!
|
|
189 |
|
886
|
190 |
productFilename
|
|
191 |
^ 'SmalltalkX'
|
|
192 |
|
|
193 |
"Modified: / 01-03-2007 / 19:34:15 / cg"
|
|
194 |
!
|
|
195 |
|
740
|
196 |
productName
|
|
197 |
"Return a product name which will appear in <lib>.rc"
|
|
198 |
|
748
|
199 |
^ 'Smalltalk/X'
|
740
|
200 |
! !
|
|
201 |
|
|
202 |
!stx_projects_smalltalk class methodsFor:'description - startup'!
|
|
203 |
|
|
204 |
startupClassName
|
|
205 |
^ #Smalltalk
|
|
206 |
!
|
|
207 |
|
|
208 |
startupSelector
|
|
209 |
^ #start
|
|
210 |
! !
|
|
211 |
|
|
212 |
!stx_projects_smalltalk class methodsFor:'documentation'!
|
|
213 |
|
|
214 |
version
|
|
215 |
^ '$Header$'
|
|
216 |
! !
|