author | vranyj1 |
Wed, 31 Aug 2011 13:17:06 +0000 | |
branch | jk_new_structure |
changeset 954 | eb58ade0cd7a |
parent 951 | ee0ca81cf4ea |
child 956 | a8b9dec12b4d |
permissions | -rw-r--r-- |
877 | 1 |
" |
2 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
|
3 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko |
|
4 |
SWING Research Group, Czech Technical University in Prague |
|
5 |
||
6 |
Parts of the code written by Claus Gittinger are under following |
|
7 |
license: |
|
8 |
||
9 |
This software is furnished under a license and may be used |
|
10 |
only in accordance with the terms of that license and with the |
|
11 |
inclusion of the above copyright notice. This software may not |
|
12 |
be provided or otherwise made available to, or used by, any |
|
13 |
other person. No title to or ownership of the software is |
|
14 |
hereby transferred. |
|
15 |
||
16 |
Parts of the code written at SWING Reasearch Group [1] are MIT licensed: |
|
17 |
||
18 |
Permission is hereby granted, free of charge, to any person |
|
19 |
obtaining a copy of this software and associated documentation |
|
20 |
files (the 'Software'), to deal in the Software without |
|
21 |
restriction, including without limitation the rights to use, |
|
22 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
23 |
copies of the Software, and to permit persons to whom the |
|
24 |
Software is furnished to do so, subject to the following |
|
25 |
conditions: |
|
26 |
||
27 |
The above copyright notice and this permission notice shall be |
|
28 |
included in all copies or substantial portions of the Software. |
|
29 |
||
30 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
31 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
32 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
33 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
34 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
35 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
36 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
37 |
OTHER DEALINGS IN THE SOFTWARE. |
|
38 |
||
39 |
[1] Code written at SWING Research Group contain a signature |
|
40 |
of one of the above copright owners. |
|
41 |
" |
|
752 | 42 |
"{ Package: 'stx:libjava' }" |
43 |
||
44 |
LibraryDefinition subclass:#stx_libjava |
|
45 |
instanceVariableNames:'' |
|
46 |
classVariableNames:'' |
|
47 |
poolDictionaries:'' |
|
48 |
category:'* Projects & Packages *' |
|
49 |
! |
|
50 |
||
877 | 51 |
!stx_libjava class methodsFor:'documentation'! |
52 |
||
53 |
copyright |
|
54 |
" |
|
55 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
|
56 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko |
|
57 |
SWING Research Group, Czech Technical University in Prague |
|
58 |
||
59 |
Parts of the code written by Claus Gittinger are under following |
|
60 |
license: |
|
61 |
||
62 |
This software is furnished under a license and may be used |
|
63 |
only in accordance with the terms of that license and with the |
|
64 |
inclusion of the above copyright notice. This software may not |
|
65 |
be provided or otherwise made available to, or used by, any |
|
66 |
other person. No title to or ownership of the software is |
|
67 |
hereby transferred. |
|
68 |
||
69 |
Parts of the code written at SWING Reasearch Group [1] are MIT licensed: |
|
70 |
||
71 |
Permission is hereby granted, free of charge, to any person |
|
72 |
obtaining a copy of this software and associated documentation |
|
73 |
files (the 'Software'), to deal in the Software without |
|
74 |
restriction, including without limitation the rights to use, |
|
75 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
76 |
copies of the Software, and to permit persons to whom the |
|
77 |
Software is furnished to do so, subject to the following |
|
78 |
conditions: |
|
79 |
||
80 |
The above copyright notice and this permission notice shall be |
|
81 |
included in all copies or substantial portions of the Software. |
|
82 |
||
83 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
84 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
85 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
86 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
87 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
88 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
89 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
90 |
OTHER DEALINGS IN THE SOFTWARE. |
|
91 |
||
92 |
[1] Code written at SWING Research Group contain a signature |
|
93 |
of one of the above copright owners. |
|
94 |
||
95 |
" |
|
96 |
! ! |
|
752 | 97 |
|
756 | 98 |
!stx_libjava class methodsFor:'accessing'! |
99 |
||
765 | 100 |
svnRepositoryUrl |
101 |
||
102 |
^'https://jv@swing.fit.cvut.cz/svn/stx/libjava/branches/jk_new_structure/src' |
|
103 |
||
104 |
! |
|
105 |
||
756 | 106 |
svnRepositoryUrlBase |
107 |
||
108 |
| url | |
|
109 |
url := stx_libjava svnRepositoryUrl. |
|
110 |
url ifNil:[url := 'https://swing.fit.cvut.cz/svn/stx/libjava/trunk/src']. |
|
111 |
(url endsWith: 'src') ifTrue:[url := url copyTo: url size - 4]. |
|
112 |
^url |
|
113 |
||
114 |
"Created: / 08-04-2011 / 16:57:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
115 |
! ! |
|
116 |
||
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
117 |
!stx_libjava class methodsFor:'accessing - tests'! |
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
118 |
|
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
119 |
excludedFromTestSuite |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
120 |
"List of testcases and/or tests excluded from testsuite. |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
121 |
Entries maybe ClassName or #(ClassName testName) |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
122 |
" |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
123 |
^ #( |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
124 |
LookupTests |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
125 |
) |
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
126 |
|
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
127 |
"Created: / 03-06-2011 / 17:04:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
128 |
! |
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
129 |
|
834 | 130 |
testSuite |
131 |
||
861
fab84333fa2e
Tests reordered, hope this will workaround the segfault
vranyj1
parents:
860
diff
changeset
|
132 |
| suite javaTestCases stTests | |
834 | 133 |
suite := super testSuite. |
862 | 134 |
stTests := suite tests. |
135 |
suite := TestSuite new. |
|
136 |
suite name: self package. |
|
834 | 137 |
JavaTestsLoader load. |
138 |
||
139 |
javaTestCases := OrderedCollection new. |
|
140 |
||
141 |
Java allClassesDo: |
|
142 |
[:jclass| |
|
143 |
(jclass ~~ (Java at:'stx.libjava.tests.JUnit3Tests') |
|
144 |
and:[jclass ~~ (Java at:'stx.libjava.tests.JUnit4Tests') |
|
145 |
and:[jclass isTestCaseLike]]) |
|
146 |
ifTrue: |
|
147 |
[ | tc | |
|
148 |
tc := jclass asTestCase. |
|
854
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
149 |
(tc askFor:#isTestlet) ifTrue:[ |
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
150 |
tc shouldFork: true. |
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
151 |
]. |
834 | 152 |
tc isAbstract ifFalse:[javaTestCases add:tc ]]]. |
153 |
||
854
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
154 |
javaTestCases do: |
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
155 |
[:each | |
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
156 |
suite addTests:each buildSuite tests ]. |
834 | 157 |
|
862 | 158 |
|
159 |
suite tests addAll: stTests. |
|
160 |
||
834 | 161 |
suite tests withIndexDo: |
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
834
diff
changeset
|
162 |
[:t :i| |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
834
diff
changeset
|
163 |
Stdout nextPutAll: i printString; space; nextPutAll: t printString; cr]. |
834 | 164 |
|
165 |
^suite |
|
166 |
||
167 |
" |
|
168 |
stx_libjava testSuite |
|
169 |
||
170 |
" |
|
171 |
||
172 |
"Created: / 07-05-2011 / 19:58:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
173 |
"Modified: / 07-05-2011 / 22:26:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
834
diff
changeset
|
174 |
"Modified: / 04-06-2011 / 17:23:05 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
860 | 175 |
! |
176 |
||
177 |
testSuiteWithoutJavaTests |
|
178 |
||
179 |
^super testSuite. |
|
180 |
||
181 |
"Created: / 21-06-2011 / 17:33:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
182 |
! ! |
752 | 183 |
|
184 |
!stx_libjava class methodsFor:'description'! |
|
185 |
||
186 |
excludedFromPreRequisites |
|
187 |
"list all packages which should be ignored in the automatic |
|
188 |
preRequisites scan. See #preRequisites for more." |
|
189 |
||
190 |
^ #( |
|
191 |
) |
|
192 |
! |
|
193 |
||
194 |
preRequisites |
|
195 |
"list all required packages. |
|
196 |
This list can be maintained manually or (better) generated and |
|
197 |
updated by scanning the superclass hierarchies and looking for |
|
198 |
global variable accesses. (the browser has a menu function for that) |
|
199 |
Howevery, often too much is found, and you may want to explicitely |
|
200 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
201 |
||
202 |
^ #( |
|
203 |
#'squeak:petitparser' "PPParser - superclass of JavaParser::BlockParser " |
|
937 | 204 |
#'stx:goodies/sunit' "TestAsserter - superclass of JavaByteCodeProcessorTests " |
903 | 205 |
#'stx:libbasic' "Object - superclass of JavaMethodWithHandler " |
752 | 206 |
#'stx:libbasic2' "ZipArchive - referenced by Java class>>classSource:package:in: " |
207 |
#'stx:libbasic3' "MessageTracer - referenced by JavaMethod>>setBreakPoint " |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
208 |
#'stx:libcomp' "ObjectFileLoader - referenced by JavaVM class>>_Runtime_loadFileInternalI: " |
752 | 209 |
#'stx:libhtml' "URL - referenced by JavaEmbeddedFrameView>>setupAppletFrameIn:initializeJava: " |
210 |
#'stx:libtool' "DebugView - referenced by Java class>>flushClasses " |
|
869 | 211 |
#'stx:libview' "DisplaySurface - superclass of JavaView " |
752 | 212 |
#'stx:libview2' "Plug - referenced by JavaSourceCodeCache>>findMethodLine:inMethods: " |
213 |
#'stx:libwidg' "Label - referenced by JavaVM class>>processEvent: " |
|
913 | 214 |
#'stx:libwidg2' "MenuPanel - referenced by JavaVM class>>processEvent: " |
752 | 215 |
) |
216 |
! ! |
|
217 |
||
218 |
!stx_libjava class methodsFor:'description - contents'! |
|
219 |
||
220 |
classNamesAndAttributes |
|
221 |
"lists the classes which are to be included in the project. |
|
222 |
Each entry in the list may be: a single class-name (symbol), |
|
223 |
or an array-literal consisting of class name and attributes. |
|
224 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
225 |
||
226 |
^ #( |
|
227 |
"<className> or (<className> attributes...) in load order" |
|
773 | 228 |
(AbstractJavaTestCase autoload) |
951 | 229 |
ArgumentMatcher |
752 | 230 |
Byte |
913 | 231 |
(JUnitTestCaseProxy autoload) |
752 | 232 |
Java |
233 |
JavaAnnotation |
|
234 |
JavaAnnotationContainer |
|
235 |
JavaAnnotationDefault |
|
236 |
JavaAnnotationDictionary |
|
237 |
JavaAnnotationValue |
|
869 | 238 |
(JavaAntProjectResource autoload) |
752 | 239 |
JavaArray |
240 |
JavaBehavior |
|
903 | 241 |
(JavaByteCodeDisassemblerTests autoload) |
242 |
(JavaByteCodeInterpreterTests autoload) |
|
752 | 243 |
JavaByteCodeProcessor |
244 |
(JavaByteCodeProcessorTests autoload) |
|
245 |
JavaClassReader |
|
903 | 246 |
(JavaClassReader2Tests autoload) |
752 | 247 |
(JavaClassReaderTests autoload) |
903 | 248 |
(JavaClassRefTests autoload) |
752 | 249 |
JavaConstantPool |
250 |
JavaContext |
|
251 |
JavaDecompiler |
|
252 |
JavaDescriptor |
|
951 | 253 |
JavaDoesNotUnderstandException |
752 | 254 |
JavaError |
934 | 255 |
JavaEvaluator |
752 | 256 |
JavaExceptionTableEntry |
761 | 257 |
(JavaExceptionThrowerMock autoload) |
879 | 258 |
JavaField |
903 | 259 |
(JavaFieldRefTests autoload) |
954 | 260 |
JavaZipSupport |
913 | 261 |
(JavaInitializedResource autoload) |
903 | 262 |
(JavaInterfaceMethodRefTests autoload) |
752 | 263 |
(JavaJUnitTests autoload) |
264 |
JavaJavadocNode |
|
265 |
JavaLanguage |
|
754 | 266 |
JavaLibraries |
756 | 267 |
(JavaLibrariesResource autoload) |
752 | 268 |
JavaLocalVariableTable |
269 |
JavaLocalVariableTableEntry |
|
270 |
JavaLookup |
|
271 |
JavaMethod |
|
903 | 272 |
(JavaMethodRefTests autoload) |
774 | 273 |
JavaNameAndType2 |
752 | 274 |
JavaNativeMemory |
275 |
JavaNode |
|
276 |
JavaObject |
|
277 |
JavaObjectDictionary |
|
894 | 278 |
JavaPackage |
752 | 279 |
JavaParseResult |
903 | 280 |
(JavaParserNavigationTests autoload) |
752 | 281 |
(JavaParserTestCase autoload) |
903 | 282 |
(JavaParserTests autoload) |
752 | 283 |
JavaPopUpView |
284 |
JavaProcess |
|
774 | 285 |
JavaRef2 |
903 | 286 |
(JavaRefMock autoload) |
287 |
(JavaRefTests autoload) |
|
752 | 288 |
JavaRelease |
758 | 289 |
JavaResolver |
903 | 290 |
(JavaRuntimeConstantPoolTests autoload) |
951 | 291 |
(JavaSelectorParserTests autoload) |
752 | 292 |
JavaSlotIndexCache |
293 |
JavaSourceCodeCache |
|
294 |
JavaSourceFileWriter |
|
295 |
JavaStartup |
|
859
56bc5e063b7d
Common code from JUnitTestCaseProxy and TestletTestCaseProxy moved to a common superclass
vranyj1
parents:
854
diff
changeset
|
296 |
(JavaTestCaseProxy autoload) |
763 | 297 |
JavaTestsLoader |
913 | 298 |
(JavaTestsResource autoload) |
752 | 299 |
JavaTopView |
300 |
(JavaUTF8Tests autoload) |
|
301 |
JavaUnresolvedConstant |
|
302 |
JavaVM |
|
303 |
JavaView |
|
951 | 304 |
(LookupIntegrationTests autoload) |
305 |
(LookupIntegrationTestsResource autoload) |
|
761 | 306 |
(LookupTests autoload) |
951 | 307 |
MessageDescription |
752 | 308 |
PPJavaNode |
951 | 309 |
SampleHandler |
310 |
SelectorParser |
|
752 | 311 |
Short |
312 |
SmalltalkAppletContext |
|
313 |
SmalltalkAppletStub |
|
951 | 314 |
(SmalltalkSelectorParserTests autoload) |
913 | 315 |
(TestletTestCaseProxy autoload) |
752 | 316 |
#'stx_libjava' |
317 |
JavaAnnotationArrayValue |
|
318 |
JavaAnnotationClassValue |
|
319 |
JavaAnnotationEnumValue |
|
320 |
JavaAnnotationNestedAnnotationValue |
|
321 |
JavaAnnotationPrimitiveValue |
|
322 |
JavaByteCodeDisassembler |
|
323 |
JavaByteCodeEnumerator |
|
324 |
JavaByteCodeInterpreter |
|
325 |
JavaClass |
|
326 |
JavaClassAnnotationContainer |
|
774 | 327 |
JavaClassContentRef2 |
328 |
JavaClassRef2 |
|
752 | 329 |
JavaEmbeddedFrameView |
330 |
JavaFieldAnnotationContainer |
|
331 |
JavaFieldDescriptor |
|
332 |
JavaFormalParameterNode |
|
872 | 333 |
JavaInvalidRefError |
752 | 334 |
JavaMethodAnnotationContainer |
335 |
JavaMethodDeclarationNode |
|
336 |
JavaMethodDeclaratorNode |
|
337 |
JavaMethodDescriptor |
|
338 |
JavaMethodNode |
|
339 |
JavaMethodWithException |
|
340 |
JavaParser |
|
951 | 341 |
JavaSelectorParser |
781
d27c59bcf38a
added preResolve compatibility method + JavaStringRef - will be used soon
hlopkmar
parents:
780
diff
changeset
|
342 |
JavaStringRef2 |
752 | 343 |
JavaTypeNode |
344 |
JavaUnhandledExceptionError |
|
345 |
JavaUnresolvedClassConstant |
|
346 |
JavaUnresolvedStringConstant |
|
347 |
JavadocDeclarationNode |
|
951 | 348 |
SmalltalkSelectorParser |
752 | 349 |
JavaArrayTypeNode |
350 |
JavaBooleanTypeNode |
|
780
f1e6b4f1ee9b
preparation for incremental change of resolving logic
hlopkmar
parents:
779
diff
changeset
|
351 |
JavaBothOldAndNewClassRef |
752 | 352 |
JavaByteCodeSteppableInterpreter |
353 |
JavaCharTypeNode |
|
354 |
JavaClassOrInterfaceTypeNode |
|
355 |
JavaDoubleTypeNode |
|
774 | 356 |
JavaFieldRef2 |
752 | 357 |
JavaFloatTypeNode |
358 |
JavaIntTypeNode |
|
359 |
JavaLongTypeNode |
|
774 | 360 |
JavaMethodRef2 |
752 | 361 |
JavaMethodWithHandler |
362 |
JavaVoidTypeNode |
|
774 | 363 |
JavaInterfaceMethodRef2 |
752 | 364 |
JavaNativeMethod |
365 |
) |
|
954 | 366 |
|
367 |
"Modified: / 31-08-2011 / 14:17:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
752 | 368 |
! |
369 |
||
370 |
extensionMethodNames |
|
371 |
"lists the extension methods which are to be included in the project. |
|
372 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
916 | 373 |
|
374 |
^ #( |
|
375 |
BooleanArray isInterface |
|
376 |
Object isJavaArray |
|
377 |
Object isJavaNameAndType |
|
378 |
Object isJavaPackage |
|
379 |
Object isJavaRef |
|
934 | 380 |
Object javaBox: |
381 |
Object javaUnbox: |
|
916 | 382 |
String asArrayOfSubstringsSeparatedBy: |
383 |
UserPreferences javaTestsDirectory |
|
384 |
UserPreferences javaTestsDirectory: |
|
385 |
ZipArchive nextBytes:of:startingAt:into:startingAt: |
|
386 |
'Boolean class' isJavaPrimitiveType |
|
387 |
'Boolean class' javaArrayClass |
|
934 | 388 |
'Boolean class' javaBox: |
916 | 389 |
'Boolean class' javaName |
390 |
'BooleanArray class' isInterface |
|
391 |
'BooleanArray class' isJavaArrayClass |
|
392 |
'BooleanArray class' isJavaReferenceType |
|
393 |
'BooleanArray class' javaComponentClass |
|
394 |
'BooleanArray class' javaName |
|
395 |
'ByteArray class' isInterface |
|
396 |
'ByteArray class' isJavaArrayClass |
|
397 |
'ByteArray class' isJavaReferenceType |
|
398 |
'ByteArray class' javaArrayClass |
|
399 |
'ByteArray class' javaComponentClass |
|
400 |
'ByteArray class' javaName |
|
401 |
'Character class' isJavaPrimitiveType |
|
402 |
'Character class' javaArrayClass |
|
934 | 403 |
'Character class' javaBox: |
916 | 404 |
'Character class' javaName |
405 |
'CharacterArray class' decodeFromJavaUTF8: |
|
406 |
'CharacterArray class' fromJavaUTF8Bytes: |
|
407 |
'CharacterArray class' isJavaArrayClass |
|
408 |
'CharacterArray class' javaArrayClass |
|
409 |
'CharacterArray class' javaComponentClass |
|
410 |
'DoubleArray class' isInterface |
|
411 |
'DoubleArray class' isJavaArrayClass |
|
412 |
'DoubleArray class' isJavaReferenceType |
|
413 |
'DoubleArray class' javaComponentClass |
|
414 |
'DoubleArray class' javaName |
|
415 |
'Float class' isJavaPrimitiveType |
|
416 |
'Float class' javaArrayClass |
|
934 | 417 |
'Float class' javaBox: |
916 | 418 |
'Float class' javaName |
419 |
'FloatArray class' isInterface |
|
420 |
'FloatArray class' isJavaArrayClass |
|
421 |
'FloatArray class' isJavaReferenceType |
|
422 |
'FloatArray class' javaComponentClass |
|
423 |
'FloatArray class' javaName |
|
424 |
'GenericToolbarIconLibrary class' javaClassBrowserIcon |
|
425 |
'Integer class' isJavaPrimitiveType |
|
426 |
'Integer class' javaArrayClass |
|
934 | 427 |
'Integer class' javaBox: |
916 | 428 |
'Integer class' javaName |
429 |
'LargeInteger class' isJavaPrimitiveType |
|
430 |
'LargeInteger class' javaArrayClass |
|
934 | 431 |
'LargeInteger class' javaBox: |
916 | 432 |
'LargeInteger class' javaName |
433 |
'Object class' isJavaArrayClass |
|
434 |
'Object class' isJavaClassType |
|
435 |
'Object class' isJavaPrimitiveType |
|
436 |
'Object class' isJavaReferenceType |
|
437 |
'Object class' isJavaType |
|
438 |
'ShortFloat class' isJavaPrimitiveType |
|
439 |
'ShortFloat class' javaArrayClass |
|
934 | 440 |
'ShortFloat class' javaBox: |
916 | 441 |
'ShortFloat class' javaName |
442 |
'SignedIntegerArray class' isInterface |
|
443 |
'SignedIntegerArray class' isJavaArrayClass |
|
444 |
'SignedIntegerArray class' javaArrayClass |
|
445 |
'SignedIntegerArray class' javaComponentClass |
|
446 |
'SignedIntegerArray class' javaName |
|
447 |
'SignedLongIntegerArray class' isInterface |
|
448 |
'SignedLongIntegerArray class' isJavaArrayClass |
|
449 |
'SignedLongIntegerArray class' isJavaReferenceType |
|
934 | 450 |
'SignedLongIntegerArray class' javaArrayClass |
916 | 451 |
'SignedLongIntegerArray class' javaComponentClass |
452 |
'SignedLongIntegerArray class' javaName |
|
453 |
'UndefinedObject class' isJavaPrimitiveType |
|
454 |
'UndefinedObject class' javaName |
|
455 |
'WordArray class' isInterface |
|
456 |
'WordArray class' isJavaArrayClass |
|
457 |
'WordArray class' isJavaReferenceType |
|
458 |
'WordArray class' javaArrayClass |
|
459 |
'WordArray class' javaComponentClass |
|
460 |
'WordArray class' javaName |
|
461 |
) |
|
752 | 462 |
! ! |
463 |
||
464 |
!stx_libjava class methodsFor:'description - project information'! |
|
465 |
||
466 |
applicationIconFileName |
|
467 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
468 |
||
469 |
^ nil |
|
470 |
"/ ^ self applicationName |
|
471 |
! |
|
472 |
||
473 |
companyName |
|
474 |
"Return a companyname which will appear in <lib>.rc" |
|
475 |
||
476 |
^ 'eXept Software AG' |
|
477 |
! |
|
478 |
||
479 |
description |
|
480 |
"Return a description string which will appear in vc.def / bc.def" |
|
481 |
||
482 |
^ 'Smalltalk/X Class library' |
|
483 |
! |
|
484 |
||
485 |
legalCopyright |
|
486 |
"Return a copyright string which will appear in <lib>.rc" |
|
487 |
||
877 | 488 |
^ 'Copyright Claus Gittinger 1988-2011\nCopyright eXept Software AG 1998-2011\nCopyright Jan Vrany, Jan Kurs and Marcel Hlopko\b SWING Research Group, Czech Technical University In Prague' |
489 |
||
490 |
"Modified: / 26-07-2011 / 17:13:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
752 | 491 |
! |
492 |
||
493 |
productName |
|
494 |
"Return a product name which will appear in <lib>.rc" |
|
495 |
||
496 |
^ 'Smalltalk/X' |
|
497 |
! ! |
|
498 |
||
499 |
!stx_libjava class methodsFor:'description - svn'! |
|
500 |
||
754 | 501 |
svnRepositoryUrlString |
502 |
"Return a SVN repository URL of myself. |
|
503 |
(Generated since 2011-04-08) |
|
504 |
" |
|
505 |
||
506 |
^ '$URL$' |
|
507 |
! |
|
508 |
||
752 | 509 |
svnRevisionNr |
510 |
"Return a SVN revision number of myself. |
|
511 |
This number is updated after a commit" |
|
512 |
||
954 | 513 |
^ "$SVN-Revision:"'1302M'"$" |
752 | 514 |
! ! |
515 |
||
516 |
!stx_libjava class methodsFor:'file generation'! |
|
517 |
||
518 |
basicFileNamesToGenerate |
|
519 |
"answer a dictionary (filename -> generator method) with all the files, that have to be generated for this |
|
520 |
package" |
|
521 |
||
522 |
|dict| |
|
523 |
||
524 |
dict := super basicFileNamesToGenerate. |
|
525 |
||
526 |
dict |
|
527 |
at:'builder/package.deps.rake' put: #'generate_package_dot_deps_dot_rake'. |
|
528 |
||
529 |
^ dict. |
|
530 |
||
531 |
"Created: / 11-03-2011 / 09:32:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
532 |
! ! |
|
533 |
||
534 |
!stx_libjava class methodsFor:'documentation'! |
|
535 |
||
536 |
version_SVN |
|
537 |
^ '$Id$' |
|
538 |
! ! |