stx_projects_smalltalk.st
author Patrik Svestka <patrik.svestka@gmail.com>
Mon, 05 Jul 2021 12:43:35 +0200
branchjv
changeset 1630 7de40ef06ef6
parent 1608 efa48d08c563
permissions -rw-r--r--
1.7.2 Checking all powershell versions (pick first working one), detecting manual switch from a user, better handling of trucky batch characters Details: - fixing finding powershell (check for all versions and pick first one which is correct) in case the registry holds only powershell key, but is not valid powershell instance - Adding a simple manual_switch_detection variable to detect manual switch from user - make the launcher work better with tricky characters for cmd.exe (|, <, >, &)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     1
"
1478
262498be20f8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1477
diff changeset
     2
 COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG
1608
efa48d08c563 Change application name to `stx`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1558
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
"
1478
262498be20f8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1477
diff changeset
    28
 COPYRIGHT (c) Claus Gittinger / 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
1608
efa48d08c563 Change application name to `stx`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1558
diff changeset
    69
    ^ 'stx'
996
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    70
1608
efa48d08c563 Change application name to `stx`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1558
diff changeset
    71
    "
efa48d08c563 Change application name to `stx`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1558
diff changeset
    72
    stx_projects_smalltalk applicationName
efa48d08c563 Change application name to `stx`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1558
diff changeset
    73
    stx_projects_smalltalk applicationNameConsole
efa48d08c563 Change application name to `stx`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1558
diff changeset
    74
    stx_projects_smalltalk applicationNameNoConsole
efa48d08c563 Change application name to `stx`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1558
diff changeset
    75
    "
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    76
1608
efa48d08c563 Change application name to `stx`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1558
diff changeset
    77
    "Modified: / 19-07-2019 / 10:59:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    78
!
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    79
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    80
buildTarget
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    81
    "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
    82
     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
    83
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    84
     ^ 'exe'
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
996
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    87
documentExtensions
1049
eede3d15659a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1035
diff changeset
    88
    ^ #()
eede3d15659a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1035
diff changeset
    89
"/    ^ #('st')
996
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    90
!
4a35e075fe05 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 978
diff changeset
    91
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    92
isConsoleApplication
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
    93
    ^ 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
    94
!
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
    95
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    96
isGUIApplication
1072
f72bea187609 comment: #isGUIApplication
Claus Gittinger <cg@exept.de>
parents: 1049
diff changeset
    97
    ^ 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
    98
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    99
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   100
mandatoryPreRequisites
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   101
    "list packages which are mandatory as a prerequisite.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   102
     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
   103
     are extended by myself.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   104
     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
   105
     This method is generated automatically,
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   106
     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
   107
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   108
    ^ #(
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   109
        #'stx:libbasic'    "ApplicationDefinition - superclass of stx_projects_smalltalk"
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
!
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   112
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   113
preRequisites
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   114
    ^ #(
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
   115
        #'stx:libbasic'    
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   116
        #'stx:libbasic2'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   117
        #'stx:libbasic3'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   118
        #'stx:libcomp'    
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   119
        #'stx:libhtml'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   120
        #'stx:libtool'    
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   121
        #'stx:libtool2'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   122
        #'stx:libui'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   123
        #'stx:libview'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   124
        #'stx:libview2'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   125
        #'stx:libwidg'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   126
        #'stx:libwidg2'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   127
        #'stx:libwidg3'
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   128
        #'stx:goodies/refactoryBrowser/helpers'
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   129
        #'stx:goodies/refactoryBrowser/parser'
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   130
        #'stx:goodies/refactoryBrowser/refactoring'
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   131
        #'stx:goodies/refactoryBrowser/changes'
1148
8dcf623eed7d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1124
diff changeset
   132
        #'stx:goodies/refactoryBrowser/browser'
1101
09e39a04cae6 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1089
diff changeset
   133
        #'stx:goodies/refactoryBrowser/lint'
748
28d8f35e349a automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 740
diff changeset
   134
        #'stx:libboss'
1212
34d137f91cb8 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1201
diff changeset
   135
        #'stx:libjavascript'
1233
988c2d89396d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1221
diff changeset
   136
"/        #'stx:goodies/petitparser'
988c2d89396d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1221
diff changeset
   137
"/        #'stx:libjava'
988c2d89396d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1221
diff changeset
   138
"/        #'stx:libsvn'
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   139
    )
1148
8dcf623eed7d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1124
diff changeset
   140
