benchmarks/stx_libjava_benchmarks.st
branchdevelopment
changeset 2573 59aeefc96cf4
parent 2429 ebece4dcaab9
child 2576 66d0effca1fd
equal deleted inserted replaced
2572:6cb2a8051e05 2573:59aeefc96cf4
     1 "{ Package: 'stx:libjava/benchmarks' }"
     1 "{ Package: 'stx:libjava/benchmarks' }"
     2 
     2 
     3 LibraryDefinition subclass:#'stx_libjava_benchmarks'
     3 LibraryDefinition subclass:#stx_libjava_benchmarks
     4 	instanceVariableNames:''
     4 	instanceVariableNames:''
     5 	classVariableNames:''
     5 	classVariableNames:''
     6 	poolDictionaries:''
     6 	poolDictionaries:''
     7 	category:'* Projects & Packages *'
     7 	category:'* Projects & Packages *'
     8 !
     8 !
    11 
    11 
    12 extensionsVersion_SVN
    12 extensionsVersion_SVN
    13     ^ '$Id: stx_libjava_benchmarks.st,v 1.2 2013-02-25 11:15:32 vrany Exp $'
    13     ^ '$Id: stx_libjava_benchmarks.st,v 1.2 2013-02-25 11:15:32 vrany Exp $'
    14 ! !
    14 ! !
    15 
    15 
    16 
       
    17 !stx_libjava_benchmarks class methodsFor:'description'!
    16 !stx_libjava_benchmarks class methodsFor:'description'!
    18 
    17 
    19 excludedFromPreRequisites
    18 excludedFromPreRequisites
    20     "list all packages which should be ignored in the automatic
    19     "list all packages which should be ignored in the automatic
    21      preRequisites scan. See #preRequisites for more."
    20      preRequisites scan. See #preRequisites for more."
    22 
    21 
    23     ^ #(
    22     ^ #(
    24     )
    23     )
    25 !
    24 !
    26 
    25 
    27 preRequisites
    26 mandatoryPreRequisites
    28     "list all required packages.
    27     "list all required mandatory packages.
       
    28      Packages are mandatory, if they contain superclasses of the package's classes
       
    29      or classes which are extended by this package.
    29      This list can be maintained manually or (better) generated and
    30      This list can be maintained manually or (better) generated and
    30      updated by scanning the superclass hierarchies and looking for
    31      updated by scanning the superclass hierarchies
    31      global variable accesses. (the browser has a menu function for that)
    32      (the browser has a menu function for that)
    32      Howevery, often too much is found, and you may want to explicitely
    33      However, often too much is found, and you may want to explicitely
    33      exclude individual packages in the #excludedFromPrerequisites method."
    34      exclude individual packages in the #excludedFromPreRequisites method."
    34 
    35 
    35     ^ #(
    36     ^ #(
    36         #'stx:libbasic'    "StandaloneStartup - superclass of JavaBenchmarkRunner "
    37         #'stx:libbasic'    "ArithmeticValue - extended "
       
    38     )
       
    39 !
       
    40 
       
    41 referencedPreRequisites
       
    42     "list all packages containing classes referenced by the packages's members.
       
    43      This list can be maintained manually or (better) generated and
       
    44      updated by looking for global variable accesses
       
    45      (the browser has a menu function for that)
       
    46      However, often too much is found, and you may want to explicitely
       
    47      exclude individual packages in the #excludedFromPreRequisites method."
       
    48 
       
    49     ^ #(
    37         #'stx:libjava'    "Java - referenced by JavaBenchmark>>runBenchmarkJ: "
    50         #'stx:libjava'    "Java - referenced by JavaBenchmark>>runBenchmarkJ: "
       
    51         #'stx:libprofiler'    "Profiler - referenced by JavaBenchmark>>profileStart "
       
    52     )
       
    53 !
       
    54 
       
    55 subProjects
       
    56     "list packages which are known as subprojects.
       
    57      The generated makefile will enter those and make there as well.
       
    58      However: they are not forced to be loaded when a package is loaded;
       
    59      for those, redefine requiredPrerequisites"
       
    60 
       
    61     ^ #(
    38     )
    62     )
    39 ! !
    63 ! !
    40 
       
    41 
    64 
    42 !stx_libjava_benchmarks class methodsFor:'description - contents'!
    65 !stx_libjava_benchmarks class methodsFor:'description - contents'!
    43 
    66 
    44 classNamesAndAttributes
    67 classNamesAndAttributes
    45     "lists the classes which are to be included in the project.
    68     "lists the classes which are to be included in the project.
    77     ^ #(
   100     ^ #(
    78         SmallInteger ackermann:
   101         SmallInteger ackermann:
    79     )
   102     )
    80 ! !
   103 ! !
    81 
   104 
    82 
       
    83 !stx_libjava_benchmarks class methodsFor:'description - java'!
   105 !stx_libjava_benchmarks class methodsFor:'description - java'!
    84 
   106 
    85 javaBundle
   107 javaBundle
    86 
   108 
    87     ^JavaCodeBundle standardPackageBundleFor: self package
   109     ^JavaCodeBundle standardPackageBundleFor: self package
    88 
   110 
    89     "Created: / 31-01-2013 / 11:41:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   111     "Created: / 31-01-2013 / 11:41:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    90 ! !
   112 ! !
    91 
       
    92 
   113 
    93 !stx_libjava_benchmarks class methodsFor:'description - project information'!
   114 !stx_libjava_benchmarks class methodsFor:'description - project information'!
    94 
   115 
    95 applicationIconFileName
   116 applicationIconFileName
    96     "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
   117     "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
   128     "Return a product name which will appear in <lib>.rc"
   149     "Return a product name which will appear in <lib>.rc"
   129 
   150 
   130     ^ 'Smalltalk/X'
   151     ^ 'Smalltalk/X'
   131 ! !
   152 ! !
   132 
   153 
   133 
       
   134 !stx_libjava_benchmarks class methodsFor:'description - svn'!
   154 !stx_libjava_benchmarks class methodsFor:'description - svn'!
   135 
   155 
   136 svnRepositoryUrlString
   156 svnRepositoryUrlString
   137     "Return a SVN repository URL of myself.
   157     "Return a SVN repository URL of myself.
   138      (Generated since 2011-04-08)
   158      (Generated since 2011-04-08)
   147      This number is updated after a commit"
   167      This number is updated after a commit"
   148 
   168 
   149     ^ "$SVN-Revision:"'2153            '"$"
   169     ^ "$SVN-Revision:"'2153            '"$"
   150 ! !
   170 ! !
   151 
   171 
   152 
       
   153 
       
   154 !stx_libjava_benchmarks class methodsFor:'documentation'!
   172 !stx_libjava_benchmarks class methodsFor:'documentation'!
   155 
   173 
   156 version_CVS
   174 version_CVS
   157     ^ '$Header: /cvs/stx/stx/libjava/benchmarks/stx_libjava_benchmarks.st,v 1.2 2013-02-25 11:15:32 vrany Exp $'
   175     ^ '$Header: /cvs/stx/stx/libjava/benchmarks/stx_libjava_benchmarks.st,v 1.2 2013-02-25 11:15:32 vrany Exp $'
   158 !
   176 !