stx_projects_smalltalk.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 30 Jun 2016 17:14:29 +0100
branchjv
changeset 1447 0b149293564f
parent 1442 14aa87cd5d2d
child 1481 4a4686007f8f
permissions -rw-r--r--
Issue #98: Added -P / --package-path command line option ...to modify package path from command line. Just like java's -cp / --classpath
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     1
"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2006 by eXept Software AG
1441
0e59638c5ce7 Updated copyright notice
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1376
diff changeset
     3
               2016-now by Jan Vrany <jan.vrany@fit.cvut.cz>
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     4
              All Rights Reserved
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     5
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     6
 This software is furnished under a license and may be used
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     7
 only in accordance with the terms of that license and with the
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     8
 inclusion of the above copyright notice.   This software may not
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     9
 be provided or otherwise made available to, or used by, any
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    10
 other person.  No title to or ownership of the software is
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    11
 hereby transferred.
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    12
"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    13
"{ Package: 'stx:projects/smalltalk' }"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    14
1376
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    15
"{ NameSpace: Smalltalk }"
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    16
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
ApplicationDefinition subclass:#stx_projects_smalltalk
1221
705f0a94600f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1212
diff changeset
    18
	instanceVariableNames:''
705f0a94600f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1212
diff changeset
    19
	classVariableNames:''
705f0a94600f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1212
diff changeset
    20
	poolDictionaries:''
705f0a94600f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1212
diff changeset
    21
	category:'* Projects & Packages *'
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    22
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    23
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    24
!stx_projects_smalltalk class methodsFor:'documentation'!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    25
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    26
copyright
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    27
"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    28
 COPYRIGHT (c) 2006 by eXept Software AG
1441
0e59638c5ce7 Updated copyright notice
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1376
diff changeset
    29
               2016-now by Jan Vrany <jan.vrany@fit.cvut.cz>
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    30
              All Rights Reserved
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    31
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    32
 This software is furnished under a license and may be used
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    33
 only in accordance with the terms of that license and with the
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    34
 inclusion of the above copyright notice.   This software may not
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    35
 be provided or otherwise made available to, or used by, any
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    36
 other person.  No title to or ownership of the software is
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    37
 hereby transferred.
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    38
"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    40
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    41
documentation
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
"
1376
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    43
    Build- and package information for creation of the ST/X executable itself (with GUI).
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    44
    ST/X itself (i.e. the stx executable) is simply a standAlone application which includes
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    45
    all the common widgets and development tool libraries as prerequisites.
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    46
    So when started, these classes are already present.
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    47
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
    [Author:]
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
        Claus Gittinger
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    50
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    51
    [startWith:]
1376
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    52
        Start the ST/X application from the command line:
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    53
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    54
            stx                 regular start; read snapshot image file if present
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    55
            stx -I              regular start; ignore any snapshot image (i.e. cold start)
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    56
            stx -I --quick      quick start; ignore snapshot and do not scan for autoloaded classes.
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    57
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
    58
        Actually, startup is in 'Smalltalk >> start', so take a look at that method, for what is going on.
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    59
"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
! !
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    62
!stx_projects_smalltalk class methodsFor:'description'!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    63
842
2ffca1cb987c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 833
diff changeset
    64
applicationIconFileName
2ffca1cb987c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 833
diff changeset
    65
    ^ 'stx_32x32'
2ffca1cb987c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 833
diff changeset
    66
!
2ffca1cb987c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 833
diff changeset
    67
996
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    68
applicationName
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    69
    "History: we want the helper files to be named: smalltalk*.*"
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    70
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    71
    ^ 'smalltalk'
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    72
!
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    73
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    74
applicationNameConsole
996
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    75
    ^ 'stx.com'
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    76
!
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    77
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    78
applicationNameNoConsole
996
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    79
    ^ 'stx.exe'
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    80
!
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    81
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    82
buildTarget
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    83
    "redefined, so by default, the executable file is only built - not an installer.
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    84
     For the installer to be built, we must explicitly type 'bmake setup'"
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    85
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    86
     ^ 'exe'
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    87
!
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    88
996
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    89
documentExtensions
1049
eede3d15659a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1035
diff changeset
    90
    ^ #()
eede3d15659a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1035
diff changeset
    91