1233
988c2d89396d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 1221
diff changeset
   141
    "Modified: / 13-01-2012 / 13:03:52 / cg"
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   142
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   143
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   144
referencedPreRequisites
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   145
    "list packages which are a prerequisite, because they contain
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   146
     classes which are referenced by my classes.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   147
     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
   148
     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
   149
     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
   150
     includes explicit checks for the package being present.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   151
     This method is generated automatically,
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   152
     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
   153
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   154
    ^ #(
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
971
2c9807ced80f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 939
diff changeset
   158
splashFileName
2c9807ced80f automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 939
diff changeset
   159
    ^ 'stx_splash'
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   160
!
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   161
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   162
subProjects
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   163
    "list packages which are known as subprojects.
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   164
     This method is generated automatically; however, when generating automatically,
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   165
     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
   166
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   167
    ^ #(
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   168
)
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   169
! !
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   170
762
9cdba58d9a60 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 748
diff changeset
   171
!stx_projects_smalltalk class methodsFor:'description - building'!
9cdba58d9a60 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 748
diff changeset
   172
893
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   173
additionalFilesToInstall
901
7ee4e9a3330c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 900
diff changeset
   174
    "becomes part of the nsi list of files to install"
7ee4e9a3330c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 900
diff changeset
   175
893
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   176
    ^ #(
1035
ef310c7da196 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1028
diff changeset
   177
        '"*.wsp"'
1021
f36cbe90d694 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1011
diff changeset
   178
        '/x CVS "${STX_ROOT}\stx\projects\smalltalk\patches"'
f36cbe90d694 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1011
diff changeset
   179
        '/r /x CVS "${STX_ROOT}\stx\include"'
1028
9bdd8915250f automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1021
diff changeset
   180
        '/x CVS "${STX_ROOT}\stx\libview\styles\*"'
9bdd8915250f automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1021
diff changeset
   181
        'SetOutPath "$INSTDIR\bin\doc"'
1021
f36cbe90d694 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1011
diff changeset
   182
        '/r /x CVS "${STX_ROOT}\stx\doc\online"'
1035
ef310c7da196 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1028
diff changeset
   183
        'SetOutPath "$INSTDIR\bin\source"'
1028
9bdd8915250f automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 1021
diff changeset
   184
        '/r /x CVS /x "not*" "${STX_ROOT}\stx\*.st"'
893
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   185
       )
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   186
c8f33507784d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 886
diff changeset
   187
    "Created: / 01-03-2007 / 20:03:15 / cg"
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
807
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
   190
iconFileName
a88ba24aad4a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 795
diff changeset
   191
    ^ 'stx_32x32.ico'
762
9cdba58d9a60 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 748
diff changeset
   192
! !
9cdba58d9a60 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 748
diff changeset
   193
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   194
!stx_projects_smalltalk class methodsFor:'description - contents'!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   195
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   196
classNamesAndAttributes
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   197
    "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
   198
     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
   199
     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
   200
     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
   201
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   202
    ^ #(
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   203
        "<className> or (<className> attributes...) in load order"
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   204
        SmalltalkStartup
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   205
        #'stx_projects_smalltalk'
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   206
    )
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   207
!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   208
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   209
extensionMethodNames
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   210
    "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
   211
     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
   212
     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
   213
     if it has extensions."
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   214
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   215
    ^ #(
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   216
    )
902
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   217
!
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   218
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   219
protectedFileNames
1122
715da7750a21 changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents: 1101
diff changeset
   220
    "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
   221
    "do NOT overwrite the hand-written Make.proto for now"
db523b233ec8 Keep Make.proto
Stefan Vogel <sv@exept.de>
parents: 901
diff changeset
   222
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1441
diff changeset
   223
    ^ #( 'Make.proto' 'modules.stx' )
1122
715da7750a21 changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents: 1101
diff changeset
   224
715da7750a21 changed: #protectedFileNames
Claus Gittinger <cg@exept.de>
parents: 1101
diff changeset
   225
    "Modified: / 21-12-2010 / 11:37:05 / cg"
740
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   226
! !
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   227
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   228
!stx_projects_smalltalk class methodsFor:'description - project information'!
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   229
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   230
companyName
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   231
    "Return a companyname which will appear in <lib>.rc"
9ea5f8935edf initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   232
1477
2a0a382aafbe #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1376
diff changeset
   233
    ^ 'Claus Gittinger / eXept Software AG'
2a0a382aafbe #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1376
diff changeset
   234
2a0a382aafbe #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1376
diff changeset
   235
    "Modified: / 18-11-2016 / 11:47:40 / cg"
740
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
1479
109c34978a1d #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1478
diff changeset
   249
    ^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 1998-2012'
795
d7e661fdd09c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 778
diff changeset
   250
1479
109c34978a1d #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1478
diff changeset
   251
    "Modified: / 18-11-2016 / 12:19:34 / 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