author | vranyj1 |
Fri, 03 Jun 2011 16:09:07 +0000 | |
branch | jk_new_structure |
changeset 833 | a73edd0970ce |
parent 826 | db53b9c842d7 |
child 834 | 09b4f32a83bb |
permissions | -rw-r--r-- |
752 | 1 |
"{ Package: 'stx:libjava' }" |
2 |
||
3 |
LibraryDefinition subclass:#stx_libjava |
|
4 |
instanceVariableNames:'' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'* Projects & Packages *' |
|
8 |
! |
|
9 |
||
10 |
||
756 | 11 |
!stx_libjava class methodsFor:'accessing'! |
12 |
||
765 | 13 |
svnRepositoryUrl |
14 |
||
15 |
^'https://jv@swing.fit.cvut.cz/svn/stx/libjava/branches/jk_new_structure/src' |
|
16 |
||
17 |
! |
|
18 |
||
756 | 19 |
svnRepositoryUrlBase |
20 |
||
21 |
| url | |
|
22 |
url := stx_libjava svnRepositoryUrl. |
|
23 |
url ifNil:[url := 'https://swing.fit.cvut.cz/svn/stx/libjava/trunk/src']. |
|
24 |
(url endsWith: 'src') ifTrue:[url := url copyTo: url size - 4]. |
|
25 |
^url |
|
26 |
||
27 |
"Created: / 08-04-2011 / 16:57:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
28 |
! ! |
|
29 |
||
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
30 |
!stx_libjava class methodsFor:'accessing - tests'! |
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
31 |
|
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
32 |
excludedFromTestSuite |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
33 |
"List of testcases and/or tests excluded from testsuite. |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
34 |
Entries maybe ClassName or #(ClassName testName) |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
35 |
" |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
36 |
^ #( |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
37 |
LookupTests |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
38 |
) |
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
39 |
|
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
40 |
"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
|
41 |
! |
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
42 |
|
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
43 |
! ! |
752 | 44 |
|
45 |
!stx_libjava class methodsFor:'description'! |
|
46 |
||
47 |
excludedFromPreRequisites |
|
48 |
"list all packages which should be ignored in the automatic |
|
49 |
preRequisites scan. See #preRequisites for more." |
|
50 |
||
51 |
^ #( |
|
52 |
) |
|
53 |
! |
|
54 |
||
55 |
preRequisites |
|
56 |
"list all required packages. |
|
57 |
This list can be maintained manually or (better) generated and |
|
58 |
updated by scanning the superclass hierarchies and looking for |
|
59 |
global variable accesses. (the browser has a menu function for that) |
|
60 |
Howevery, often too much is found, and you may want to explicitely |
|
61 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
62 |
||
63 |
^ #( |
|
64 |
#'squeak:petitparser' "PPParser - superclass of JavaParser::BlockParser " |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
65 |
#'stx:goodies/sunit' "TestCase - superclass of TestletTestCaseProxy " |
752 | 66 |
#'stx:libbasic' "Object - superclass of JavaUnresolvedFieldrefConstant " |
67 |
#'stx:libbasic2' "ZipArchive - referenced by Java class>>classSource:package:in: " |
|
68 |
#'stx:libbasic3' "MessageTracer - referenced by JavaMethod>>setBreakPoint " |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
69 |
#'stx:libcomp' "ObjectFileLoader - referenced by JavaVM class>>_Runtime_loadFileInternalI: " |
752 | 70 |
#'stx:libhtml' "URL - referenced by JavaEmbeddedFrameView>>setupAppletFrameIn:initializeJava: " |
71 |
#'stx:libtool' "DebugView - referenced by Java class>>flushClasses " |
|
763 | 72 |
#'stx:libview' "DisplaySurface - superclass of JavaView " |
752 | 73 |
#'stx:libview2' "Plug - referenced by JavaSourceCodeCache>>findMethodLine:inMethods: " |
74 |
#'stx:libwidg' "Label - referenced by JavaVM class>>processEvent: " |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
75 |
#'stx:libwidg2' "MenuPanel - referenced by JavaVM class>>processEvent: " |
752 | 76 |
) |
77 |
! ! |
|
78 |
||
79 |
!stx_libjava class methodsFor:'description - contents'! |
|
80 |
||
81 |
classNamesAndAttributes |
|
82 |
"lists the classes which are to be included in the project. |
|
83 |
Each entry in the list may be: a single class-name (symbol), |
|
84 |
or an array-literal consisting of class name and attributes. |
|
85 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
86 |
||
87 |
^ #( |
|
88 |
"<className> or (<className> attributes...) in load order" |
|
773 | 89 |
(AbstractJavaTestCase autoload) |
752 | 90 |
Byte |
91 |
(JUnitTestCaseProxy autoload) |
|
92 |
Java |
|
93 |
JavaAnnotation |
|
94 |
JavaAnnotationContainer |
|
95 |
JavaAnnotationDefault |
|
96 |
JavaAnnotationDictionary |
|
97 |
JavaAnnotationValue |
|
98 |
JavaArray |
|
99 |
JavaBehavior |
|
100 |
(JavaByteCodeDisassemblerTests autoload) |
|
101 |
(JavaByteCodeInterpreterTests autoload) |
|
102 |
JavaByteCodeProcessor |
|
103 |
(JavaByteCodeProcessorTests autoload) |
|
104 |
JavaClassReader |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
105 |
(JavaClassReader2Tests autoload) |
752 | 106 |
(JavaClassReaderTests autoload) |
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
107 |
(JavaClassRefTests autoload) |
752 | 108 |
JavaConstantPool |
109 |
JavaContext |
|
110 |
JavaDecompiler |
|
111 |
JavaDescriptor |
|
112 |
JavaError |
|
113 |
JavaExceptionTableEntry |
|
761 | 114 |
(JavaExceptionThrowerMock autoload) |
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
115 |
(JavaFieldRefTests autoload) |
752 | 116 |
(JavaInitializedResource autoload) |
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
117 |
(JavaInterfaceMethodRefTests autoload) |
752 | 118 |
(JavaJUnitTests autoload) |
119 |
JavaJavadocNode |
|
120 |
JavaLanguage |
|
754 | 121 |
JavaLibraries |
756 | 122 |
(JavaLibrariesResource autoload) |
752 | 123 |
JavaLocalVariableTable |
124 |
JavaLocalVariableTableEntry |
|
125 |
JavaLookup |
|
761 | 126 |
(JavaLookupTestsResource autoload) |
752 | 127 |
JavaMethod |
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
128 |
(JavaMethodRefTests autoload) |
774 | 129 |
JavaNameAndType2 |
752 | 130 |
JavaNameandType |
131 |
JavaNativeMemory |
|
132 |
JavaNode |
|
133 |
JavaObject |
|
134 |
JavaObjectDictionary |
|
135 |
JavaParseResult |
|
136 |
(JavaParserNavigationTests autoload) |
|
137 |
(JavaParserTestCase autoload) |
|
138 |
(JavaParserTests autoload) |
|
139 |
JavaPopUpView |
|
140 |
JavaProcess |
|
141 |
JavaRef |
|
774 | 142 |
JavaRef2 |
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
143 |
(JavaRefMock autoload) |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
144 |
(JavaRefTests autoload) |
752 | 145 |
JavaRelease |
758 | 146 |
JavaResolver |
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
147 |
(JavaRuntimeConstantPoolTests autoload) |
752 | 148 |
JavaSlotIndexCache |
149 |
JavaSourceCodeCache |
|
150 |
JavaSourceFileWriter |
|
151 |
JavaStartup |
|
763 | 152 |
JavaTestsLoader |
752 | 153 |
(JavaTestsResource autoload) |
154 |
JavaTopView |
|
155 |
(JavaUTF8Tests autoload) |
|
156 |
JavaUnresolvedConstant |
|
157 |
JavaVM |
|
158 |
JavaView |
|
761 | 159 |
(LookupTests autoload) |
752 | 160 |
PPJavaNode |
161 |
Short |
|
162 |
SmalltalkAppletContext |
|
163 |
SmalltalkAppletStub |
|
761 | 164 |
(TestletTestCaseProxy autoload) |
752 | 165 |
#'stx_libjava' |
166 |
JavaAnnotationArrayValue |
|
167 |
JavaAnnotationClassValue |
|
168 |
JavaAnnotationEnumValue |
|
169 |
JavaAnnotationNestedAnnotationValue |
|
170 |
JavaAnnotationPrimitiveValue |
|
171 |
JavaByteCodeDisassembler |
|
172 |
JavaByteCodeEnumerator |
|
173 |
JavaByteCodeInterpreter |
|
174 |
JavaClass |
|
175 |
JavaClassAnnotationContainer |
|
774 | 176 |
JavaClassContentRef2 |
771 | 177 |
JavaClassReader2 |
752 | 178 |
JavaClassRef |
774 | 179 |
JavaClassRef2 |
752 | 180 |
JavaEmbeddedFrameView |
181 |
JavaField |
|
182 |
JavaFieldAnnotationContainer |
|
183 |
JavaFieldDescriptor |
|
184 |
JavaFieldref |
|
185 |
JavaFormalParameterNode |
|
186 |
JavaMethodAnnotationContainer |
|
187 |
JavaMethodDeclarationNode |
|
188 |
JavaMethodDeclaratorNode |
|
189 |
JavaMethodDescriptor |
|
190 |
JavaMethodNode |
|
191 |
JavaMethodWithException |
|
192 |
JavaMethodref |
|
193 |
JavaParser |
|
781
d27c59bcf38a
added preResolve compatibility method + JavaStringRef - will be used soon
hlopkmar
parents:
780
diff
changeset
|
194 |
JavaStringRef2 |
752 | 195 |
JavaTypeNode |
196 |
JavaUnhandledExceptionError |
|
197 |
JavaUnresolvedClassConstant |
|
198 |
JavaUnresolvedNameandTypeConstant |
|
199 |
JavaUnresolvedRefConstant |
|
200 |
JavaUnresolvedStringConstant |
|
201 |
JavadocDeclarationNode |
|
202 |
JavaArrayTypeNode |
|
203 |
JavaBooleanTypeNode |
|
780
f1e6b4f1ee9b
preparation for incremental change of resolving logic
hlopkmar
parents:
779
diff
changeset
|
204 |
JavaBothOldAndNewClassRef |
752 | 205 |
JavaBuiltInClassPointerRef |
206 |
JavaByteCodeSteppableInterpreter |
|
207 |
JavaCharTypeNode |
|
208 |
JavaClassOrInterfaceTypeNode |
|
209 |
JavaClassPointerRef |
|
210 |
JavaDoubleTypeNode |
|
774 | 211 |
JavaFieldRef2 |
752 | 212 |
JavaFloatTypeNode |
213 |
JavaIntTypeNode |
|
214 |
JavaInterfaceMethodref |
|
215 |
JavaLongTypeNode |
|
774 | 216 |
JavaMethodRef2 |
752 | 217 |
JavaMethodWithHandler |
218 |
JavaUnresolvedFieldrefConstant |
|
219 |
JavaUnresolvedMethodrefConstant |
|
220 |
JavaVoidTypeNode |
|
221 |
JavaArrayClassPointerRef |
|
774 | 222 |
JavaInterfaceMethodRef2 |
752 | 223 |
JavaNativeMethod |
224 |
JavaUnresolvedInterfaceMethodrefConstant |
|
225 |
) |
|
226 |
! |
|
227 |
||
228 |
extensionMethodNames |
|
229 |
"lists the extension methods which are to be included in the project. |
|
230 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
231 |
||
232 |
^ #( |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
233 |
BooleanArray isInterface |
752 | 234 |
BooleanArray isJavaArrayClass |
235 |
ByteArray isJavaArrayClass |
|
236 |
DoubleArray isJavaArrayClass |
|
237 |
FloatArray isJavaArrayClass |
|
238 |
Object isJavaArray |
|
771 | 239 |
Object isJavaNameAndType |
758 | 240 |
Object isJavaRef |
752 | 241 |
String asArrayOfSubstringsSeparatedBy: |
763 | 242 |
UserPreferences javaTestsDirectory |
243 |
UserPreferences javaTestsDirectory: |
|
762 | 244 |
ZipArchive nextBytes:of:startingAt:into:startingAt: |
752 | 245 |
'Boolean class' arrayClass |
246 |
'Boolean class' isJavaPrimitiveType |
|
247 |
'Boolean class' javaName |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
248 |
'BooleanArray class' isInterface |
752 | 249 |
'BooleanArray class' isJavaReferenceType |
250 |
'BooleanArray class' javaComponentClass |
|
251 |
'BooleanArray class' javaName |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
252 |
'ByteArray class' isInterface |
752 | 253 |
'ByteArray class' isJavaReferenceType |
254 |
'ByteArray class' javaComponentClass |
|
255 |
'ByteArray class' javaName |
|
256 |
'Character class' arrayClass |
|
257 |
'Character class' isJavaPrimitiveType |
|
258 |
'Character class' javaName |
|
259 |
'CharacterArray class' decodeFromJavaUTF8: |
|
260 |
'CharacterArray class' fromJavaUTF8Bytes: |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
261 |
'DoubleArray class' isInterface |
752 | 262 |
'DoubleArray class' isJavaReferenceType |
263 |
'DoubleArray class' javaComponentClass |
|
264 |
'DoubleArray class' javaName |
|
265 |
'Float class' arrayClass |
|
266 |
'Float class' isJavaPrimitiveType |
|
267 |
'Float class' javaName |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
268 |
'FloatArray class' isInterface |
752 | 269 |
'FloatArray class' isJavaReferenceType |
270 |
'FloatArray class' javaComponentClass |
|
271 |
'FloatArray class' javaName |
|
272 |
'GenericToolbarIconLibrary class' javaClassBrowserIcon |
|
273 |
'Integer class' arrayClass |
|
274 |
'Integer class' isJavaPrimitiveType |
|
275 |
'Integer class' javaName |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
276 |
'IntegerArray class' isInterface |
752 | 277 |
'IntegerArray class' isJavaArrayClass |
278 |
'IntegerArray class' javaName |
|
279 |
'LargeInteger class' arrayClass |
|
280 |
'LargeInteger class' isJavaPrimitiveType |
|
281 |
'LargeInteger class' javaName |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
282 |
'LongIntegerArray class' isInterface |
752 | 283 |
'LongIntegerArray class' isJavaArrayClass |
284 |
'LongIntegerArray class' isJavaReferenceType |
|
285 |
'LongIntegerArray class' javaComponentClass |
|
286 |
'LongIntegerArray class' javaName |
|
287 |
'Object class' isJavaArrayClass |
|
288 |
'Object class' isJavaClassType |
|
289 |
'Object class' isJavaPrimitiveType |
|
290 |
'Object class' isJavaReferenceType |
|
291 |
'Object class' isJavaType |
|
292 |
'ShortFloat class' arrayClass |
|
293 |
'ShortFloat class' isJavaPrimitiveType |
|
294 |
'ShortFloat class' javaName |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
295 |
'String class' isInterface |
752 | 296 |
'String class' isJavaArrayClass |
297 |
'String class' javaComponentClass |
|
298 |
'String class' javaName |
|
299 |
'UndefinedObject class' isJavaPrimitiveType |
|
300 |
'UndefinedObject class' javaName |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
301 |
'WordArray class' isInterface |
752 | 302 |
'WordArray class' isJavaArrayClass |
303 |
'WordArray class' isJavaReferenceType |
|
304 |
'WordArray class' javaComponentClass |
|
305 |
'WordArray class' javaName |
|
306 |
) |
|
307 |
! ! |
|
308 |
||
309 |
!stx_libjava class methodsFor:'description - project information'! |
|
310 |
||
311 |
applicationIconFileName |
|
312 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
313 |
||
314 |
^ nil |
|
315 |
"/ ^ self applicationName |
|
316 |
! |
|
317 |
||
318 |
companyName |
|
319 |
"Return a companyname which will appear in <lib>.rc" |
|
320 |
||
321 |
^ 'eXept Software AG' |
|
322 |
! |
|
323 |
||
324 |
description |
|
325 |
"Return a description string which will appear in vc.def / bc.def" |
|
326 |
||
327 |
^ 'Smalltalk/X Class library' |
|
328 |
! |
|
329 |
||
330 |
legalCopyright |
|
331 |
"Return a copyright string which will appear in <lib>.rc" |
|
332 |
||
333 |
^ 'Copyright Claus Gittinger 1988-2010\nCopyright eXept Software AG 1998-2010' |
|
334 |
! |
|
335 |
||
336 |
productName |
|
337 |
"Return a product name which will appear in <lib>.rc" |
|
338 |
||
339 |
^ 'Smalltalk/X' |
|
340 |
! ! |
|
341 |
||
342 |
!stx_libjava class methodsFor:'description - svn'! |
|
343 |
||
754 | 344 |
svnRepositoryUrlString |
345 |
"Return a SVN repository URL of myself. |
|
346 |
(Generated since 2011-04-08) |
|
347 |
" |
|
348 |
||
349 |
^ '$URL$' |
|
350 |
! |
|
351 |
||
752 | 352 |
svnRevisionNr |
353 |
"Return a SVN revision number of myself. |
|
354 |
This number is updated after a commit" |
|
355 |
||
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
356 |
^ "$SVN-Revision:"'1177M'"$" |
752 | 357 |
! ! |
358 |
||
359 |
!stx_libjava class methodsFor:'file generation'! |
|
360 |
||
361 |
basicFileNamesToGenerate |
|
362 |
"answer a dictionary (filename -> generator method) with all the files, that have to be generated for this |
|
363 |
package" |
|
364 |
||
365 |
|dict| |
|
366 |
||
367 |
dict := super basicFileNamesToGenerate. |
|
368 |
||
369 |
dict |
|
370 |
at:'builder/package.deps.rake' put: #'generate_package_dot_deps_dot_rake'. |
|
371 |
||
372 |
^ dict. |
|
373 |
||
374 |
"Created: / 11-03-2011 / 09:32:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
375 |
! ! |
|
376 |
||
377 |
!stx_libjava class methodsFor:'documentation'! |
|
378 |
||
379 |
version_SVN |
|
380 |
^ '$Id$' |
|
381 |
! ! |