mauve/stx_libjava_mauve.st
author hlopkmar
Wed, 12 Dec 2012 23:26:59 +0000
branchdevelopment
changeset 1869 0ae14ac1c9af
parent 1818 2e5ed72e7dfd
child 2069 75d40b7b986f
permissions -rw-r--r--
java compiler (javac wrapper) and basic class reloading tests

"{ Package: 'stx:libjava/mauve' }"

LibraryDefinition subclass:#stx_libjava_mauve
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'* Projects & Packages *'
!


!stx_libjava_mauve class methodsFor:'accessing - tests'!

testSuite

    ^(JavaTestsLoader buildSuiteForMauve)
        name: self package;
        yourself

    "Created: / 07-05-2011 / 19:58:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    "Modified: / 04-06-2011 / 17:23:05 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
    "Modified: / 28-03-2012 / 12:46:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!stx_libjava_mauve 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'    "Object - superclass of stx_libjava_mauve "
        #'stx:libjava'
    )

    "Modified: / 10-03-2012 / 10:47:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!stx_libjava_mauve 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"
        #'stx_libjava_mauve'
    )
!

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."

    ^ #(
    )
! !

!stx_libjava_mauve 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"

    ^ 'SWING Research Group, Czech Technical University in Prague'

    "Modified: / 10-03-2012 / 10:46:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

description
    "Return a description string which will appear in vc.def / bc.def"

    ^ 'Mauve test suite'

    "Modified: / 10-03-2012 / 10:46:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

legalCopyright
    "Return a copyright string which will appear in <lib>.rc"

    ^ 'Copyright 2011-2012 Marcel Hlopko, Jan Kurs and Jan Vrany'

    "Modified: / 10-03-2012 / 10:47:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

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"

    ^ 'Mauve test suite for libjava'

    "Modified: / 10-03-2012 / 10:47:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!stx_libjava_mauve class methodsFor:'description - svn'!

svnRepositoryUrlString
    "Return a SVN repository URL of myself.
     (Generated since 2011-04-08)
    "        

    ^ '$URL$'
!

svnRevisionNr
    "Return a SVN revision number of myself.
     This number is updated after a commit"

    ^ "$SVN-Revision:"'nil'"$"
! !

!stx_libjava_mauve class methodsFor:'documentation'!

version_SVN
    ^ '$Id$'
! !