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