mauve/stx_libjava_mauve.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 28 Jan 2013 21:15:59 +0000
branchdevelopment
changeset 2005 f5f046bfdfc6
parent 1818 2e5ed72e7dfd
child 2069 75d40b7b986f
permissions -rw-r--r--
More work on new JavaCodeBundleEditor & preferences. Not yet finished.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1411
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     1
"{ Package: 'stx:libjava/mauve' }"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     2
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     3
LibraryDefinition subclass:#stx_libjava_mauve
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     4
	instanceVariableNames:''
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     5
	classVariableNames:''
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     6
	poolDictionaries:''
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     7
	category:'* Projects & Packages *'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     8
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
     9
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    10
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    11
!stx_libjava_mauve class methodsFor:'accessing - tests'!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    12
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    13
testSuite
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    14
1434
ea72997fdf11 Fixes for Jenkins
vranyj1
parents: 1411
diff changeset
    15
    ^(JavaTestsLoader buildSuiteForMauve)
ea72997fdf11 Fixes for Jenkins
vranyj1
parents: 1411
diff changeset
    16
        name: self package;
ea72997fdf11 Fixes for Jenkins
vranyj1
parents: 1411
diff changeset
    17
        yourself
1411
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    18
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    19
    "Created: / 07-05-2011 / 19:58:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    20
    "Modified: / 04-06-2011 / 17:23:05 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
1434
ea72997fdf11 Fixes for Jenkins
vranyj1
parents: 1411
diff changeset
    21
    "Modified: / 28-03-2012 / 12:46:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
1411
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    22
! !
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    23
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    24
!stx_libjava_mauve class methodsFor:'description'!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    25
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    26
excludedFromPreRequisites
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    27
    "list all packages which should be ignored in the automatic
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    28
     preRequisites scan. See #preRequisites for more."
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    29
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    30
    ^ #(
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    31
    )
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    32
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    33
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    34
preRequisites
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    35
    "list all required packages.
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    36
     This list can be maintained manually or (better) generated and
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    37
     updated by scanning the superclass hierarchies and looking for
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    38
     global variable accesses. (the browser has a menu function for that)
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    39
     Howevery, often too much is found, and you may want to explicitely
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    40
     exclude individual packages in the #excludedFromPrerequisites method."
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    41
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    42
    ^ #(
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    43
        #'stx:libbasic'    "Object - superclass of stx_libjava_mauve "
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    44
        #'stx:libjava'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    45
    )
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    46
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    47
    "Modified: / 10-03-2012 / 10:47:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    48
! !
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    49
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    50
!stx_libjava_mauve class methodsFor:'description - contents'!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    51
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    52
classNamesAndAttributes
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    53
    "lists the classes which are to be included in the project.
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    54
     Each entry in the list may be: a single class-name (symbol),
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    55
     or an array-literal consisting of class name and attributes.
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    56
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    57
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    58
    ^ #(
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    59
        "<className> or (<className> attributes...) in load order"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    60
        #'stx_libjava_mauve'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    61
    )
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    62
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    63
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    64
extensionMethodNames
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    65
    "lists the extension methods which are to be included in the project.
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    66
     Entries are 2-element array literals, consisting of class-name and selector."
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    67
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    68
    ^ #(
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    69
    )
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    70
! !
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    71
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    72
!stx_libjava_mauve class methodsFor:'description - project information'!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    73
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    74
applicationIconFileName
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    75
    "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    76
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    77
    ^ nil
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    78
    "/ ^ self applicationName
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    79
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    80
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    81
companyName
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    82
    "Return a companyname which will appear in <lib>.rc"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    83
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    84
    ^ 'SWING Research Group, Czech Technical University in Prague'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    85
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    86
    "Modified: / 10-03-2012 / 10:46:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    87
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    88
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    89
description
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    90
    "Return a description string which will appear in vc.def / bc.def"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    91
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    92
    ^ 'Mauve test suite'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    93
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    94
    "Modified: / 10-03-2012 / 10:46:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    95
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    96
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    97
legalCopyright
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    98
    "Return a copyright string which will appear in <lib>.rc"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
    99
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   100
    ^ 'Copyright 2011-2012 Marcel Hlopko, Jan Kurs and Jan Vrany'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   101
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   102
    "Modified: / 10-03-2012 / 10:47:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   103
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   104
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   105
productInstallDirBaseName
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   106
    "Returns a default installDir which will appear in <app>.nsi.
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   107
     This is usually not the one you want to keep"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   108
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   109
    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   110
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   111
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   112
productName
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   113
    "Return a product name which will appear in <lib>.rc"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   114
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   115
    ^ 'Mauve test suite for libjava'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   116
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   117
    "Modified: / 10-03-2012 / 10:47:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   118
! !
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   119
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   120
!stx_libjava_mauve class methodsFor:'description - svn'!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   121
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   122
svnRepositoryUrlString
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   123
    "Return a SVN repository URL of myself.
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   124
     (Generated since 2011-04-08)
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   125
    "        
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   126
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   127
    ^ '$URL$'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   128
!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   129
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   130
svnRevisionNr
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   131
    "Return a SVN revision number of myself.
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   132
     This number is updated after a commit"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   133
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   134
    ^ "$SVN-Revision:"'nil'"$"
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   135
! !
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   136
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   137
!stx_libjava_mauve class methodsFor:'documentation'!
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   138
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   139
version_SVN
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   140
    ^ '$Id$'
618f77286f58 Initial commit of package for mauve tests
vranyj1
parents:
diff changeset
   141
! !