"/    ^ #('st')
996
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    92
!
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    93
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    94
isConsoleApplication
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    95
    ^ true "actually, we do both the console and the non-console app (see additionalTargets_bc_dot_mak)"
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    96
!
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    97
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    98
isGUIApplication
1072
f72bea187609 comment: #isGUIApplication
Claus Gittinger <cg@exept.de>
parents: 1049
diff changeset
    99
    ^ true "actually, we do both the console and the non-console app (see additionalTargets_bc_dot_mak)"
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   100
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   101
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   102
mandatoryPreRequisites
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   103
    "list packages which are mandatory as a prerequisite.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   104
     This are packages containing superclasses of my classes and classes which
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   105
     are extended by myself.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   106
     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   107
     This method is generated automatically,
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   108
     by searching along the inheritance chain of all of my classes."
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   109
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   110
    ^ #(
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   111
        #'stx:libbasic'    "ApplicationDefinition - superclass of stx_projects_smalltalk"
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   112
    )
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   113
!
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   114
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   115
preRequisites
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   116
    ^ #(
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
   117
        #'stx:libbasic'    
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   118
        #'stx:libbasic2'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   119
        #'stx:libbasic3'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   120
        #'stx:libcomp'    
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   121
        #'stx:libhtml'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   122
        #'stx:libtool'    
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   123
        #'stx:libtool2'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   124
        #'stx:libui'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   125
        #'stx:libview'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   126
        #'stx:libview2'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   127
        #'stx:libwidg'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   128
        #'stx:libwidg2'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   129
        #'stx:libwidg3'
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   130
        #'stx:goodies/refactoryBrowser/helpers'
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   131
        #'stx:goodies/refactoryBrowser/parser'
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   132
        #'stx:goodies/refactoryBrowser/refactoring'
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   133
        #'stx:goodies/refactoryBrowser/changes'
1148
8dcf623eed7d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1124
diff changeset
   134
        #'stx:goodies/refactoryBrowser/browser'
1101
09e39a04cae6 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1089
diff changeset
   135
        #'stx:goodies/refactoryBrowser/lint'
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   136
        #'stx:libboss'
1212
34d137f91cb8 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1201
diff changeset
   137
        #'stx:libjavascript'
1233
988c2d89396d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1221
diff changeset
   138
"/        #'stx:goodies/petitparser'
988c2d89396d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1221
diff changeset
   139
"/        #'stx:libjava'
988c2d89396d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1221
diff changeset
   140
"/        #'stx:libsvn'
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   141
    )
1148
8dcf623eed7d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1124
diff changeset
   142
1233
988c2d89396d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1221
diff changeset
   143
    "Modified: / 13-01-2012 / 13:03:52 / cg"
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   144
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   145
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   146
referencedPreRequisites
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   147
    "list packages which are a prerequisite, because they contain
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   148
     classes which are referenced by my classes.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   149
     We do not need these packages as a prerequisite for compiling or loading,
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   150
     however, a class from it may be referenced during execution and having it
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   151
     unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   152
     includes explicit checks for the package being present.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   153
     This method is generated automatically,
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   154
     by searching all classes (and their packages) which are referenced by my classes."
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   155
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   156
    ^ #(
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   157
    )
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   158
!
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   159
971
2c9807ced80f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 939
diff changeset
   160
splashFileName
2c9807ced80f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 939
diff changeset
   161
    ^ 'stx_splash'
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   162
!
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   163
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   164
subProjects
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   165
    "list packages which are known as subprojects.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   166
     This method is generated automatically; however, when generating automatically,
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   167
     packages are only added - never removed, unless listed in #excludedFromSubProjects."
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   168
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   169
    ^ #(
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   170
)
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   171
! !
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   172
762
9cdba58d9a60 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 748
diff changeset
   173
!stx_projects_smalltalk class methodsFor:'description - building'!
9cdba58d9a60 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 748
diff changeset
   174
893
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   175
additionalFilesToInstall
901
7ee4e9a3330c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 900
diff changeset
   176
    "becomes part of the nsi list of files to install"
7ee4e9a3330c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 900
diff changeset
   177
893
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   178
    ^ #(
1035
ef310c7da196 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1028
diff changeset
   179
        '"*.wsp"'
1021
f36cbe90d694 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1011
diff changeset
   180
        '/x CVS "${STX_ROOT}\stx\projects\smalltalk\patches"'
f36cbe90d694 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1011
diff changeset
   181
        '/r /x CVS "${STX_ROOT}\stx\include"'
1028
9bdd8915250f automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1021
diff changeset
   182
        '/x CVS "${STX_ROOT}\stx\libview\styles\*"'
9bdd8915250f automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1021
diff changeset
   183
        'SetOutPath "$INSTDIR\bin\doc"'
1021
f36cbe90d694 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1011
diff changeset
   184
        '/r /x CVS "${STX_ROOT}\stx\doc\online"'
1035
ef310c7da196 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1028
diff changeset
   185
        'SetOutPath "$INSTDIR\bin\source"'
1028
9bdd8915250f automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1021
diff changeset
   186
        '/r /x CVS /x "not*" "${STX_ROOT}\stx\*.st"'
