benchmarks/stx_libjava_benchmarks.st
changeset 2353 fa7400d022a0
child 2380 9195eccdcbd9
child 2396 fadc6d7a2f5b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/stx_libjava_benchmarks.st	Sat Feb 16 19:08:45 2013 +0100
@@ -0,0 +1,161 @@
+"{ Package: 'stx:libjava/benchmarks' }"
+
+LibraryDefinition subclass:#stx_libjava_benchmarks
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'* Projects & Packages *'
+!
+
+!stx_libjava_benchmarks class methodsFor:'documentation'!
+
+extensionsVersion_SVN
+    ^ '$Id: stx_libjava_benchmarks.st,v 1.1 2013-02-16 18:08:33 vrany Exp $'
+! !
+
+!stx_libjava_benchmarks class methodsFor:'description'!
+
+excludedFromPreRequisites
+    "list all packages which should be ignored in the automatic
+     preRequisites scan. See #preRequisites for more."
+
+    ^ #(
+    )
+!
+
+preRequisites
+    "list all required packages.
+     This list can be maintained manually or (better) generated and
+     updated by scanning the superclass hierarchies and looking for
+     global variable accesses. (the browser has a menu function for that)
+     Howevery, often too much is found, and you may want to explicitely
+     exclude individual packages in the #excludedFromPrerequisites method."
+
+    ^ #(
+        #'stx:libbasic'    "StandaloneStartup - superclass of JavaBenchmarkRunner "
+        #'stx:libjava'    "Java - referenced by JavaBenchmark>>runBenchmarkJ: "
+    )
+! !
+
+!stx_libjava_benchmarks class methodsFor:'description - contents'!
+
+classNamesAndAttributes
+    "lists the classes which are to be included in the project.
+     Each entry in the list may be: a single class-name (symbol),
+     or an array-literal consisting of class name and attributes.
+     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
+
+    ^ #(
+        "<className> or (<className> attributes...) in load order"
+        JavaBenchmark
+        Ackerman
+        Ary
+        CrossLanguageInvocation
+        Groovy
+        Hash
+        MethodInvocation
+        OverloadedMethods
+        OverloadedMethods2
+        Saxon
+        Jasper
+        Strcat
+        Threadring
+        #'stx_libjava_benchmarks'
+        JavaBenchmarkRunner
+        ObjectArguments
+        PrimitiveArguments
+        WrappedArguments
+    )
+!
+
+extensionMethodNames
+    "lists the extension methods which are to be included in the project.
+     Entries are 2-element array literals, consisting of class-name and selector."
+
+    ^ #(
+        SmallInteger ackermann:
+    )
+! !
+
+!stx_libjava_benchmarks class methodsFor:'description - java'!
+
+javaBundle
+
+    ^JavaCodeBundle standardPackageBundleFor: self package
+
+    "Created: / 31-01-2013 / 11:41:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!stx_libjava_benchmarks class methodsFor:'description - project information'!
+
+applicationIconFileName
+    "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
+
+    ^ nil
+    "/ ^ self applicationName
+!
+
+companyName
+    "Return a companyname which will appear in <lib>.rc"
+
+    ^ 'eXept Software AG'
+!
+
+description
+    "Return a description string which will appear in vc.def / bc.def"
+
+    ^ 'Smalltalk/X Class library'
+!
+
+legalCopyright
+    "Return a copyright string which will appear in <lib>.rc"
+
+    ^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
+!
+
+productInstallDirBaseName
+    "Returns a default installDir which will appear in <app>.nsi.
+     This is usually not the one you want to keep"
+
+    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
+!
+
+productName
+    "Return a product name which will appear in <lib>.rc"
+
+    ^ 'Smalltalk/X'
+! !
+
+!stx_libjava_benchmarks class methodsFor:'description - svn'!
+
+svnRepositoryUrlString
+    "Return a SVN repository URL of myself.
+     (Generated since 2011-04-08)
+     Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!!
+    "        
+
+    ^ '$URL::                                                                                                                        $'
+!
+
+svnRevisionNr
+    "Return a SVN revision number of myself.
+     This number is updated after a commit"
+
+    ^ "$SVN-Revision:"'2153            '"$"
+! !
+
+!stx_libjava_benchmarks class methodsFor:'documentation'!
+
+version_CVS
+    ^ '$Header: /cvs/stx/stx/libjava/benchmarks/stx_libjava_benchmarks.st,v 1.1 2013-02-16 18:08:33 vrany Exp $'
+!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+!
+
+version_SVN
+    ^ '§Id::                                                                                                                        §'
+! !
+