1761
|
1 |
"{ Package: 'stx:libjava/benchmarks' }"
|
|
2 |
|
|
3 |
LibraryDefinition subclass:#stx_libjava_benchmarks
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'* Projects & Packages *'
|
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!stx_libjava_benchmarks class methodsFor:'description'!
|
|
12 |
|
|
13 |
excludedFromPreRequisites
|
|
14 |
"list all packages which should be ignored in the automatic
|
|
15 |
preRequisites scan. See #preRequisites for more."
|
|
16 |
|
|
17 |
^ #(
|
|
18 |
)
|
|
19 |
!
|
|
20 |
|
|
21 |
preRequisites
|
|
22 |
"list all required packages.
|
|
23 |
This list can be maintained manually or (better) generated and
|
|
24 |
updated by scanning the superclass hierarchies and looking for
|
|
25 |
global variable accesses. (the browser has a menu function for that)
|
|
26 |
Howevery, often too much is found, and you may want to explicitely
|
|
27 |
exclude individual packages in the #excludedFromPrerequisites method."
|
|
28 |
|
|
29 |
^ #(
|
1762
|
30 |
#'stx:libbasic' "StandaloneStartup - superclass of JavaBenchmarkRunner "
|
1775
|
31 |
#'stx:libjava' "Java - referenced by JavaBenchmark>>runBenchmarkJ: "
|
1761
|
32 |
)
|
|
33 |
! !
|
|
34 |
|
|
35 |
!stx_libjava_benchmarks class methodsFor:'description - contents'!
|
|
36 |
|
|
37 |
classNamesAndAttributes
|
|
38 |
"lists the classes which are to be included in the project.
|
|
39 |
Each entry in the list may be: a single class-name (symbol),
|
|
40 |
or an array-literal consisting of class name and attributes.
|
|
41 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..."
|
|
42 |
|
|
43 |
^ #(
|
|
44 |
"<className> or (<className> attributes...) in load order"
|
|
45 |
JavaBenchmark
|
|
46 |
Ackerman
|
|
47 |
Ary
|
|
48 |
CrossLanguageInvocation
|
|
49 |
Groovy
|
|
50 |
Hash
|
|
51 |
MethodInvocation
|
|
52 |
OverloadedMethods
|
|
53 |
OverloadedMethods2
|
|
54 |
Saxon
|
1802
|
55 |
Jasper
|
1761
|
56 |
Strcat
|
|
57 |
Threadring
|
|
58 |
#'stx_libjava_benchmarks'
|
1762
|
59 |
JavaBenchmarkRunner
|
1775
|
60 |
ObjectArguments
|
|
61 |
PrimitiveArguments
|
|
62 |
WrappedArguments
|
1761
|
63 |
)
|
|
64 |
!
|
|
65 |
|
|
66 |
extensionMethodNames
|
|
67 |
"lists the extension methods which are to be included in the project.
|
|
68 |
Entries are 2-element array literals, consisting of class-name and selector."
|
|
69 |
|
|
70 |
^ #(
|
1762
|
71 |
SmallInteger ackermann:
|
1761
|
72 |
)
|
|
73 |
! !
|
|
74 |
|
1762
|
75 |
!stx_libjava_benchmarks class methodsFor:'description - java'!
|
|
76 |
|
|
77 |
javaClassPath
|
|
78 |
|
|
79 |
<javaclasspath>
|
|
80 |
|
|
81 |
^{
|
|
82 |
self packageDirectory / 'java' / 'bin' .
|
|
83 |
self packageDirectory / 'java' / 'libs' / '*.jar'
|
|
84 |
}
|
|
85 |
|
|
86 |
"Created: / 17-11-2011 / 23:00:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
87 |
!
|
|
88 |
|
|
89 |
javaSourcePath
|
|
90 |
|
|
91 |
<javasourcepath>
|
|
92 |
|
|
93 |
^{
|
|
94 |
self packageDirectory / 'java' / 'src' .
|
|
95 |
}
|
|
96 |
|
|
97 |
"Created: / 17-11-2011 / 23:01:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
98 |
! !
|
|
99 |
|
1761
|
100 |
!stx_libjava_benchmarks class methodsFor:'description - project information'!
|
|
101 |
|
|
102 |
applicationIconFileName
|
|
103 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
|
|
104 |
|
|
105 |
^ nil
|
|
106 |
"/ ^ self applicationName
|
|
107 |
!
|
|
108 |
|
|
109 |
companyName
|
|
110 |
"Return a companyname which will appear in <lib>.rc"
|
|
111 |
|
|
112 |
^ 'eXept Software AG'
|
|
113 |
!
|
|
114 |
|
|
115 |
description
|
|
116 |
"Return a description string which will appear in vc.def / bc.def"
|
|
117 |
|
|
118 |
^ 'Smalltalk/X Class library'
|
|
119 |
!
|
|
120 |
|
|
121 |
legalCopyright
|
|
122 |
"Return a copyright string which will appear in <lib>.rc"
|
|
123 |
|
|
124 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
|
|
125 |
!
|
|
126 |
|
|
127 |
productInstallDirBaseName
|
|
128 |
"Returns a default installDir which will appear in <app>.nsi.
|
|
129 |
This is usually not the one you want to keep"
|
|
130 |
|
|
131 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
|
|
132 |
!
|
|
133 |
|
|
134 |
productName
|
|
135 |
"Return a product name which will appear in <lib>.rc"
|
|
136 |
|
|
137 |
^ 'Smalltalk/X'
|
|
138 |
! !
|
|
139 |
|
|
140 |
!stx_libjava_benchmarks class methodsFor:'description - svn'!
|
|
141 |
|
|
142 |
svnRepositoryUrlString
|
|
143 |
"Return a SVN repository URL of myself.
|
|
144 |
(Generated since 2011-04-08)
|
|
145 |
Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!!
|
|
146 |
"
|
|
147 |
|
|
148 |
^ '$URL:: $'
|
|
149 |
!
|
|
150 |
|
|
151 |
svnRevisionNr
|
|
152 |
"Return a SVN revision number of myself.
|
|
153 |
This number is updated after a commit"
|
|
154 |
|
1780
|
155 |
^ "$SVN-Revision:"'2153 '"$"
|
1761
|
156 |
! !
|
|
157 |
|
|
158 |
!stx_libjava_benchmarks class methodsFor:'documentation'!
|
|
159 |
|
|
160 |
version_SVN
|
|
161 |
^ '$Id:: $'
|
|
162 |
! !
|