893
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   187
       )
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   188
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   189
    "Created: / 01-03-2007 / 20:03:15 / cg"
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   190
!
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   191
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
   192
iconFileName
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
   193
    ^ 'stx_32x32.ico'
762
9cdba58d9a60 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 748
diff changeset
   194
! !
9cdba58d9a60 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 748
diff changeset
   195
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   196
!stx_projects_smalltalk class methodsFor:'description - contents'!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   197
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   198
classNamesAndAttributes
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   199
    "lists the classes which are to be included in the project.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   200
     Each entry in the list may be: a single class-name (symbol),
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   201
     or an array-literal consisting of class name and attributes.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   202
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   203
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   204
    ^ #(
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   205
        "<className> or (<className> attributes...) in load order"
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   206
        SmalltalkStartup
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   207
        #'stx_projects_smalltalk'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   208
    )
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   209
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   210
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   211
extensionMethodNames
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   212
    "lists the extension methods which are to be included in the project.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   213
     Entries are 2-element array literals, consisting of class-name and selector.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   214
     A correponding method with real names must be present in my concrete subclasses
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   215
     if it has extensions."
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   216
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   217
    ^ #(
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   218
    )
902
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   219
!
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   220
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   221
protectedFileNames
1122
715da7750a21 changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents: 1101
diff changeset
   222
    "names of files which should NOT be generated (because they are hand-maintained)"
902
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   223
    "do NOT overwrite the hand-written Make.proto for now"
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   224
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   225
    ^ #( 'Make.proto' 'modules.stx' )
1122
715da7750a21 changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents: 1101
diff changeset
   226
715da7750a21 changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents: 1101
diff changeset
   227
    "Modified: / 21-12-2010 / 11:37:05 / cg"
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   228
! !
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   229
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   230
!stx_projects_smalltalk class methodsFor:'description - project information'!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   231
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   232
companyName
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   233
    "Return a companyname which will appear in <lib>.rc"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   234
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   235
    ^ 'eXept Software AG'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   236
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   237
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   238
description
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   239
    "Return a description string which will appear in nt.def / bc.def"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   240
795
d7e661fdd09c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   241
    ^ 'Smalltalk/X IDE'
d7e661fdd09c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   242
d7e661fdd09c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   243
    "Modified: / 10-02-2007 / 18:36:19 / cg"
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   244
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   245
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   246
legalCopyright
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   247
    "Return a copyright string which will appear in <lib>.rc"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   248
1249
744a7b1e6af7 changed: #legalcopyright
Claus Gittinger <cg@exept.de>
parents: 1233
diff changeset
   249
    ^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012'
795
d7e661fdd09c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   250
1249
744a7b1e6af7 changed: #legalcopyright
Claus Gittinger <cg@exept.de>
parents: 1233
diff changeset
   251
    "Modified: / 18-07-2012 / 19:12:22 / cg"
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   252
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   253
886
e2b59c951e8f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   254
productFilename
e2b59c951e8f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   255
    ^ 'SmalltalkX'
e2b59c951e8f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   256
e2b59c951e8f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 849
diff changeset
   257
    "Modified: / 01-03-2007 / 19:34:15 / cg"
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   258
! !
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   259
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   260
!stx_projects_smalltalk class methodsFor:'description - startup'!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   261
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   262
startupClassName
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   263
    ^ #Smalltalk
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   264
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   265
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   266
startupSelector
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   267
    ^ #start
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   268
! !
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   269
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   270
!stx_projects_smalltalk class methodsFor:'documentation'!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   271
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   272
version
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   273
    ^ '$Header$'
1072
f72bea187609 comment: #isGUIApplication
Claus Gittinger <cg@exept.de>
parents: 1049
diff changeset
   274
!
f72bea187609 comment: #isGUIApplication
Claus Gittinger <cg@exept.de>
parents: 1049
diff changeset
   275
f72bea187609 comment: #isGUIApplication
Claus Gittinger <cg@exept.de>
parents: 1049
diff changeset
   276
version_CVS
f72bea187609 comment: #isGUIApplication
Claus Gittinger <cg@exept.de>
parents: 1049
diff changeset
   277
    ^ '$Header$'
1441
0e59638c5ce7 Updated copyright notice
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1376
diff changeset
   278
!
0e59638c5ce7 Updated copyright notice
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1376
diff changeset
   279
0e59638c5ce7 Updated copyright notice
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1376
diff changeset
   280
version_HG
0e59638c5ce7 Updated copyright notice
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1376
diff changeset
   281
    ^ '$Changeset: <not expanded> $'
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   282
! !
1376
d37a3939d86d class: stx_projects_smalltalk
Claus Gittinger <cg@exept.de>
parents: 1273
diff changeset
   283