author | vranyj1 |
Tue, 30 Aug 2011 08:58:28 +0000 | |
branch | jk_new_structure |
changeset 943 | 35fe635719f9 |
parent 939 | e62e085adefc |
child 951 | ee0ca81cf4ea |
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 |
||
939 | 218 |
!stx_libjava class methodsFor:'description - compilation'! |
219 |
||
220 |
additionalLinkLibraries_bc_dot_mak |
|
221 |
"/ ^ '$(ZLIB) $(BZ2LIB)' |
|
222 |
^ '$(ZLIB_DIR)\$(ZLIB)' |
|
223 |
! |
|
224 |
||
225 |
additionalLinkLibraries_make_dot_proto |
|
226 |
^ '$(ZLIB_LD_ARG) $(BZ2LIB_LD_ARG)' |
|
227 |
! |
|
228 |
||
229 |
additionalRules_bc_dot_mak |
|
230 |
^ ' |
|
231 |
$(ZLIB): |
|
232 |
cd $(ZLIB_DIR) |
|
233 |
$(MAKE) $(MAKE_ZLIB_ARG) $(ZLIB) |
|
234 |
cd ..\..\libbasic2 |
|
235 |
||
236 |
$(BZ2LIB): |
|
237 |
cd $(BZ2LIB_DIR) |
|
238 |
$(MAKE) $(MAKE_BZ2LIB_ARG) bz2.lib |
|
239 |
cd ..\..\libbasic2 |
|
240 |
' |
|
241 |
! |
|
242 |
||
243 |
additionalRules_make_dot_proto |
|
244 |
^ ' |
|
245 |
zlib: |
|
246 |
cd $(ZLIB_DIR); $(MAKE) $(MAKE_ZLIB_ARG) |
|
247 |
||
248 |
bz2lib: |
|
249 |
cd $(BZ2LIB_DIR); $(MAKE) $(MAKE_BZ2LIB_ARG) libbz2.a |
|
250 |
' |
|
251 |
! |
|
252 |
||
253 |
additionalTargets_bc_dot_mak |
|
254 |
"/ ^ '$(BZ2LIB) $(ZLIB)' bz2lib doesn't work for now |
|
255 |
^ '$(ZLIB)' |
|
256 |
! |
|
257 |
||
258 |
additionalTargets_make_dot_proto |
|
259 |
^ 'bz2lib zlib' |
|
260 |
||
261 |
"Created: / 05-09-2006 / 16:05:12 / cg" |
|
262 |
! |
|
263 |
||
264 |
localIncludes |
|
265 |
^ '-I$(ZLIB_DIR)' |
|
266 |
||
267 |
"Created: / 06-09-2006 / 18:18:15 / cg" |
|
268 |
! ! |
|
937 | 269 |
|
752 | 270 |
!stx_libjava class methodsFor:'description - contents'! |
271 |
||
272 |
classNamesAndAttributes |
|
273 |
"lists the classes which are to be included in the project. |
|
274 |
Each entry in the list may be: a single class-name (symbol), |
|
275 |
or an array-literal consisting of class name and attributes. |
|
276 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
277 |
||
278 |
^ #( |
|
279 |
"<className> or (<className> attributes...) in load order" |
|
773 | 280 |
(AbstractJavaTestCase autoload) |
752 | 281 |
Byte |
913 | 282 |
(JUnitTestCaseProxy autoload) |
752 | 283 |
Java |
284 |
JavaAnnotation |
|
285 |
JavaAnnotationContainer |
|
286 |
JavaAnnotationDefault |
|
287 |
JavaAnnotationDictionary |
|
288 |
JavaAnnotationValue |
|
869 | 289 |
(JavaAntProjectResource autoload) |
752 | 290 |
JavaArray |
291 |
JavaBehavior |
|
903 | 292 |
(JavaByteCodeDisassemblerTests autoload) |
293 |
(JavaByteCodeInterpreterTests autoload) |
|
752 | 294 |
JavaByteCodeProcessor |
295 |
(JavaByteCodeProcessorTests autoload) |
|
296 |
JavaClassReader |
|
903 | 297 |
(JavaClassReader2Tests autoload) |
752 | 298 |
(JavaClassReaderTests autoload) |
903 | 299 |
(JavaClassRefTests autoload) |
752 | 300 |
JavaConstantPool |
301 |
JavaContext |
|
302 |
JavaDecompiler |
|
303 |
JavaDescriptor |
|
304 |
JavaError |
|
934 | 305 |
JavaEvaluator |
752 | 306 |
JavaExceptionTableEntry |
761 | 307 |
(JavaExceptionThrowerMock autoload) |
879 | 308 |
JavaField |
903 | 309 |
(JavaFieldRefTests autoload) |
913 | 310 |
(JavaInitializedResource autoload) |
903 | 311 |
(JavaInterfaceMethodRefTests autoload) |
752 | 312 |
(JavaJUnitTests autoload) |
313 |
JavaJavadocNode |
|
314 |
JavaLanguage |
|
754 | 315 |
JavaLibraries |
756 | 316 |
(JavaLibrariesResource autoload) |
752 | 317 |
JavaLocalVariableTable |
318 |
JavaLocalVariableTableEntry |
|
319 |
JavaLookup |
|
761 | 320 |
(JavaLookupTestsResource autoload) |
752 | 321 |
JavaMethod |
903 | 322 |
(JavaMethodRefTests autoload) |
774 | 323 |
JavaNameAndType2 |
752 | 324 |
JavaNativeMemory |
325 |
JavaNode |
|
326 |
JavaObject |
|
327 |
JavaObjectDictionary |
|
894 | 328 |
JavaPackage |
752 | 329 |
JavaParseResult |
903 | 330 |
(JavaParserNavigationTests autoload) |
752 | 331 |
(JavaParserTestCase autoload) |
903 | 332 |
(JavaParserTests autoload) |
752 | 333 |
JavaPopUpView |
334 |
JavaProcess |
|
774 | 335 |
JavaRef2 |
903 | 336 |
(JavaRefMock autoload) |
337 |
(JavaRefTests autoload) |
|
752 | 338 |
JavaRelease |
758 | 339 |
JavaResolver |
903 | 340 |
(JavaRuntimeConstantPoolTests autoload) |
752 | 341 |
JavaSlotIndexCache |
342 |
JavaSourceCodeCache |
|
343 |
JavaSourceFileWriter |
|
344 |
JavaStartup |
|
859
56bc5e063b7d
Common code from JUnitTestCaseProxy and TestletTestCaseProxy moved to a common superclass
vranyj1
parents:
854
diff
changeset
|
345 |
(JavaTestCaseProxy autoload) |
763 | 346 |
JavaTestsLoader |
913 | 347 |
(JavaTestsResource autoload) |
752 | 348 |
JavaTopView |
349 |
(JavaUTF8Tests autoload) |
|
350 |
JavaUnresolvedConstant |
|
351 |
JavaVM |
|
352 |
JavaView |
|
943 | 353 |
JavaZipSupport |
761 | 354 |
(LookupTests autoload) |
752 | 355 |
PPJavaNode |
356 |
Short |
|
357 |
SmalltalkAppletContext |
|
358 |
SmalltalkAppletStub |
|
913 | 359 |
(TestletTestCaseProxy autoload) |
752 | 360 |
#'stx_libjava' |
361 |
JavaAnnotationArrayValue |
|
362 |
JavaAnnotationClassValue |
|
363 |
JavaAnnotationEnumValue |
|
364 |
JavaAnnotationNestedAnnotationValue |
|
365 |
JavaAnnotationPrimitiveValue |
|
366 |
JavaByteCodeDisassembler |
|
367 |
JavaByteCodeEnumerator |
|
368 |
JavaByteCodeInterpreter |
|
369 |
JavaClass |
|
370 |
JavaClassAnnotationContainer |
|
774 | 371 |
JavaClassContentRef2 |
372 |
JavaClassRef2 |
|
752 | 373 |
JavaEmbeddedFrameView |
374 |
JavaFieldAnnotationContainer |
|
375 |
JavaFieldDescriptor |
|
376 |
JavaFormalParameterNode |
|
872 | 377 |
JavaInvalidRefError |
752 | 378 |
JavaMethodAnnotationContainer |
379 |
JavaMethodDeclarationNode |
|
380 |
JavaMethodDeclaratorNode |
|
381 |
JavaMethodDescriptor |
|
382 |
JavaMethodNode |
|
383 |
JavaMethodWithException |
|
384 |
JavaParser |
|
781
d27c59bcf38a
added preResolve compatibility method + JavaStringRef - will be used soon
hlopkmar
parents:
780
diff
changeset
|
385 |
JavaStringRef2 |
752 | 386 |
JavaTypeNode |
387 |
JavaUnhandledExceptionError |
|
388 |
JavaUnresolvedClassConstant |
|
389 |
JavaUnresolvedStringConstant |
|
390 |
JavadocDeclarationNode |
|
391 |
JavaArrayTypeNode |
|
392 |
JavaBooleanTypeNode |
|
780
f1e6b4f1ee9b
preparation for incremental change of resolving logic
hlopkmar
parents:
779
diff
changeset
|
393 |
JavaBothOldAndNewClassRef |
752 | 394 |
JavaByteCodeSteppableInterpreter |
395 |
JavaCharTypeNode |
|
396 |
JavaClassOrInterfaceTypeNode |
|
397 |
JavaDoubleTypeNode |
|
774 | 398 |
JavaFieldRef2 |
752 | 399 |
JavaFloatTypeNode |
400 |
JavaIntTypeNode |
|
401 |
JavaLongTypeNode |
|
774 | 402 |
JavaMethodRef2 |
752 | 403 |
JavaMethodWithHandler |
404 |
JavaVoidTypeNode |
|
774 | 405 |
JavaInterfaceMethodRef2 |
752 | 406 |
JavaNativeMethod |
407 |
) |
|
408 |
! |
|
409 |
||
410 |
extensionMethodNames |
|
411 |
"lists the extension methods which are to be included in the project. |
|
412 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
916 | 413 |
|
414 |
^ #( |
|
415 |
BooleanArray isInterface |
|
416 |
Object isJavaArray |
|
417 |
Object isJavaNameAndType |
|
418 |
Object isJavaPackage |
|
419 |
Object isJavaRef |
|
934 | 420 |
Object javaBox: |
421 |
Object javaUnbox: |
|
916 | 422 |
String asArrayOfSubstringsSeparatedBy: |
423 |
UserPreferences javaTestsDirectory |
|
424 |
UserPreferences javaTestsDirectory: |
|
425 |
ZipArchive nextBytes:of:startingAt:into:startingAt: |
|
426 |
'Boolean class' isJavaPrimitiveType |
|
427 |
'Boolean class' javaArrayClass |
|
934 | 428 |
'Boolean class' javaBox: |
916 | 429 |
'Boolean class' javaName |
430 |
'BooleanArray class' isInterface |
|
431 |
'BooleanArray class' isJavaArrayClass |
|
432 |
'BooleanArray class' isJavaReferenceType |
|
433 |
'BooleanArray class' javaComponentClass |
|
434 |
'BooleanArray class' javaName |
|
435 |
'ByteArray class' isInterface |
|
436 |
'ByteArray class' isJavaArrayClass |
|
437 |
'ByteArray class' isJavaReferenceType |
|
438 |
'ByteArray class' javaArrayClass |
|
439 |
'ByteArray class' javaComponentClass |
|
440 |
'ByteArray class' javaName |
|
441 |
'Character class' isJavaPrimitiveType |
|
442 |
'Character class' javaArrayClass |
|
934 | 443 |
'Character class' javaBox: |
916 | 444 |
'Character class' javaName |
445 |
'CharacterArray class' decodeFromJavaUTF8: |
|
446 |
'CharacterArray class' fromJavaUTF8Bytes: |
|
447 |
'CharacterArray class' isJavaArrayClass |
|
448 |
'CharacterArray class' javaArrayClass |
|
449 |
'CharacterArray class' javaComponentClass |
|
450 |
'DoubleArray class' isInterface |
|
451 |
'DoubleArray class' isJavaArrayClass |
|
452 |
'DoubleArray class' isJavaReferenceType |
|
453 |
'DoubleArray class' javaComponentClass |
|
454 |
'DoubleArray class' javaName |
|
455 |
'Float class' isJavaPrimitiveType |
|
456 |
'Float class' javaArrayClass |
|
934 | 457 |
'Float class' javaBox: |
916 | 458 |
'Float class' javaName |
459 |
'FloatArray class' isInterface |
|
460 |
'FloatArray class' isJavaArrayClass |
|
461 |
'FloatArray class' isJavaReferenceType |
|
462 |
'FloatArray class' javaComponentClass |
|
463 |
'FloatArray class' javaName |
|
464 |
'GenericToolbarIconLibrary class' javaClassBrowserIcon |
|
465 |
'Integer class' isJavaPrimitiveType |
|
466 |
'Integer class' javaArrayClass |
|
934 | 467 |
'Integer class' javaBox: |
916 | 468 |
'Integer class' javaName |
469 |
'LargeInteger class' isJavaPrimitiveType |
|
470 |
'LargeInteger class' javaArrayClass |
|
934 | 471 |
'LargeInteger class' javaBox: |
916 | 472 |
'LargeInteger class' javaName |
473 |
'Object class' isJavaArrayClass |
|
474 |
'Object class' isJavaClassType |
|
475 |
'Object class' isJavaPrimitiveType |
|
476 |
'Object class' isJavaReferenceType |
|
477 |
'Object class' isJavaType |
|
478 |
'ShortFloat class' isJavaPrimitiveType |
|
479 |
'ShortFloat class' javaArrayClass |
|
934 | 480 |
'ShortFloat class' javaBox: |
916 | 481 |
'ShortFloat class' javaName |
482 |
'SignedIntegerArray class' isInterface |
|
483 |
'SignedIntegerArray class' isJavaArrayClass |
|
484 |
'SignedIntegerArray class' javaArrayClass |
|
485 |
'SignedIntegerArray class' javaComponentClass |
|
486 |
'SignedIntegerArray class' javaName |
|
487 |
'SignedLongIntegerArray class' isInterface |
|
488 |
'SignedLongIntegerArray class' isJavaArrayClass |
|
489 |
'SignedLongIntegerArray class' isJavaReferenceType |
|
934 | 490 |
'SignedLongIntegerArray class' javaArrayClass |
916 | 491 |
'SignedLongIntegerArray class' javaComponentClass |
492 |
'SignedLongIntegerArray class' javaName |
|
493 |
'UndefinedObject class' isJavaPrimitiveType |
|
494 |
'UndefinedObject class' javaName |
|
495 |
'WordArray class' isInterface |
|
496 |
'WordArray class' isJavaArrayClass |
|
497 |
'WordArray class' isJavaReferenceType |
|
498 |
'WordArray class' javaArrayClass |
|
499 |
'WordArray class' javaComponentClass |
|
500 |
'WordArray class' javaName |
|
501 |
) |
|
752 | 502 |
! ! |
503 |
||
504 |
!stx_libjava class methodsFor:'description - project information'! |
|
505 |
||
506 |
applicationIconFileName |
|
507 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
508 |
||
509 |
^ nil |
|
510 |
"/ ^ self applicationName |
|
511 |
! |
|
512 |
||
513 |
companyName |
|
514 |
"Return a companyname which will appear in <lib>.rc" |
|
515 |
||
516 |
^ 'eXept Software AG' |
|
517 |
! |
|
518 |
||
519 |
description |
|
520 |
"Return a description string which will appear in vc.def / bc.def" |
|
521 |
||
522 |
^ 'Smalltalk/X Class library' |
|
523 |
! |
|
524 |
||
525 |
legalCopyright |
|
526 |
"Return a copyright string which will appear in <lib>.rc" |
|
527 |
||
877 | 528 |
^ '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' |
529 |
||
530 |
"Modified: / 26-07-2011 / 17:13:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
752 | 531 |
! |
532 |
||
533 |
productName |
|
534 |
"Return a product name which will appear in <lib>.rc" |
|
535 |
||
536 |
^ 'Smalltalk/X' |
|
537 |
! ! |
|
538 |
||
539 |
!stx_libjava class methodsFor:'description - svn'! |
|
540 |
||
754 | 541 |
svnRepositoryUrlString |
542 |
"Return a SVN repository URL of myself. |
|
543 |
(Generated since 2011-04-08) |
|
544 |
" |
|
545 |
||
546 |
^ '$URL$' |
|
547 |
! |
|
548 |
||
752 | 549 |
svnRevisionNr |
550 |
"Return a SVN revision number of myself. |
|
551 |
This number is updated after a commit" |
|
552 |
||
939 | 553 |
^ "$SVN-Revision:"'1278'"$" |
752 | 554 |
! ! |
555 |
||
556 |
!stx_libjava class methodsFor:'file generation'! |
|
557 |
||
558 |
basicFileNamesToGenerate |
|
559 |
"answer a dictionary (filename -> generator method) with all the files, that have to be generated for this |
|
560 |
package" |
|
561 |
||
562 |
|dict| |
|
563 |
||
564 |
dict := super basicFileNamesToGenerate. |
|
565 |
||
566 |
dict |
|
567 |
at:'builder/package.deps.rake' put: #'generate_package_dot_deps_dot_rake'. |
|
568 |
||
569 |
^ dict. |
|
570 |
||
571 |
"Created: / 11-03-2011 / 09:32:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
572 |
! ! |
|
573 |
||
574 |
!stx_libjava class methodsFor:'documentation'! |
|
575 |
||
576 |
version_SVN |
|
577 |
^ '$Id$' |
|
578 |
! ! |