ApplicationBuilder.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 28 Aug 2013 12:52:38 +0100
branchjv
changeset 13465 1f1e8b6710c8
parent 13289 cc75e3cd0362
child 13471 3ee11c3d0306
permissions -rw-r--r--
Bugfix Tools::CodeView2::GutterView - do not redraw gutter if its not shown. This actually fixes DNU when CodeView2 is used in diff view. Then the second gutter is not shown and #yOfTextViewLine: returns nil (bad) which leads to DNU.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2628
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     1
"
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     2
 COPYRIGHT (c) 1998 by eXept Software AG
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     3
              All Rights Reserved
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     4
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     5
 This software is furnished under a license and may be used
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     6
 only in accordance with the terms of that license and with the
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     7
 inclusion of the above copyright notice. This software may not
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     8
 be provided or otherwise made available to, or used by, any
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
     9
 other person. No title to or ownership of the software is
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    10
 hereby transferred.
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    11
"
7087
c46a141cfe46 category change
Claus Gittinger <cg@exept.de>
parents: 2628
diff changeset
    12
"{ Package: 'stx:libtool' }"
c46a141cfe46 category change
Claus Gittinger <cg@exept.de>
parents: 2628
diff changeset
    13
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    14
ToolApplicationModel subclass:#ApplicationBuilder
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    15
	instanceVariableNames:'task shellView aspects'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    16
	classVariableNames:''
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    17
	poolDictionaries:''
7087
c46a141cfe46 category change
Claus Gittinger <cg@exept.de>
parents: 2628
diff changeset
    18
	category:'Interface-Tools'
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    19
!
dd37d7763def initial checkin
tz
parents:
diff changeset
    20
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    21
ApplicationBuilder class instanceVariableNames:'aspects'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    22
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    23
"
13289
cc75e3cd0362 Merged 90f5185cb746 and a7c09789affb (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12431 13256
diff changeset
    24
 No other class instance variables are inherited by this class.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    25
"
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    26
!
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    27
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    28
!ApplicationBuilder class methodsFor:'documentation'!
dd37d7763def initial checkin
tz
parents:
diff changeset
    29
2628
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    30
copyright
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    31
"
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    32
 COPYRIGHT (c) 1998 by eXept Software AG
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    33
              All Rights Reserved
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    34
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    35
 This software is furnished under a license and may be used
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    36
 only in accordance with the terms of that license and with the
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    37
 inclusion of the above copyright notice. This software may not
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    38
 be provided or otherwise made available to, or used by, any
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    39
 other person. No title to or ownership of the software is
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    40
 hereby transferred.
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    41
"
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    42
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    43
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    44
!
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    45
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    46
documentation
dd37d7763def initial checkin
tz
parents:
diff changeset
    47
"
2628
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    48
    WARNING: unfinished - do not use.
c20c71989aa1 copyrights
Claus Gittinger <cg@exept.de>
parents: 1630
diff changeset
    49
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    50
    The Application Builder of ST/X allows you to build ST/X-applications by following steps:
dd37d7763def initial checkin
tz
parents:
diff changeset
    51
dd37d7763def initial checkin
tz
parents:
diff changeset
    52
        0. Clobber the target directory of the application
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    53
        1. Generate the h-file with symbols
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    54
        2. Generate the c-file with modules
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    55
        3. Compile the modules init file
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    56
        4. Compile the startup C-file
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    57
        5. Define the symbolic links to the libraries
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    58
        6. Link the libraries to the application
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    59
        7. Define the symbolic links to the resources
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    60
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    61
    [instance variables:]
dd37d7763def initial checkin
tz
parents:
diff changeset
    62
        task           <Process>               task of the running build
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
    63
        shellView      <ShellView>             shell view for outputting the build results
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    64
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    65
    [instance class variables:]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    66
        aspects        <IdentityDictionary>    aspects of the settings
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    67
dd37d7763def initial checkin
tz
parents:
diff changeset
    68
    [start with:]
dd37d7763def initial checkin
tz
parents:
diff changeset
    69
        ApplicationBuilder open
dd37d7763def initial checkin
tz
parents:
diff changeset
    70
dd37d7763def initial checkin
tz
parents:
diff changeset
    71
    [see also:]
dd37d7763def initial checkin
tz
parents:
diff changeset
    72
        LibraryBuilder
dd37d7763def initial checkin
tz
parents:
diff changeset
    73
dd37d7763def initial checkin
tz
parents:
diff changeset
    74
    [author:]
dd37d7763def initial checkin
tz
parents:
diff changeset
    75
        Thomas Zwick, eXept Software AG
dd37d7763def initial checkin
tz
parents:
diff changeset
    76
"
dd37d7763def initial checkin
tz
parents:
diff changeset
    77
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
    78
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    79
!ApplicationBuilder class methodsFor:'accessing'!
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    80
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    81
aspects
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    82
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    83
    aspects isNil ifTrue: [aspects := IdentityDictionary new].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    84
    ^aspects
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    85
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    86
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    87
!
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    88
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    89
aspects: anIdentityDictionary
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    90
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    91
    aspects := anIdentityDictionary
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
    92
!
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
    93
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
    94
label
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
    95
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
    96
   ^'Application Builder (experimental)'
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    97
! !
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
    98
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
    99
!ApplicationBuilder class methodsFor:'help specs'!
dd37d7763def initial checkin
tz
parents:
diff changeset
   100
dd37d7763def initial checkin
tz
parents:
diff changeset
   101
helpSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   102
    "This resource specification was automatically generated
dd37d7763def initial checkin
tz
parents:
diff changeset
   103
     by the UIHelpTool of ST/X."
dd37d7763def initial checkin
tz
parents:
diff changeset
   104
dd37d7763def initial checkin
tz
parents:
diff changeset
   105
    "Do not manually edit this!! If it is corrupted,
dd37d7763def initial checkin
tz
parents:
diff changeset
   106
     the UIHelpTool may not be able to read the specification."
dd37d7763def initial checkin
tz
parents:
diff changeset
   107
dd37d7763def initial checkin
tz
parents:
diff changeset
   108
    "
dd37d7763def initial checkin
tz
parents:
diff changeset
   109
     UIHelpTool openOnClass:ApplicationBuilder    
dd37d7763def initial checkin
tz
parents:
diff changeset
   110
    "
dd37d7763def initial checkin
tz
parents:
diff changeset
   111
dd37d7763def initial checkin
tz
parents:
diff changeset
   112
    <resource: #help>
dd37d7763def initial checkin
tz
parents:
diff changeset
   113
dd37d7763def initial checkin
tz
parents:
diff changeset
   114
    ^super helpSpec addPairsFrom:#(
dd37d7763def initial checkin
tz
parents:
diff changeset
   115
dd37d7763def initial checkin
tz
parents:
diff changeset
   116
#applicationLinkDefines
dd37d7763def initial checkin
tz
parents:
diff changeset
   117
'Opens a dialog to define the link defines for the application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   118
dd37d7763def initial checkin
tz
parents:
diff changeset
   119
#applicationName
dd37d7763def initial checkin
tz
parents:
diff changeset
   120
'Name of the application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   121
dd37d7763def initial checkin
tz
parents:
diff changeset
   122
#build
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   123
'Starts the process of building the target.'
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   124
dd37d7763def initial checkin
tz
parents:
diff changeset
   125
#buildDate
dd37d7763def initial checkin
tz
parents:
diff changeset
   126
'Build date of the application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   127
dd37d7763def initial checkin
tz
parents:
diff changeset
   128
#configuration
dd37d7763def initial checkin
tz
parents:
diff changeset
   129
'Configuration information of the application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   130
dd37d7763def initial checkin
tz
parents:
diff changeset
   131
#libraryDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   132
'Directory of the ST/X libraries.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   133
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   134
#link
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   135
'Starts the process of linking the application.'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   136
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   137
#selectPath
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   138
'Opens a dialog for choosing the name of the file/path.'
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   139
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   140
#sourceDirectory
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   141
'Source directory of ST/X.'
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   142
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   143
#start
dd37d7763def initial checkin
tz
parents:
diff changeset
   144
'Start the build application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   145
dd37d7763def initial checkin
tz
parents:
diff changeset
   146
#startupCFile
dd37d7763def initial checkin
tz
parents:
diff changeset
   147
'Startup C-file of ST/X for the application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   148
dd37d7763def initial checkin
tz
parents:
diff changeset
   149
#startupFile
dd37d7763def initial checkin
tz
parents:
diff changeset
   150
'Startup C-file of ST/X for the application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   151
dd37d7763def initial checkin
tz
parents:
diff changeset
   152
#startupMessage
dd37d7763def initial checkin
tz
parents:
diff changeset
   153
'Startup message consisting of the class name and the selector name.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   154
dd37d7763def initial checkin
tz
parents:
diff changeset
   155
#startupModule
dd37d7763def initial checkin
tz
parents:
diff changeset
   156
'Startup module of ST/X for the application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   157
dd37d7763def initial checkin
tz
parents:
diff changeset
   158
#stop
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   159
'Stops the process of the building.'
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   160
dd37d7763def initial checkin
tz
parents:
diff changeset
   161
#stxLibraries
dd37d7763def initial checkin
tz
parents:
diff changeset
   162
'List of the ST/X library names.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   163
dd37d7763def initial checkin
tz
parents:
diff changeset
   164
#symlinkBitmaps
dd37d7763def initial checkin
tz
parents:
diff changeset
   165
'Create symbolic links to the bitmaps of ST/X.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   166
dd37d7763def initial checkin
tz
parents:
diff changeset
   167
#symlinkRCFiles
dd37d7763def initial checkin
tz
parents:
diff changeset
   168
'Create symbolic links to the RC-files of ST/X.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   169
dd37d7763def initial checkin
tz
parents:
diff changeset
   170
#symlinkResources
dd37d7763def initial checkin
tz
parents:
diff changeset
   171
'Create symbolic links to the resources of ST/X.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   172
dd37d7763def initial checkin
tz
parents:
diff changeset
   173
#symlinkSources
dd37d7763def initial checkin
tz
parents:
diff changeset
   174
'Create symbolic links to the sources of ST/X.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   175
dd37d7763def initial checkin
tz
parents:
diff changeset
   176
#systemLibaries
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   177
'Libraries of the operating system needed by the target.'
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   178
dd37d7763def initial checkin
tz
parents:
diff changeset
   179
#targetDirectory
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   180
'Directory where the target will build.'
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   181
dd37d7763def initial checkin
tz
parents:
diff changeset
   182
#topDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   183
'Top directory of ST/X.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   184
dd37d7763def initial checkin
tz
parents:
diff changeset
   185
#userLibraries
dd37d7763def initial checkin
tz
parents:
diff changeset
   186
'Libraries of the user wanted to add to the application.'
dd37d7763def initial checkin
tz
parents:
diff changeset
   187
dd37d7763def initial checkin
tz
parents:
diff changeset
   188
)
dd37d7763def initial checkin
tz
parents:
diff changeset
   189
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
   190
dd37d7763def initial checkin
tz
parents:
diff changeset
   191
!ApplicationBuilder class methodsFor:'interface specs'!
dd37d7763def initial checkin
tz
parents:
diff changeset
   192
dd37d7763def initial checkin
tz
parents:
diff changeset
   193
windowSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   194
    "This resource specification was automatically generated
dd37d7763def initial checkin
tz
parents:
diff changeset
   195
     by the UIPainter of ST/X."
dd37d7763def initial checkin
tz
parents:
diff changeset
   196
dd37d7763def initial checkin
tz
parents:
diff changeset
   197
    "Do not manually edit this!! If it is corrupted,
dd37d7763def initial checkin
tz
parents:
diff changeset
   198
     the UIPainter may not be able to read the specification."
dd37d7763def initial checkin
tz
parents:
diff changeset
   199
dd37d7763def initial checkin
tz
parents:
diff changeset
   200
    "
dd37d7763def initial checkin
tz
parents:
diff changeset
   201
     UIPainter new openOnClass:ApplicationBuilder andSelector:#windowSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   202
     ApplicationBuilder new openInterface:#windowSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   203
     ApplicationBuilder open
dd37d7763def initial checkin
tz
parents:
diff changeset
   204
    "
dd37d7763def initial checkin
tz
parents:
diff changeset
   205
dd37d7763def initial checkin
tz
parents:
diff changeset
   206
    <resource: #canvas>
dd37d7763def initial checkin
tz
parents:
diff changeset
   207
dd37d7763def initial checkin
tz
parents:
diff changeset
   208
    ^
dd37d7763def initial checkin
tz
parents:
diff changeset
   209
     
dd37d7763def initial checkin
tz
parents:
diff changeset
   210
       #(#FullSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   211
          #window: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   212
           #(#WindowSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   213
              #name: 'Application Builder'
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   214
              #layout: #(#LayoutFrame 79 0 285 0 578 0 744 0)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   215
              #label: 'Application Builder'
dd37d7763def initial checkin
tz
parents:
diff changeset
   216
              #min: #(#Point 420 220)
dd37d7763def initial checkin
tz
parents:
diff changeset
   217
              #max: #(#Point 1152 900)
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   218
              #bounds: #(#Rectangle 79 285 579 745)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   219
              #menu: #menu
dd37d7763def initial checkin
tz
parents:
diff changeset
   220
              #usePreferredExtent: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   221
          )
dd37d7763def initial checkin
tz
parents:
diff changeset
   222
          #component: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   223
           #(#SpecCollection
dd37d7763def initial checkin
tz
parents:
diff changeset
   224
              #collection: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   225
               #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   226
                 #(#ViewSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   227
                    #name: 'Box1'
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   228
                    #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 292 0)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   229
                    #component: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   230
                     #(#SpecCollection
dd37d7763def initial checkin
tz
parents:
diff changeset
   231
                        #collection: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   232
                         #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   233
                           #(#ViewSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   234
                              #name: 'Box2'
dd37d7763def initial checkin
tz
parents:
diff changeset
   235
                              #layout: #(#LayoutFrame 0 0.0 0 0.0 -148 1.0 2 1.0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   236
                              #component: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   237
                               #(#SpecCollection
dd37d7763def initial checkin
tz
parents:
diff changeset
   238
                                  #collection: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   239
                                   #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   240
                                     #(#LabelSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   241
                                        #name: 'applicationNameLabel'
dd37d7763def initial checkin
tz
parents:
diff changeset
   242
                                        #layout: #(#AlignmentOrigin 147 0 15 0 1 0.5)
dd37d7763def initial checkin
tz
parents:
diff changeset
   243
                                        #label: 'Application Name:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   244
                                        #adjust: #right
dd37d7763def initial checkin
tz
parents:
diff changeset
   245
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   246
                                     #(#InputFieldSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   247
                                        #name: 'applicationNameField'
dd37d7763def initial checkin
tz
parents:
diff changeset
   248
                                        #layout: #(#LayoutFrame 150 0 4 0 0 1 26 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   249
                                        #activeHelpKey: #applicationName
dd37d7763def initial checkin
tz
parents:
diff changeset
   250
                                        #model: #applicationName
dd37d7763def initial checkin
tz
parents:
diff changeset
   251
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   252
                                     #(#LabelSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   253
                                        #name: 'startupMessageLabel'
dd37d7763def initial checkin
tz
parents:
diff changeset
   254
                                        #layout: #(#AlignmentOrigin 147 0 39 0 1 0.5)
dd37d7763def initial checkin
tz
parents:
diff changeset
   255
                                        #label: 'Startup Message:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   256
                                        #adjust: #right
dd37d7763def initial checkin
tz
parents:
diff changeset
   257
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   258
                                     #(#InputFieldSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   259
                                        #name: 'startupMessageField'
dd37d7763def initial checkin
tz
parents:
diff changeset
   260
                                        #layout: #(#LayoutFrame 150 0 28 0 0 1.0 50 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   261
                                        #activeHelpKey: #startupMessage
dd37d7763def initial checkin
tz
parents:
diff changeset
   262
                                        #model: #startupMessage
dd37d7763def initial checkin
tz
parents:
diff changeset
   263
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   264
                                     #(#LabelSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   265
                                        #name: 'buildDateLabel'
dd37d7763def initial checkin
tz
parents:
diff changeset
   266
                                        #layout: #(#AlignmentOrigin 147 0 63 0 1 0.5)
dd37d7763def initial checkin
tz
parents:
diff changeset
   267
                                        #label: 'Build Date:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   268
                                        #adjust: #right
dd37d7763def initial checkin
tz
parents:
diff changeset
   269
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   270
                                     #(#InputFieldSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   271
                                        #name: 'buildDateField'
dd37d7763def initial checkin
tz
parents:
diff changeset
   272
                                        #layout: #(#LayoutFrame 150 0 52 0 0 1.0 74 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   273
                                        #activeHelpKey: #buildDate
dd37d7763def initial checkin
tz
parents:
diff changeset
   274
                                        #model: #buildDate
dd37d7763def initial checkin
tz
parents:
diff changeset
   275
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   276
                                     #(#LabelSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   277
                                        #name: 'configurationLabel'
dd37d7763def initial checkin
tz
parents:
diff changeset
   278
                                        #layout: #(#AlignmentOrigin 147 0 87 0 1 0.5)
dd37d7763def initial checkin
tz
parents:
diff changeset
   279
                                        #label: 'Configuration:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   280
                                        #adjust: #right
dd37d7763def initial checkin
tz
parents:
diff changeset
   281
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   282
                                     #(#InputFieldSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   283
                                        #name: 'configurationField'
dd37d7763def initial checkin
tz
parents:
diff changeset
   284
                                        #layout: #(#LayoutFrame 150 0 76 0 0 1.0 98 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   285
                                        #activeHelpKey: #configuration
dd37d7763def initial checkin
tz
parents:
diff changeset
   286
                                        #model: #configuration
dd37d7763def initial checkin
tz
parents:
diff changeset
   287
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   288
                                     #(#DividerSpec
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   289
                                        #name: 'Separator2'
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   290
                                        #layout: #(#LayoutFrame 0 0 102 0 0 1 105 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   291
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   292
                                     #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   293
                                        #name: 'targetDirectoryButton'
dd37d7763def initial checkin
tz
parents:
diff changeset
   294
                                        #layout: #(#LayoutFrame 4 0 109 0 147 0 133 0)
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   295
                                        #activeHelpKey: #selectPath
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   296
                                        #label: 'Target Directory:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   297
                                        #model: #doSelectDirectory:
dd37d7763def initial checkin
tz
parents:
diff changeset
   298
                                        #actionValue: 'Target'
dd37d7763def initial checkin
tz
parents:
diff changeset
   299
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   300
                                     #(#InputFieldSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   301
                                        #name: 'targetDirectoryField'
dd37d7763def initial checkin
tz
parents:
diff changeset
   302
                                        #layout: #(#LayoutFrame 150 0 109 0 0 1.0 131 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   303
                                        #activeHelpKey: #targetDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   304
                                        #model: #targetDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   305
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   306
                                     #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   307
                                        #name: 'topDirectoryButton'
dd37d7763def initial checkin
tz
parents:
diff changeset
   308
                                        #layout: #(#LayoutFrame 4 0 133 0 147 0 157 0)
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   309
                                        #activeHelpKey: #selectPath
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   310
                                        #label: 'Top Directory:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   311
                                        #model: #doSelectDirectory:
dd37d7763def initial checkin
tz
parents:
diff changeset
   312
                                        #actionValue: 'Top'
dd37d7763def initial checkin
tz
parents:
diff changeset
   313
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   314
                                     #(#InputFieldSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   315
                                        #name: 'topDirectoryField'
dd37d7763def initial checkin
tz
parents:
diff changeset
   316
                                        #layout: #(#LayoutFrame 150 0 133 0 0 1.0 155 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   317
                                        #activeHelpKey: #topDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   318
                                        #model: #topDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   319
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   320
                                     #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   321
                                        #name: 'libraryDirectoryButton'
dd37d7763def initial checkin
tz
parents:
diff changeset
   322
                                        #layout: #(#LayoutFrame 4 0 157 0 147 0 181 0)
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   323
                                        #activeHelpKey: #selectPath
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   324
                                        #label: 'Library Directory:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   325
                                        #model: #doSelectDirectory:
dd37d7763def initial checkin
tz
parents:
diff changeset
   326
                                        #actionValue: 'Library'
dd37d7763def initial checkin
tz
parents:
diff changeset
   327
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   328
                                     #(#InputFieldSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   329
                                        #name: 'libraryDirectoryField'
dd37d7763def initial checkin
tz
parents:
diff changeset
   330
                                        #layout: #(#LayoutFrame 150 0 157 0 0 1.0 179 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   331
                                        #activeHelpKey: #libraryDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   332
                                        #model: #libraryDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   333
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   334
                                     #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   335
                                        #name: 'startupCFileButton'
dd37d7763def initial checkin
tz
parents:
diff changeset
   336
                                        #layout: #(#LayoutFrame 4 0 181 0 147 0 205 0)
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   337
                                        #activeHelpKey: #selectPath
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   338
                                        #label: 'Startup C-File:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   339
                                        #model: #doSelectCFile:
dd37d7763def initial checkin
tz
parents:
diff changeset
   340
                                        #actionValue: 'StartupCFile'
dd37d7763def initial checkin
tz
parents:
diff changeset
   341
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   342
                                     #(#InputFieldSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   343
                                        #name: 'startupCFileField'
dd37d7763def initial checkin
tz
parents:
diff changeset
   344
                                        #layout: #(#LayoutFrame 150 0 181 0 0 1.0 203 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   345
                                        #activeHelpKey: #startupModule
dd37d7763def initial checkin
tz
parents:
diff changeset
   346
                                        #model: #startupCFile
dd37d7763def initial checkin
tz
parents:
diff changeset
   347
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   348
                                     #(#DividerSpec
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   349
                                        #name: 'Separator3'
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   350
                                        #layout: #(#LayoutFrame 0 0.0 208 0 0 1.0 211 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   351
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   352
                                     #(#LabelSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   353
                                        #name: 'stxLibraryButton'
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   354
                                        #layout: #(#AlignmentOrigin 147 0 227 0 1 0.5)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   355
                                        #label: 'ST/X Libraries:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   356
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   357
                                     #(#ComboBoxSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   358
                                        #name: 'stxLibrariesComboBox'
dd37d7763def initial checkin
tz
parents:
diff changeset
   359
                                        #layout: #(#LayoutFrame 150 0 216 0 0 1 238 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   360
                                        #activeHelpKey: #stxLibraries
dd37d7763def initial checkin
tz
parents:
diff changeset
   361
                                        #model: #stxLibrary
dd37d7763def initial checkin
tz
parents:
diff changeset
   362
                                        #immediateAccept: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   363
                                        #acceptOnTab: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   364
                                        #comboList: #stxLibraries
dd37d7763def initial checkin
tz
parents:
diff changeset
   365
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   366
                                     #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   367
                                        #name: 'systemLibrariesButton'
dd37d7763def initial checkin
tz
parents:
diff changeset
   368
                                        #layout: #(#LayoutFrame 4 0 239 0 147 0 263 0)
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   369
                                        #activeHelpKey: #selectPath
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   370
                                        #label: 'System Libraries:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   371
                                        #model: #doSelectLibrary:
dd37d7763def initial checkin
tz
parents:
diff changeset
   372
                                        #actionValue: 'SystemLibrary'
dd37d7763def initial checkin
tz
parents:
diff changeset
   373
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   374
                                     #(#ComboBoxSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   375
                                        #name: 'systemLibrariesComboBox'
dd37d7763def initial checkin
tz
parents:
diff changeset
   376
                                        #layout: #(#LayoutFrame 150 0 240 0 0 1 262 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   377
                                        #activeHelpKey: #systemLibaries
dd37d7763def initial checkin
tz
parents:
diff changeset
   378
                                        #model: #systemLibrary
dd37d7763def initial checkin
tz
parents:
diff changeset
   379
                                        #immediateAccept: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   380
                                        #acceptOnTab: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   381
                                        #comboList: #systemLibraries
dd37d7763def initial checkin
tz
parents:
diff changeset
   382
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   383
                                     #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   384
                                        #name: 'userLibrariesButton'
dd37d7763def initial checkin
tz
parents:
diff changeset
   385
                                        #layout: #(#LayoutFrame 4 0 263 0 147 0 287 0)
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   386
                                        #activeHelpKey: #selectPath
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   387
                                        #label: 'User Libraries:'
dd37d7763def initial checkin
tz
parents:
diff changeset
   388
                                        #model: #doSelectLibrary:
dd37d7763def initial checkin
tz
parents:
diff changeset
   389
                                        #actionValue: 'UserLibrary'
dd37d7763def initial checkin
tz
parents:
diff changeset
   390
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   391
                                     #(#ComboBoxSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   392
                                        #name: 'userLibrariesComboBox'
dd37d7763def initial checkin
tz
parents:
diff changeset
   393
                                        #layout: #(#LayoutFrame 150 0 264 0 0 1 286 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   394
                                        #activeHelpKey: #userLibraries
dd37d7763def initial checkin
tz
parents:
diff changeset
   395
                                        #model: #userLibrary
dd37d7763def initial checkin
tz
parents:
diff changeset
   396
                                        #immediateAccept: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   397
                                        #acceptOnTab: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   398
                                        #comboList: #userLibraries
dd37d7763def initial checkin
tz
parents:
diff changeset
   399
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   400
                                  )
dd37d7763def initial checkin
tz
parents:
diff changeset
   401
                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   402
                          )
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   403
                           #(#DividerSpec
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   404
                              #name: 'Separator4'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   405
                              #layout: #(#LayoutFrame -144 1 0 0.0 -138 1 0 1.0)
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   406
                              #orientation: #vertical
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   407
                          )
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   408
                           #(#ViewSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   409
                              #name: 'Box3'
dd37d7763def initial checkin
tz
parents:
diff changeset
   410
                              #layout: #(#LayoutFrame -134 1 0 0.0 0 1.0 0 1.0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   411
                              #component: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   412
                               #(#SpecCollection
dd37d7763def initial checkin
tz
parents:
diff changeset
   413
                                  #collection: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   414
                                   #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   415
                                     #(#FramedBoxSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   416
                                        #name: 'FramedBox'
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   417
                                        #layout: #(#LayoutFrame -4 0.0 4 0.0 0 1.0 -150 1.0)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   418
                                        #component: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   419
                                         #(#SpecCollection
dd37d7763def initial checkin
tz
parents:
diff changeset
   420
                                            #collection: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   421
                                             #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   422
                                               #(#CheckBoxSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   423
                                                  #name: 'linkRCFilesCheckBox'
dd37d7763def initial checkin
tz
parents:
diff changeset
   424
                                                  #layout: #(#LayoutFrame 12 0 24 0 12 1 46 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   425
                                                  #activeHelpKey: #symlinkRCFiles
dd37d7763def initial checkin
tz
parents:
diff changeset
   426
                                                  #model: #linkRCFiles
dd37d7763def initial checkin
tz
parents:
diff changeset
   427
                                                  #label: 'RC-Files'
dd37d7763def initial checkin
tz
parents:
diff changeset
   428
                                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   429
                                               #(#CheckBoxSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   430
                                                  #name: 'linkResourcesCheckBox'
dd37d7763def initial checkin
tz
parents:
diff changeset
   431
                                                  #layout: #(#LayoutFrame 12 0 48 0 12 1 70 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   432
                                                  #activeHelpKey: #symlinkResources
dd37d7763def initial checkin
tz
parents:
diff changeset
   433
                                                  #model: #linkResources
dd37d7763def initial checkin
tz
parents:
diff changeset
   434
                                                  #label: 'Resources'
dd37d7763def initial checkin
tz
parents:
diff changeset
   435
                                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   436
                                               #(#CheckBoxSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   437
                                                  #name: 'linkSourcesCheckBox'
dd37d7763def initial checkin
tz
parents:
diff changeset
   438
                                                  #layout: #(#LayoutFrame 12 0 72 0 12 1 94 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   439
                                                  #activeHelpKey: #symlinkSources
dd37d7763def initial checkin
tz
parents:
diff changeset
   440
                                                  #model: #linkSources
dd37d7763def initial checkin
tz
parents:
diff changeset
   441
                                                  #label: 'Sources'
dd37d7763def initial checkin
tz
parents:
diff changeset
   442
                                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   443
                                               #(#CheckBoxSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   444
                                                  #name: 'linkBitmapsCheckBox'
dd37d7763def initial checkin
tz
parents:
diff changeset
   445
                                                  #layout: #(#LayoutFrame 12 0 96 0 12 1 118 0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   446
                                                  #activeHelpKey: #symlinkBitmaps
dd37d7763def initial checkin
tz
parents:
diff changeset
   447
                                                  #model: #linkBitmaps
dd37d7763def initial checkin
tz
parents:
diff changeset
   448
                                                  #label: 'Bitmaps'
dd37d7763def initial checkin
tz
parents:
diff changeset
   449
                                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   450
                                            )
dd37d7763def initial checkin
tz
parents:
diff changeset
   451
                                        )
dd37d7763def initial checkin
tz
parents:
diff changeset
   452
                                        #label: 'Symbolic Links'
dd37d7763def initial checkin
tz
parents:
diff changeset
   453
                                        #labelPosition: #topLeft
dd37d7763def initial checkin
tz
parents:
diff changeset
   454
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   455
                                     #(#VerticalPanelViewSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   456
                                        #name: 'VerticalPanel'
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   457
                                        #layout: #(#LayoutFrame 0 0.0 -144 1 -6 1.0 -2 1.0)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   458
                                        #component: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   459
                                         #(#SpecCollection
dd37d7763def initial checkin
tz
parents:
diff changeset
   460
                                            #collection: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   461
                                             #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   462
                                               #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   463
                                                  #name: 'buildButton'
dd37d7763def initial checkin
tz
parents:
diff changeset
   464
                                                  #activeHelpKey: #build
dd37d7763def initial checkin
tz
parents:
diff changeset
   465
                                                  #label: 'Build'
dd37d7763def initial checkin
tz
parents:
diff changeset
   466
                                                  #model: #doBuild
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   467
                                                  #extent: #(#Point 128 33)
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   468
                                              )
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   469
                                               #(#ActionButtonSpec
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   470
                                                  #name: 'linkButton'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   471
                                                  #activeHelpKey: #link
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   472
                                                  #label: 'Link'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   473
                                                  #model: #doLink
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   474
                                                  #extent: #(#Point 128 34)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   475
                                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   476
                                               #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   477
                                                  #name: 'stopButton'
dd37d7763def initial checkin
tz
parents:
diff changeset
   478
                                                  #activeHelpKey: #stop
dd37d7763def initial checkin
tz
parents:
diff changeset
   479
                                                  #label: 'Stop'
dd37d7763def initial checkin
tz
parents:
diff changeset
   480
                                                  #model: #doStop
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   481
                                                  #extent: #(#Point 128 33)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   482
                                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   483
                                               #(#ActionButtonSpec
dd37d7763def initial checkin
tz
parents:
diff changeset
   484
                                                  #name: 'Button1'
dd37d7763def initial checkin
tz
parents:
diff changeset
   485
                                                  #activeHelpKey: #start
dd37d7763def initial checkin
tz
parents:
diff changeset
   486
                                                  #label: 'Start'
dd37d7763def initial checkin
tz
parents:
diff changeset
   487
                                                  #model: #doStart
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   488
                                                  #extent: #(#Point 128 33)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   489
                                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   490
                                            )
dd37d7763def initial checkin
tz
parents:
diff changeset
   491
                                        )
dd37d7763def initial checkin
tz
parents:
diff changeset
   492
                                        #horizontalLayout: #fit
dd37d7763def initial checkin
tz
parents:
diff changeset
   493
                                        #verticalLayout: #fit
dd37d7763def initial checkin
tz
parents:
diff changeset
   494
                                        #horizontalSpace: 3
dd37d7763def initial checkin
tz
parents:
diff changeset
   495
                                        #verticalSpace: 3
dd37d7763def initial checkin
tz
parents:
diff changeset
   496
                                    )
dd37d7763def initial checkin
tz
parents:
diff changeset
   497
                                  )
dd37d7763def initial checkin
tz
parents:
diff changeset
   498
                              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   499
                          )
dd37d7763def initial checkin
tz
parents:
diff changeset
   500
                        )
dd37d7763def initial checkin
tz
parents:
diff changeset
   501
                    )
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   502
                    #borderWidth: 1
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   503
                )
dd37d7763def initial checkin
tz
parents:
diff changeset
   504
                 #(#SubCanvasSpec
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   505
                    #name: 'shellViewSubCanvas'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   506
                    #layout: #(#LayoutFrame 0 0.0 294 0 0 1.0 -26 1)
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   507
                    #hasHorizontalScrollBar: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   508
                    #hasVerticalScrollBar: false
dd37d7763def initial checkin
tz
parents:
diff changeset
   509
                    #clientHolder: #shellView
dd37d7763def initial checkin
tz
parents:
diff changeset
   510
                )
dd37d7763def initial checkin
tz
parents:
diff changeset
   511
                 #(#UISubSpecification
dd37d7763def initial checkin
tz
parents:
diff changeset
   512
                    #name: 'windowSpecForInfoBar'
dd37d7763def initial checkin
tz
parents:
diff changeset
   513
                    #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
dd37d7763def initial checkin
tz
parents:
diff changeset
   514
                    #majorKey: #ToolApplicationModel
dd37d7763def initial checkin
tz
parents:
diff changeset
   515
                    #minorKey: #windowSpecForInfoBar
dd37d7763def initial checkin
tz
parents:
diff changeset
   516
                )
dd37d7763def initial checkin
tz
parents:
diff changeset
   517
              )
dd37d7763def initial checkin
tz
parents:
diff changeset
   518
          )
dd37d7763def initial checkin
tz
parents:
diff changeset
   519
      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   520
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
   521
dd37d7763def initial checkin
tz
parents:
diff changeset
   522
!ApplicationBuilder class methodsFor:'menu specs'!
dd37d7763def initial checkin
tz
parents:
diff changeset
   523
dd37d7763def initial checkin
tz
parents:
diff changeset
   524
menu
dd37d7763def initial checkin
tz
parents:
diff changeset
   525
    "This resource specification was automatically generated
dd37d7763def initial checkin
tz
parents:
diff changeset
   526
     by the MenuEditor of ST/X."
dd37d7763def initial checkin
tz
parents:
diff changeset
   527
dd37d7763def initial checkin
tz
parents:
diff changeset
   528
    "Do not manually edit this!! If it is corrupted,
dd37d7763def initial checkin
tz
parents:
diff changeset
   529
     the MenuEditor may not be able to read the specification."
dd37d7763def initial checkin
tz
parents:
diff changeset
   530
dd37d7763def initial checkin
tz
parents:
diff changeset
   531
    "
dd37d7763def initial checkin
tz
parents:
diff changeset
   532
     MenuEditor new openOnClass:ApplicationBuilder andSelector:#menu
dd37d7763def initial checkin
tz
parents:
diff changeset
   533
     (Menu new fromLiteralArrayEncoding:(ApplicationBuilder menu)) startUp
dd37d7763def initial checkin
tz
parents:
diff changeset
   534
    "
dd37d7763def initial checkin
tz
parents:
diff changeset
   535
dd37d7763def initial checkin
tz
parents:
diff changeset
   536
    <resource: #menu>
dd37d7763def initial checkin
tz
parents:
diff changeset
   537
dd37d7763def initial checkin
tz
parents:
diff changeset
   538
    ^
dd37d7763def initial checkin
tz
parents:
diff changeset
   539
     
dd37d7763def initial checkin
tz
parents:
diff changeset
   540
       #(#Menu
dd37d7763def initial checkin
tz
parents:
diff changeset
   541
          
dd37d7763def initial checkin
tz
parents:
diff changeset
   542
           #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   543
             #(#MenuItem
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   544
                #label: 'About'
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   545
                #labelImage: #(#ResourceRetriever nil #menuIcon)
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   546
                #submenuChannel: #menuAbout
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   547
            )
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   548
             #(#MenuItem
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   549
                #label: 'File'
dd37d7763def initial checkin
tz
parents:
diff changeset
   550
                #submenu: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   551
                 #(#Menu
dd37d7763def initial checkin
tz
parents:
diff changeset
   552
                    
dd37d7763def initial checkin
tz
parents:
diff changeset
   553
                     #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   554
                       #(#MenuItem
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   555
                          #label: 'Exit'
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   556
                          #value: #closeRequest
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   557
                          #activeHelpKey: #fileExit
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   558
                      )
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   559
                    ) nil
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   560
                    nil
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   561
                )
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   562
            )
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   563
             #(#MenuItem
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   564
                #label: 'Application'
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   565
                #submenu: 
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   566
                 #(#Menu
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   567
                    
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   568
                     #(
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   569
                       #(#MenuItem
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   570
                          #label: 'Build'
dd37d7763def initial checkin
tz
parents:
diff changeset
   571
                          #value: #doBuild
dd37d7763def initial checkin
tz
parents:
diff changeset
   572
                          #activeHelpKey: #build
dd37d7763def initial checkin
tz
parents:
diff changeset
   573
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   574
                       #(#MenuItem
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   575
                          #label: 'Link'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   576
                          #value: #doLink
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   577
                          #activeHelpKey: #link
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   578
                      )
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   579
                       #(#MenuItem
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   580
                          #label: '-'
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   581
                      )
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   582
                       #(#MenuItem
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   583
                          #label: 'Stop'
dd37d7763def initial checkin
tz
parents:
diff changeset
   584
                          #value: #doStop
dd37d7763def initial checkin
tz
parents:
diff changeset
   585
                          #activeHelpKey: #stop
dd37d7763def initial checkin
tz
parents:
diff changeset
   586
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   587
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   588
                          #label: 'Start'
dd37d7763def initial checkin
tz
parents:
diff changeset
   589
                          #value: #doStart
dd37d7763def initial checkin
tz
parents:
diff changeset
   590
                          #activeHelpKey: #start
dd37d7763def initial checkin
tz
parents:
diff changeset
   591
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   592
                    ) nil
dd37d7763def initial checkin
tz
parents:
diff changeset
   593
                    nil
dd37d7763def initial checkin
tz
parents:
diff changeset
   594
                )
dd37d7763def initial checkin
tz
parents:
diff changeset
   595
            )
dd37d7763def initial checkin
tz
parents:
diff changeset
   596
             #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   597
                #label: 'Settings'
dd37d7763def initial checkin
tz
parents:
diff changeset
   598
                #submenu: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   599
                 #(#Menu
dd37d7763def initial checkin
tz
parents:
diff changeset
   600
                    
dd37d7763def initial checkin
tz
parents:
diff changeset
   601
                     #(
dd37d7763def initial checkin
tz
parents:
diff changeset
   602
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   603
                          #label: 'Target Directory...'
dd37d7763def initial checkin
tz
parents:
diff changeset
   604
                          #value: #doSelectDirectory:
dd37d7763def initial checkin
tz
parents:
diff changeset
   605
                          #activeHelpKey: #targetDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   606
                          #argument: 'Target'
dd37d7763def initial checkin
tz
parents:
diff changeset
   607
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   608
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   609
                          #label: 'Top Directory...'
dd37d7763def initial checkin
tz
parents:
diff changeset
   610
                          #value: #doSelectDirectory:
dd37d7763def initial checkin
tz
parents:
diff changeset
   611
                          #activeHelpKey: #topDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   612
                          #argument: 'Top'
dd37d7763def initial checkin
tz
parents:
diff changeset
   613
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   614
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   615
                          #label: 'Library Directory...'
dd37d7763def initial checkin
tz
parents:
diff changeset
   616
                          #value: #doSelectDirectory:
dd37d7763def initial checkin
tz
parents:
diff changeset
   617
                          #activeHelpKey: #libraryDirectory
dd37d7763def initial checkin
tz
parents:
diff changeset
   618
                          #argument: 'Library'
dd37d7763def initial checkin
tz
parents:
diff changeset
   619
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   620
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   621
                          #label: 'Startup C-File...'
dd37d7763def initial checkin
tz
parents:
diff changeset
   622
                          #value: #doSelectCFile:
dd37d7763def initial checkin
tz
parents:
diff changeset
   623
                          #activeHelpKey: #startupCFile
dd37d7763def initial checkin
tz
parents:
diff changeset
   624
                          #argument: 'StartupCFile'
dd37d7763def initial checkin
tz
parents:
diff changeset
   625
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   626
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   627
                          #label: '-'
dd37d7763def initial checkin
tz
parents:
diff changeset
   628
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   629
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   630
                          #label: 'System Libraries...'
dd37d7763def initial checkin
tz
parents:
diff changeset
   631
                          #value: #doSelectLibrary:
dd37d7763def initial checkin
tz
parents:
diff changeset
   632
                          #activeHelpKey: #systemLibaries
dd37d7763def initial checkin
tz
parents:
diff changeset
   633
                          #argument: 'SystemLibrary'
dd37d7763def initial checkin
tz
parents:
diff changeset
   634
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   635
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   636
                          #label: 'User Libraries...'
dd37d7763def initial checkin
tz
parents:
diff changeset
   637
                          #value: #doSelectLibrary:
dd37d7763def initial checkin
tz
parents:
diff changeset
   638
                          #activeHelpKey: #userLibraries
dd37d7763def initial checkin
tz
parents:
diff changeset
   639
                          #argument: 'UserLibrary'
dd37d7763def initial checkin
tz
parents:
diff changeset
   640
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   641
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   642
                          #label: '-'
dd37d7763def initial checkin
tz
parents:
diff changeset
   643
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   644
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   645
                          #label: 'Application Link Defines...'
dd37d7763def initial checkin
tz
parents:
diff changeset
   646
                          #value: #doDefineApplicationLinkDefines
dd37d7763def initial checkin
tz
parents:
diff changeset
   647
                          #activeHelpKey: #applicationLinkDefines
dd37d7763def initial checkin
tz
parents:
diff changeset
   648
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   649
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   650
                          #label: '-'
dd37d7763def initial checkin
tz
parents:
diff changeset
   651
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   652
                       #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   653
                          #label: 'Fonts'
dd37d7763def initial checkin
tz
parents:
diff changeset
   654
                          #submenuChannel: #menuFont
dd37d7763def initial checkin
tz
parents:
diff changeset
   655
                      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   656
                    ) nil
dd37d7763def initial checkin
tz
parents:
diff changeset
   657
                    nil
dd37d7763def initial checkin
tz
parents:
diff changeset
   658
                )
dd37d7763def initial checkin
tz
parents:
diff changeset
   659
            )
dd37d7763def initial checkin
tz
parents:
diff changeset
   660
             #(#MenuItem
dd37d7763def initial checkin
tz
parents:
diff changeset
   661
                #label: 'Help'
dd37d7763def initial checkin
tz
parents:
diff changeset
   662
                #startGroup: #right
dd37d7763def initial checkin
tz
parents:
diff changeset
   663
                #submenuChannel: #menuHelp
dd37d7763def initial checkin
tz
parents:
diff changeset
   664
            )
dd37d7763def initial checkin
tz
parents:
diff changeset
   665
          ) nil
dd37d7763def initial checkin
tz
parents:
diff changeset
   666
          nil
dd37d7763def initial checkin
tz
parents:
diff changeset
   667
      )
dd37d7763def initial checkin
tz
parents:
diff changeset
   668
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
   669
dd37d7763def initial checkin
tz
parents:
diff changeset
   670
!ApplicationBuilder methodsFor:'actions'!
dd37d7763def initial checkin
tz
parents:
diff changeset
   671
dd37d7763def initial checkin
tz
parents:
diff changeset
   672
doBuild
dd37d7763def initial checkin
tz
parents:
diff changeset
   673
    "builds the application by doing following tasks:
dd37d7763def initial checkin
tz
parents:
diff changeset
   674
        0. Clobber the target directory of the application
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   675
        1. Generate the h-file with symbols
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   676
        2. Generate the c-file with modules
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   677
        3. Compile the modules init file
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   678
        4. Compile the startup C-file
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   679
        5. Define the symbolic links to the libraries
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   680
        6. Link the libraries to the application
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   681
        7. Define the symbolic links to the resources
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   682
    "
dd37d7763def initial checkin
tz
parents:
diff changeset
   683
    |dir compilerPath compilerFlags block0 block1 block2 block3 block4 block5 block6 block7 priority|
dd37d7763def initial checkin
tz
parents:
diff changeset
   684
dd37d7763def initial checkin
tz
parents:
diff changeset
   685
    task notNil ifTrue: [self warn: 'There is already a build running!!'].
dd37d7763def initial checkin
tz
parents:
diff changeset
   686
dd37d7763def initial checkin
tz
parents:
diff changeset
   687
    self inform: 'Starting building of application...' asBoldText.
dd37d7763def initial checkin
tz
parents:
diff changeset
   688
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   689
    (dir := self getTargetDirectory) isNil 
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   690
        ifTrue: [^self warn: 'Could not create application directory!!'].
dd37d7763def initial checkin
tz
parents:
diff changeset
   691
dd37d7763def initial checkin
tz
parents:
diff changeset
   692
    shellView directory: dir.
dd37d7763def initial checkin
tz
parents:
diff changeset
   693
dd37d7763def initial checkin
tz
parents:
diff changeset
   694
    (compilerPath := ByteCodeCompiler ccPath, ' ') isNil 
dd37d7763def initial checkin
tz
parents:
diff changeset
   695
        ifTrue: [^self warn:'Define first a system compiler!!'].
dd37d7763def initial checkin
tz
parents:
diff changeset
   696
    compilerFlags := self getCompilerFlags.
dd37d7763def initial checkin
tz
parents:
diff changeset
   697
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   698
    block0 := self getBlockForClobberingTargetDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   699
    block1 := self getBlockForGeneratingHFileWithSymbolsIn: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   700
    block2 := self getBlockForGeneratingCFileWithModulesIn: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   701
    block3 := self getBlockForCompilingModulListFileWith: compilerPath, compilerFlags inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   702
    block4 := self getBlockForCompilingStartupCFileWith: compilerPath, compilerFlags inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   703
    block5 := self getBlockForCreatingSymbolicLinksToTheLibrariesIn: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   704
    block6 := self getBlockForLinkingLibrariesToTheApplicationIn: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   705
    block7 := self getBlockForCreatingSymbolicLinksToTheResourcesIn: dir.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   706
dd37d7763def initial checkin
tz
parents:
diff changeset
   707
    priority := Processor userBackgroundPriority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   708
    task := block0 forkAt: priority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   709
    task addExitAction: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   710
    [
dd37d7763def initial checkin
tz
parents:
diff changeset
   711
        task isNil ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   712
        [
dd37d7763def initial checkin
tz
parents:
diff changeset
   713
            task := block1 forkAt: priority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   714
            task addExitAction: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   715
            [
dd37d7763def initial checkin
tz
parents:
diff changeset
   716
                task isNil ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   717
                [
dd37d7763def initial checkin
tz
parents:
diff changeset
   718
                    task := block2 forkAt: priority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   719
                    task addExitAction: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   720
                    [
dd37d7763def initial checkin
tz
parents:
diff changeset
   721
                        task isNil ifTrue:
dd37d7763def initial checkin
tz
parents:
diff changeset
   722
                        [
dd37d7763def initial checkin
tz
parents:
diff changeset
   723
                            task := block3 forkAt: priority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   724
                            task addExitAction: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   725
                            [
dd37d7763def initial checkin
tz
parents:
diff changeset
   726
                                task isNil ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   727
                                [
dd37d7763def initial checkin
tz
parents:
diff changeset
   728
                                    task := block4 forkAt: priority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   729
                                    task addExitAction: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   730
                                    [
dd37d7763def initial checkin
tz
parents:
diff changeset
   731
                                        task isNil ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   732
                                        [
dd37d7763def initial checkin
tz
parents:
diff changeset
   733
                                            task := block5 forkAt: priority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   734
                                            task addExitAction: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   735
                                            [
dd37d7763def initial checkin
tz
parents:
diff changeset
   736
                                                task isNil ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   737
                                                [
dd37d7763def initial checkin
tz
parents:
diff changeset
   738
                                                    task := block6 forkAt: priority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   739
                                                    task addExitAction: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   740
                                                    [
dd37d7763def initial checkin
tz
parents:
diff changeset
   741
                                                        task isNil ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   742
                                                        [
dd37d7763def initial checkin
tz
parents:
diff changeset
   743
                                                            task := block7 forkAt: priority.
dd37d7763def initial checkin
tz
parents:
diff changeset
   744
                                                            task addExitAction: 
dd37d7763def initial checkin
tz
parents:
diff changeset
   745
                                                            [
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   746
                                                                task isNil 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   747
                                                                    ifTrue: [self inform: 'Application build.' asBoldText]
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   748
                                                                    ifFalse: [self informTargetBuildingFailed].
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   749
                                                                Display beep.
dd37d7763def initial checkin
tz
parents:
diff changeset
   750
                                                            ]   
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   751
                                                        ] ifFalse: [self informTargetBuildingFailed]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   752
                                                    ]
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   753
                                                ] ifFalse: [self informTargetBuildingFailed]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   754
                                            ]
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   755
                                        ] ifFalse: [self informTargetBuildingFailed]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   756
                                    ]
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   757
                                ] ifFalse: [self informTargetBuildingFailed]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   758
                            ]
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   759
                        ] ifFalse: [self informTargetBuildingFailed]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   760
                    ]           
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   761
                ] ifFalse: [self informTargetBuildingFailed]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   762
            ]
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   763
        ] ifFalse: [self informTargetBuildingFailed]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   764
    ]
dd37d7763def initial checkin
tz
parents:
diff changeset
   765
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   766
dd37d7763def initial checkin
tz
parents:
diff changeset
   767
doDefineApplicationLinkDefines
dd37d7763def initial checkin
tz
parents:
diff changeset
   768
    "opens a dialog for defining the application defines"
dd37d7763def initial checkin
tz
parents:
diff changeset
   769
dd37d7763def initial checkin
tz
parents:
diff changeset
   770
    |box|
dd37d7763def initial checkin
tz
parents:
diff changeset
   771
    box := EnterBox new.
dd37d7763def initial checkin
tz
parents:
diff changeset
   772
    box label: 'Application Link Defines'.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   773
    box initialText: (aspects at: #applicationLinkDefines) value.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   774
    box showAtPointer.
dd37d7763def initial checkin
tz
parents:
diff changeset
   775
    box accepted
dd37d7763def initial checkin
tz
parents:
diff changeset
   776
    ifTrue:
dd37d7763def initial checkin
tz
parents:
diff changeset
   777
    [
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   778
        (aspects at: #applicationLinkDefines) value: box contents
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   779
    ].
dd37d7763def initial checkin
tz
parents:
diff changeset
   780
    box destroy
dd37d7763def initial checkin
tz
parents:
diff changeset
   781
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   782
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   783
doLink
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   784
    "links the application"
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   785
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   786
    |dir block priority|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   787
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   788
    task notNil ifTrue: [self warn: 'There is already a build running!!'].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   789
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   790
    self inform: 'Starting building of application...' asBoldText.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   791
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   792
    (dir := self getTargetDirectory) isNil 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   793
        ifTrue: [^self warn: 'Could not create application directory!!'].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   794
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   795
    shellView directory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   796
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   797
    block := self getBlockForLinkingLibrariesToTheApplicationIn: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   798
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   799
    priority := Processor userBackgroundPriority.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   800
    task := block forkAt: priority.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   801
    task addExitAction: 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   802
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   803
        task isNil 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   804
            ifTrue: [self inform: 'Application build.' asBoldText]
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   805
            ifFalse:[self informTargetBuildingFailed].
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   806
        Display beep.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   807
    ]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   808
!
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   809
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   810
doSelectCFile: whichFile
dd37d7763def initial checkin
tz
parents:
diff changeset
   811
    "opens a FileSelectionBrowser in order to select C-file"
dd37d7763def initial checkin
tz
parents:
diff changeset
   812
dd37d7763def initial checkin
tz
parents:
diff changeset
   813
    |currentFile selectedFile|
dd37d7763def initial checkin
tz
parents:
diff changeset
   814
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   815
    currentFile := aspects at: whichFile asLowercaseFirst asSymbol.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   816
dd37d7763def initial checkin
tz
parents:
diff changeset
   817
    ((selectedFile := FileSelectionBrowser
dd37d7763def initial checkin
tz
parents:
diff changeset
   818
        request: 'Select Your ', whichFile, ' File' 
dd37d7763def initial checkin
tz
parents:
diff changeset
   819
        fileName: currentFile value
dd37d7763def initial checkin
tz
parents:
diff changeset
   820
        withFileFilters: #('*.c')) notNil and:
dd37d7763def initial checkin
tz
parents:
diff changeset
   821
    [selectedFile asFilename exists and: [selectedFile asFilename isDirectory not]]) 
dd37d7763def initial checkin
tz
parents:
diff changeset
   822
        ifTrue: [currentFile value: selectedFile]
dd37d7763def initial checkin
tz
parents:
diff changeset
   823
dd37d7763def initial checkin
tz
parents:
diff changeset
   824
dd37d7763def initial checkin
tz
parents:
diff changeset
   825
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   826
dd37d7763def initial checkin
tz
parents:
diff changeset
   827
doSelectDirectory: whichDir
dd37d7763def initial checkin
tz
parents:
diff changeset
   828
    "opens a FileSelectionBrowser in order to select directory"
dd37d7763def initial checkin
tz
parents:
diff changeset
   829
dd37d7763def initial checkin
tz
parents:
diff changeset
   830
    |currentDir selectedDir|
dd37d7763def initial checkin
tz
parents:
diff changeset
   831
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   832
    currentDir := aspects at: (whichDir asLowercaseFirst, 'Directory') asSymbol.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   833
dd37d7763def initial checkin
tz
parents:
diff changeset
   834
    ((selectedDir := FileSelectionBrowser
dd37d7763def initial checkin
tz
parents:
diff changeset
   835
        request: 'Select Your ', whichDir, ' Directory' 
dd37d7763def initial checkin
tz
parents:
diff changeset
   836
        fileName: nil 
dd37d7763def initial checkin
tz
parents:
diff changeset
   837
        inDirectory: currentDir value
dd37d7763def initial checkin
tz
parents:
diff changeset
   838
        withFileFilters: #('*.*o')) notNil and:
dd37d7763def initial checkin
tz
parents:
diff changeset
   839
    [selectedDir asFilename exists and: [selectedDir asFilename isDirectory]]) 
dd37d7763def initial checkin
tz
parents:
diff changeset
   840
        ifTrue: [currentDir value: selectedDir. shellView executeCommand: 'cd ', selectedDir]
dd37d7763def initial checkin
tz
parents:
diff changeset
   841
dd37d7763def initial checkin
tz
parents:
diff changeset
   842
dd37d7763def initial checkin
tz
parents:
diff changeset
   843
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   844
dd37d7763def initial checkin
tz
parents:
diff changeset
   845
doSelectLibrary: whichFile
dd37d7763def initial checkin
tz
parents:
diff changeset
   846
    "opens a FileSelectionBrowser in order to select library"
dd37d7763def initial checkin
tz
parents:
diff changeset
   847
dd37d7763def initial checkin
tz
parents:
diff changeset
   848
    |currentFile selectedFile|
dd37d7763def initial checkin
tz
parents:
diff changeset
   849
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   850
    currentFile := aspects at: whichFile asLowercaseFirst asSymbol.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   851
dd37d7763def initial checkin
tz
parents:
diff changeset
   852
    ((selectedFile := FileSelectionBrowser
dd37d7763def initial checkin
tz
parents:
diff changeset
   853
        request: 'Select Your ', whichFile, ' File' 
dd37d7763def initial checkin
tz
parents:
diff changeset
   854
        fileName: currentFile value
dd37d7763def initial checkin
tz
parents:
diff changeset
   855
        withFileFilters: #('*.*o' '*.a')) notNil and:
dd37d7763def initial checkin
tz
parents:
diff changeset
   856
    [selectedFile asFilename exists and: [selectedFile asFilename isDirectory not]]) 
dd37d7763def initial checkin
tz
parents:
diff changeset
   857
        ifTrue: [currentFile value: selectedFile]
dd37d7763def initial checkin
tz
parents:
diff changeset
   858
dd37d7763def initial checkin
tz
parents:
diff changeset
   859
dd37d7763def initial checkin
tz
parents:
diff changeset
   860
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   861
dd37d7763def initial checkin
tz
parents:
diff changeset
   862
doStart
dd37d7763def initial checkin
tz
parents:
diff changeset
   863
    "starts the build application"
dd37d7763def initial checkin
tz
parents:
diff changeset
   864
dd37d7763def initial checkin
tz
parents:
diff changeset
   865
    |dir|
dd37d7763def initial checkin
tz
parents:
diff changeset
   866
    self doStop.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   867
    (dir := self getTargetDirectory) isNil 
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   868
        ifTrue: [^self warn: 'Application directory does not exists!!'].
dd37d7763def initial checkin
tz
parents:
diff changeset
   869
dd37d7763def initial checkin
tz
parents:
diff changeset
   870
    shellView directory: dir.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   871
    shellView executeCommand: (aspects at: #applicationName) value.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   872
dd37d7763def initial checkin
tz
parents:
diff changeset
   873
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   874
dd37d7763def initial checkin
tz
parents:
diff changeset
   875
doStop
dd37d7763def initial checkin
tz
parents:
diff changeset
   876
    "terminates the task of the current build"
dd37d7763def initial checkin
tz
parents:
diff changeset
   877
dd37d7763def initial checkin
tz
parents:
diff changeset
   878
    task notNil ifTrue: [task removeAllExitActions. task terminate].
dd37d7763def initial checkin
tz
parents:
diff changeset
   879
    task := nil.
dd37d7763def initial checkin
tz
parents:
diff changeset
   880
    shellView executeCommand: 'clear'.
dd37d7763def initial checkin
tz
parents:
diff changeset
   881
    self inform: ''
dd37d7763def initial checkin
tz
parents:
diff changeset
   882
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   883
!
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   884
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   885
executeCommand: aCommand inDirectory: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   886
    "executes aCommand in directory dir; put aCommand and the result into the shell view"
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   887
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   888
    |outStream|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   889
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   890
    shellView directory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   891
    shellView append: shellView getDirectoryTextString, ' ', aCommand.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   892
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   893
    outStream:= PipeStream readingFrom: aCommand errorDisposition:#inline inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   894
    [      
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   895
        outStream canReadWithoutBlocking
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   896
        ifTrue:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   897
        [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   898
            outStream readWait.
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
   899
            shellView append: (Text string: (outStream upTo: Character cr) color: Color red).
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   900
        ].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   901
    ] doWhile:[outStream atEnd not].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   902
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   903
    outStream close
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   904
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   905
!
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   906
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   907
inform: aString
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   908
    "outputs aString via shell view as information"
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   909
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   910
    shellView commandInputField contents: aString
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   911
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   912
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   913
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   914
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   915
!
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   916
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   917
informTargetBuildingFailed
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   918
    "informs that something went wrong"
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   919
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
   920
    self inform: 'Application building failed.' asBoldText.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   921
    task := nil
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   922
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
   923
dd37d7763def initial checkin
tz
parents:
diff changeset
   924
!ApplicationBuilder methodsFor:'aspects'!
dd37d7763def initial checkin
tz
parents:
diff changeset
   925
dd37d7763def initial checkin
tz
parents:
diff changeset
   926
aspectFor:aKey
dd37d7763def initial checkin
tz
parents:
diff changeset
   927
    "returns an aspect at aKey"
dd37d7763def initial checkin
tz
parents:
diff changeset
   928
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   929
    ^aspects at: aKey ifAbsent: [super aspectFor:aKey]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   930
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   931
dd37d7763def initial checkin
tz
parents:
diff changeset
   932
aspectsAt: aKey putFirst: anObject
dd37d7763def initial checkin
tz
parents:
diff changeset
   933
    "puts firstly anObject as ValueHolder at aKey and returns it"
dd37d7763def initial checkin
tz
parents:
diff changeset
   934
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   935
    ^aspects at: aKey ifAbsent: [aspects at: aKey put: anObject asValue]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   936
dd37d7763def initial checkin
tz
parents:
diff changeset
   937
dd37d7763def initial checkin
tz
parents:
diff changeset
   938
dd37d7763def initial checkin
tz
parents:
diff changeset
   939
dd37d7763def initial checkin
tz
parents:
diff changeset
   940
dd37d7763def initial checkin
tz
parents:
diff changeset
   941
dd37d7763def initial checkin
tz
parents:
diff changeset
   942
dd37d7763def initial checkin
tz
parents:
diff changeset
   943
dd37d7763def initial checkin
tz
parents:
diff changeset
   944
dd37d7763def initial checkin
tz
parents:
diff changeset
   945
dd37d7763def initial checkin
tz
parents:
diff changeset
   946
dd37d7763def initial checkin
tz
parents:
diff changeset
   947
dd37d7763def initial checkin
tz
parents:
diff changeset
   948
dd37d7763def initial checkin
tz
parents:
diff changeset
   949
dd37d7763def initial checkin
tz
parents:
diff changeset
   950
dd37d7763def initial checkin
tz
parents:
diff changeset
   951
dd37d7763def initial checkin
tz
parents:
diff changeset
   952
dd37d7763def initial checkin
tz
parents:
diff changeset
   953
dd37d7763def initial checkin
tz
parents:
diff changeset
   954
dd37d7763def initial checkin
tz
parents:
diff changeset
   955
dd37d7763def initial checkin
tz
parents:
diff changeset
   956
dd37d7763def initial checkin
tz
parents:
diff changeset
   957
dd37d7763def initial checkin
tz
parents:
diff changeset
   958
dd37d7763def initial checkin
tz
parents:
diff changeset
   959
dd37d7763def initial checkin
tz
parents:
diff changeset
   960
dd37d7763def initial checkin
tz
parents:
diff changeset
   961
dd37d7763def initial checkin
tz
parents:
diff changeset
   962
dd37d7763def initial checkin
tz
parents:
diff changeset
   963
dd37d7763def initial checkin
tz
parents:
diff changeset
   964
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   965
dd37d7763def initial checkin
tz
parents:
diff changeset
   966
shellView
dd37d7763def initial checkin
tz
parents:
diff changeset
   967
    "returns a shell view"
dd37d7763def initial checkin
tz
parents:
diff changeset
   968
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   969
    shellView isNil ifTrue: [shellView := ShellView new. shellView directory: (aspects at: #topDirectory) value]. 
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   970
    ^shellView 
dd37d7763def initial checkin
tz
parents:
diff changeset
   971
dd37d7763def initial checkin
tz
parents:
diff changeset
   972
dd37d7763def initial checkin
tz
parents:
diff changeset
   973
dd37d7763def initial checkin
tz
parents:
diff changeset
   974
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
   975
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   976
!ApplicationBuilder methodsFor:'building blocks'!
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   977
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   978
getBlockForClobberingTargetDirectory: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   979
    "returns the block for clobbering the target directory of the application"
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   980
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   981
    ^
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   982
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   983
        self inform: 'Clobbering the target directory...'.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   984
        self executeCommand: 'rm -r *' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   985
        task := nil
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   986
    ]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   987
dd37d7763def initial checkin
tz
parents:
diff changeset
   988
!
dd37d7763def initial checkin
tz
parents:
diff changeset
   989
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   990
getBlockForCompilingModulListFileWith: compilerPathAndFlags inDirectory: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   991
    "returns the block for compiling the C-file with the list of the module names"
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
   992
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   993
    ^
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   994
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   995
        |command|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   996
        self inform: 'Starting compilation of the modules init file...'.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   997
        command := compilerPathAndFlags , ' -c -fPIC -O6 -fomit-frame-pointer -m486 -DDEBUG -Di386 modulList.c'.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   998
        self executeCommand: command inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
   999
        (dir asFilename construct: 'modulList.o') exists
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1000
            ifTrue:  [task := nil]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1001
            ifFalse: [self warn:'Could not compile the modules file!!']
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1002
    ]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1003
!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1004
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1005
getBlockForCompilingStartupCFileWith: compilerPathAndFlags inDirectory: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1006
    "returns the block for compiling the startup file with passing startup class, startup selector, configuration string, and build date"
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1007
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1008
    ^
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1009
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1010
        |startUpClass cls startUpSelector startupFile command|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1011
        ((aspects at: #startupCFile) value asFilename) exists  
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1012
        ifFalse: 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1013
        [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1014
            self warn: 'Defined startup C-file not found!!'
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1015
        ]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1016
        ifTrue:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1017
        [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1018
            self inform: 'Starting compilation of the startup C-file...'.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1019
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1020
            startUpClass    := ((aspects at: #startupMessage) value upTo: $ ) asSymbol.
1559
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1021
            (cls := Smalltalk at: startUpClass) isNil 
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1022
            ifTrue: 
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1023
            [
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1024
                self warn: 'Defined class not found in system!!'
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1025
            ]
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1026
            ifFalse:
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1027
            [
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1028
                startUpSelector := ((aspects at: #startupMessage) value copy reverse upTo: $ ) reverse asSymbol.
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1029
                (cls respondsTo: startUpSelector) 
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1030
                ifFalse: 
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1031
                [
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1032
                    self warn: 'Defined class does not respond to the defined selector!!'
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1033
                ]
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1034
                ifTrue:
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1035
                [
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1036
                    startupFile     := (aspects at: #startupCFile) value asFilename.
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1037
                    startupFile copyTo: (startupFile := dir asFilename construct: (aspects at: #startupCFile) value asFilename baseName).
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1038
                    command := compilerPathAndFlags , ' -o main.o -c -O -O6 -fomit-frame-pointer -m486 -DDEBUG -Di386 ',
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1039
                        '-DSTARTUP_CLASS="\"',        startUpClass, '\"" ',
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1040
                        '-DSTARTUP_SELECTOR="\"',     startUpSelector, '\"" ',
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1041
                        '-DCONFIGURATION_STRING="\"', (aspects at: #configuration)   value, '\"" ',
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1042
                        '-DBUILD_DATE="\"',           (aspects at: #buildDate)       value, '\"" ',
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1043
                        startupFile name.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1044
1559
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1045
                    self executeCommand: command inDirectory: dir
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1046
                ]
088d6bc754c9 consider failures
tz
parents: 1558
diff changeset
  1047
            ]
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1048
        ].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1049
        (dir asFilename construct: 'main.o') exists
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1050
            ifTrue:  [task := nil]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1051
            ifFalse: [self warn:'Could not compile the startup C-file!!']
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1052
    ]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1053
!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1054
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1055
getBlockForCreatingSymbolicLinksToTheLibrariesIn: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1056
    "returns the block for creating the symbolic links to the libraries"
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1057
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1058
    ^
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1059
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1060
        self inform: 'Starting defining of the symbolic links to the libraries...'.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1061
        self getLibraryFileNames value do:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1062
        [:libPath|       
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1063
            self executeCommand: 'ln -s ', libPath , ' ', libPath asFilename head inDirectory: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1064
        ].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1065
        task := nil. 
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1066
    ]
dd37d7763def initial checkin
tz
parents:
diff changeset
  1067
dd37d7763def initial checkin
tz
parents:
diff changeset
  1068
!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1069
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1070
getBlockForCreatingSymbolicLinksToTheResourcesIn: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1071
    "returns the block for creating the symbolic links to the resources"
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1072
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1073
    ^
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1074
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1075
        self inform: 'Starting linking of the resources...'.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1076
        (aspects at: #linkRCFiles) value
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1077
        ifTrue:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1078
        [                
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1079
            self executeCommand: 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1080
                'ln -s ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1081
                ((aspects at: #libraryDirectory) value asFilename construct: '*.rc') name, ' ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1082
                (aspects at: #targetDirectory) value inDirectory: dir.
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1083
            self executeCommand: 
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1084
                'ln -s ', 
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1085
                ((aspects at: #libraryDirectory) value asFilename construct: 'patches') name, ' ', 
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1086
                (aspects at: #targetDirectory) value inDirectory: dir.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1087
        ].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1088
        (aspects at: #linkResources) value
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1089
        ifTrue:
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1090
        [ 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1091
            self executeCommand: 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1092
                'cp -r -d ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1093
                ((aspects at: #libraryDirectory) value asFilename construct: 'resources') name, ' ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1094
                (aspects at: #targetDirectory) value inDirectory: dir.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1095
        ].
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1096
        (aspects at: #linkSources) value
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1097
        ifTrue:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1098
        [ 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1099
            self executeCommand: 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1100
                'cp -r -d ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1101
                ((aspects at: #libraryDirectory) value asFilename construct: 'source') name, ' ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1102
                (aspects at: #targetDirectory) value inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1103
        ].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1104
        (aspects at: #linkBitmaps) value
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1105
        ifTrue:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1106
        [ 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1107
            self executeCommand: 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1108
                'cp -r -d ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1109
                ((aspects at: #libraryDirectory) value asFilename construct: 'bitmaps') name, ' ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1110
                (aspects at: #targetDirectory) value inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1111
        ].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1112
        task := nil.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1113
    ]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1114
dd37d7763def initial checkin
tz
parents:
diff changeset
  1115
!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1116
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1117
getBlockForGeneratingCFileWithModulesIn: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1118
    "returns the block for generating a C-file with the modules in directory dir"
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1119
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1120
    ^
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1121
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1122
        |selectionOfLibraries|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1123
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1124
        self inform: 'Starting generation of the C-file with modules...'.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1125
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1126
        selectionOfLibraries := self getModuleNames.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1127
        self executeCommand: 'echo "#include <stcIntern.h>" > modulList.c' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1128
        self executeCommand: 'echo "typedef void (*vf)();" >> modulList.c' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1129
        selectionOfLibraries do:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1130
        [:lib|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1131
            self executeCommand: 'echo "extern void _', lib, '_Init();" >> modulList.c' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1132
        ].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1133
        self executeCommand: 'echo "static vf modules[] = {" >> modulList.c' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1134
        selectionOfLibraries do:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1135
        [:lib|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1136
            self executeCommand: 'echo "_', lib, '_Init," >> modulList.c' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1137
        ].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1138
        self executeCommand: 'echo "(vf)0};" >> modulList.c' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1139
        self executeCommand: 'echo "vf *__modules__ = modules;" >> modulList.c' inDirectory: dir.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1140
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1141
        (dir asFilename construct: 'modulList.c') exists
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1142
            ifTrue:  [task := nil]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1143
            ifFalse: [self warn:'Could not generate the C-file with libraries!!']
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1144
    ]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1145
dd37d7763def initial checkin
tz
parents:
diff changeset
  1146
!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1147
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1148
getBlockForGeneratingHFileWithSymbolsIn: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1149
    "returns the block for generating a H-file with the symbols in directory dir"
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1150
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1151
    ^
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1152
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1153
        |symbolsFile realInc|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1154
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1155
        self inform: 'Starting generation of the h-file with symbols...'.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1156
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1157
        ByteCodeCompiler stcCompilationIncludes asArrayOfSubstrings do:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1158
        [:inc|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1159
            realInc := inc readStream.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1160
            realInc upTo: $/. 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1161
            realInc := '/', realInc upToEnd.      
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1162
            (symbolsFile := realInc asFilename construct: 'symbols.stc') exists
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1163
            ifTrue:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1164
            [   
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1165
                self executeCommand: 'echo "char *__symbols[] = {" > symbols.h' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1166
                self executeCommand: 'sed ''s/^/"/'' < ', symbolsFile name,' | sed ''s/$/",/'' | sed ''s/\\/\\\\/g'' >> symbols.h' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1167
                self executeCommand: 'echo "0 };" >> symbols.h' inDirectory: dir.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1168
            ]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1169
        ].
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1170
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1171
        (dir asFilename construct: 'symbols.h') exists
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1172
            ifTrue:  [task := nil]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1173
            ifFalse: [self warn:'Could not generate the h-file with symbols!!']
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1174
    ]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1175
dd37d7763def initial checkin
tz
parents:
diff changeset
  1176
!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1177
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1178
getBlockForLinkingLibrariesToTheApplicationIn: dir
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1179
    "returns the block for linking the libraries to the application"
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1180
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1181
    ^
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1182
    [
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1183
        |appName command|
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1184
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1185
        self inform: 'Starting linking of the libraries to the application...'.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1186
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1187
        appName := (aspects at: #applicationName) value.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1188
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1189
        command := ByteCodeCompiler ccPath,
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1190
            ' ', (aspects at: #applicationLinkDefines) value, ' ',
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1191
            ' -o ' , appName,
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1192
            ' modulList.o main.o ', 
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1193
            ((aspects at: #libraryDirectory) value asFilename construct: 'librun', ObjectFileLoader sharedLibraryExtension) name, ' ',
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1194
            ((self getLibraryFileNames, (aspects at: #systemLibraries) value) asStringCollection asStringWith: $ ).
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1195
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1196
        self executeCommand: command inDirectory: dir.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1197
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1198
        (dir asFilename construct: (aspects at: #applicationName) value) exists
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1199
            ifTrue:  [task := nil]
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1200
            ifFalse: [self warn:'Could not build the application!!']
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1201
    ]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1202
dd37d7763def initial checkin
tz
parents:
diff changeset
  1203
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
  1204
dd37d7763def initial checkin
tz
parents:
diff changeset
  1205
!ApplicationBuilder methodsFor:'change & update'!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1206
dd37d7763def initial checkin
tz
parents:
diff changeset
  1207
update:something with:aParameter from:changedObject
dd37d7763def initial checkin
tz
parents:
diff changeset
  1208
    "updates the combo boxes with the library names and the module names"
dd37d7763def initial checkin
tz
parents:
diff changeset
  1209
dd37d7763def initial checkin
tz
parents:
diff changeset
  1210
    |library libraries|
dd37d7763def initial checkin
tz
parents:
diff changeset
  1211
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1212
    changedObject == (aspects at: #stxLibrary ifAbsent: nil) 
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1213
    ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
  1214
    [                
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1215
        libraries := (aspects at: #stxLibraries) value.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1216
        (aspects at: #stxLibrary) value size = 0 ifTrue: [libraries remove: (aspects at: #oldSTXLibrary) value ifAbsent: nil].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1217
        (aspects at: #oldSTXLibrary) value: (library := (aspects at: #stxLibrary) value).
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1218
    ].
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1219
    changedObject == (aspects at: #systemLibrary) 
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1220
    ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
  1221
    [                
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1222
        libraries := (aspects at: #systemLibraries) value.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1223
        (aspects at: #systemLibrary) value size = 0 ifTrue: [libraries remove: (aspects at: #oldSystemLibrary) value ifAbsent: nil].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1224
        (aspects at: #oldSystemLibrary) value: (library := (aspects at: #systemLibrary) value).
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1225
    ].
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1226
    changedObject == (aspects at: #userLibrary ifAbsent: nil) 
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1227
    ifTrue: 
dd37d7763def initial checkin
tz
parents:
diff changeset
  1228
    [                
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1229
        libraries := (aspects at: #userLibraries) value.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1230
        (aspects at: #userLibrary) value size = 0 ifTrue: [libraries remove: (aspects at: #oldUserLibrary) value ifAbsent: nil].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1231
        (aspects at: #oldUserLibrary) value: (library := (aspects at: #userLibrary) value).
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1232
    ].
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1233
    (libraries includes: library) not & library notEmpty
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1234
    ifTrue:
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1235
    [   
1630
0303b4b6a5ce grammar
tz
parents: 1564
diff changeset
  1236
        libraries add: library
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1237
    ]
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1238
dd37d7763def initial checkin
tz
parents:
diff changeset
  1239
dd37d7763def initial checkin
tz
parents:
diff changeset
  1240
dd37d7763def initial checkin
tz
parents:
diff changeset
  1241
dd37d7763def initial checkin
tz
parents:
diff changeset
  1242
dd37d7763def initial checkin
tz
parents:
diff changeset
  1243
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
  1244
dd37d7763def initial checkin
tz
parents:
diff changeset
  1245
!ApplicationBuilder methodsFor:'initialization'!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1246
dd37d7763def initial checkin
tz
parents:
diff changeset
  1247
initialize
dd37d7763def initial checkin
tz
parents:
diff changeset
  1248
    "initialize all aspects"
dd37d7763def initial checkin
tz
parents:
diff changeset
  1249
1564
9a5fedae64f2 path fixes
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1250
    |topDir|
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1251
dd37d7763def initial checkin
tz
parents:
diff changeset
  1252
    super initialize.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1253
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1254
    aspects := self class aspects.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1255
1564
9a5fedae64f2 path fixes
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1256
    topDir := (Filename currentDirectory asFilename construct:'..') construct:'..'.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1257
1564
9a5fedae64f2 path fixes
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1258
    self aspectsAt: #topDirectory      putFirst: topDir pathName.
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1259
    aspects     at: #systemLibraries   put: ObjectFileLoader searchedLibraries asValue.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1260
    (aspects at: #systemLibrary        put: ((aspects at: #systemLibraries) value at: 1 ifAbsent: '') asValue) addDependent: self.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1261
    self aspectsAt: #oldSystemLibrary putFirst: (aspects at: #systemLibrary) value.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1262
    self aspectsAt: #configuration     putFirst: Smalltalk configuration.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1263
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1264
    self class ~~ ApplicationBuilder ifTrue: [^self].
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1265
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1266
    self aspectsAt: #applicationName   putFirst: 'application'.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1267
    self aspectsAt: #startupMessage    putFirst: 'Smalltalk start'.
1564
9a5fedae64f2 path fixes
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1268
    self aspectsAt: #startupCFile      putFirst: (topDir construct: 'librun/main.c') pathName.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1269
1564
9a5fedae64f2 path fixes
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1270
    self aspectsAt: #targetDirectory   putFirst: ((topDir construct: 'projects') construct:'application') pathName.
9a5fedae64f2 path fixes
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1271
    self aspectsAt: #libraryDirectory  putFirst: ((topDir construct: 'projects') construct:'smalltalk') pathName.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1272
dd37d7763def initial checkin
tz
parents:
diff changeset
  1273
    self aspectsAt: #stxLibraries      putFirst: 
dd37d7763def initial checkin
tz
parents:
diff changeset
  1274
        (ObjectMemory binaryModuleInfo collect: [:binMoInfo| (binMoInfo name copy reverse upTo: $ ) reverse]) asSortedCollection.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1275
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1276
    self aspectsAt: #userLibraries     putFirst: OrderedCollection new.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1277
1564
9a5fedae64f2 path fixes
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1278
    aspects at:     #buildDate         put:      (Date today printString, ' ', Time now printString) asValue.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1279
dd37d7763def initial checkin
tz
parents:
diff changeset
  1280
    self aspectsAt: #linkRCFiles       putFirst: true.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1281
    self aspectsAt: #linkResources     putFirst: true.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1282
    self aspectsAt: #linkSources       putFirst: true.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1283
    self aspectsAt: #linkBitmaps       putFirst: true.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1284
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1285
    (aspects at: #stxLibrary           put: ((aspects at: #stxLibraries)    value at: 1 ifAbsent: '') asValue) addDependent: self.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1286
    (aspects at: #userLibrary          put: ((aspects at: #userLibraries)   value at: 1 ifAbsent: '') asValue) addDependent: self.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1287
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1288
    self aspectsAt: #oldSTXLibrary    putFirst: (aspects at: #stxLibrary) value.
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1289
    self aspectsAt: #oldUserLibrary   putFirst: (aspects at: #userLibrary) value.
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1290
dd37d7763def initial checkin
tz
parents:
diff changeset
  1291
    self aspectsAt: #applicationLinkDefines putFirst: '-L/usr/X11/lib -Llib -Lbinary -L. -L/usr/local/lib -L/usr/lib -L/lib -lm -ldl -lXext -lX11'.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1292
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
  1293
dd37d7763def initial checkin
tz
parents:
diff changeset
  1294
!ApplicationBuilder methodsFor:'queries'!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1295
dd37d7763def initial checkin
tz
parents:
diff changeset
  1296
getCompilerFlags
dd37d7763def initial checkin
tz
parents:
diff changeset
  1297
    "returns the defines of the OS and the compiler flags of the ByteCodeCompiler"
dd37d7763def initial checkin
tz
parents:
diff changeset
  1298
dd37d7763def initial checkin
tz
parents:
diff changeset
  1299
    |compilerFlags|
dd37d7763def initial checkin
tz
parents:
diff changeset
  1300
dd37d7763def initial checkin
tz
parents:
diff changeset
  1301
    compilerFlags := OperatingSystem getOSDefine ? ''.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1302
dd37d7763def initial checkin
tz
parents:
diff changeset
  1303
    ByteCodeCompiler stcCompilationDefines notNil 
dd37d7763def initial checkin
tz
parents:
diff changeset
  1304
        ifTrue:[compilerFlags := compilerFlags , ' ' , ByteCodeCompiler stcCompilationDefines].
dd37d7763def initial checkin
tz
parents:
diff changeset
  1305
    ByteCodeCompiler stcCompilationIncludes notNil 
dd37d7763def initial checkin
tz
parents:
diff changeset
  1306
        ifTrue:[compilerFlags := compilerFlags , ' ' , ByteCodeCompiler stcCompilationIncludes].
dd37d7763def initial checkin
tz
parents:
diff changeset
  1307
    ByteCodeCompiler ccCompilationOptions notNil 
dd37d7763def initial checkin
tz
parents:
diff changeset
  1308
        ifTrue:[compilerFlags := compilerFlags , ' ' , ByteCodeCompiler ccCompilationOptions].
dd37d7763def initial checkin
tz
parents:
diff changeset
  1309
dd37d7763def initial checkin
tz
parents:
diff changeset
  1310
    ^compilerFlags
dd37d7763def initial checkin
tz
parents:
diff changeset
  1311
dd37d7763def initial checkin
tz
parents:
diff changeset
  1312
!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1313
dd37d7763def initial checkin
tz
parents:
diff changeset
  1314
getLibraryFileNames
dd37d7763def initial checkin
tz
parents:
diff changeset
  1315
    "returns the complete file names of the system and the user libraries"
dd37d7763def initial checkin
tz
parents:
diff changeset
  1316
dd37d7763def initial checkin
tz
parents:
diff changeset
  1317
    |libraryFileNames|
dd37d7763def initial checkin
tz
parents:
diff changeset
  1318
dd37d7763def initial checkin
tz
parents:
diff changeset
  1319
    libraryFileNames := OrderedCollection new.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1320
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1321
    (aspects at: #stxLibraries) value do:
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1322
    [:lib|
dd37d7763def initial checkin
tz
parents:
diff changeset
  1323
        |abbrevLib libPath|
dd37d7763def initial checkin
tz
parents:
diff changeset
  1324
        abbrevLib  := lib.
dd37d7763def initial checkin
tz
parents:
diff changeset
  1325
        lib = 'GLXWorkstation'   ifTrue: [abbrevLib := 'GLXWorkstat'].
dd37d7763def initial checkin
tz
parents:
diff changeset
  1326
        lib = 'XWorkstation'     ifTrue: [abbrevLib := 'XWorkstat'  ].
dd37d7763def initial checkin
tz
parents:
diff changeset
  1327
        lib = 'ObjectFileLoader' ifTrue: [abbrevLib := 'ObjFLoader' ].
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1328
        (libPath := (aspects at: #libraryDirectory) value asFilename construct: abbrevLib, ObjectFileLoader sharedLibraryExtension) exists
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1329
            ifTrue: [libraryFileNames add: libPath name]
dd37d7763def initial checkin
tz
parents:
diff changeset
  1330
    ].
dd37d7763def initial checkin
tz
parents:
diff changeset
  1331
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1332
    ^libraryFileNames, (aspects at: #userLibraries) value
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1333
dd37d7763def initial checkin
tz
parents:
diff changeset
  1334
!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1335
dd37d7763def initial checkin
tz
parents:
diff changeset
  1336
getModuleNames
dd37d7763def initial checkin
tz
parents:
diff changeset
  1337
    "returns the module names of the system and the user libraries"
dd37d7763def initial checkin
tz
parents:
diff changeset
  1338
dd37d7763def initial checkin
tz
parents:
diff changeset
  1339
    |moduleNames|
dd37d7763def initial checkin
tz
parents:
diff changeset
  1340
dd37d7763def initial checkin
tz
parents:
diff changeset
  1341
    moduleNames := OrderedCollection new.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1342
    (aspects at: #userLibraries) value do:
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1343
    [:lib|
dd37d7763def initial checkin
tz
parents:
diff changeset
  1344
        lib asFilename exists ifTrue: [moduleNames add: (lib asFilename baseName upTo: $.)]
dd37d7763def initial checkin
tz
parents:
diff changeset
  1345
    ].
dd37d7763def initial checkin
tz
parents:
diff changeset
  1346
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1347
    ^(aspects at: #stxLibraries) value, moduleNames
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1348
!
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1349
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1350
getTargetDirectory
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1351
    "returns the directory of the application; if not present, create it"
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1352
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1353
    |targetDirectory|
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1354
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1355
    (targetDirectory := (aspects at: #targetDirectory) value asFilename) exists ifFalse:[targetDirectory makeDirectory].   
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1356
    (targetDirectory isReadable and:[targetDirectory isWritable]) ifFalse: [^nil].
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1357
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1358
    ^targetDirectory name
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1359
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1360
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1361
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
  1362
13256
d1d0f1f71f47 class: ApplicationBuilder
Claus Gittinger <cg@exept.de>
parents: 7087
diff changeset
  1363
!ApplicationBuilder methodsFor:'startup & release'!
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1364
dd37d7763def initial checkin
tz
parents:
diff changeset
  1365
closeRequest
dd37d7763def initial checkin
tz
parents:
diff changeset
  1366
    "close request; before closing stop the running build, then release the dependents of all aspects"
dd37d7763def initial checkin
tz
parents:
diff changeset
  1367
dd37d7763def initial checkin
tz
parents:
diff changeset
  1368
    self doStop.
1525
ba7044e40ba0 revised
tz
parents: 1518
diff changeset
  1369
    aspects do: [:aspect| aspect release].
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1370
dd37d7763def initial checkin
tz
parents:
diff changeset
  1371
    super closeRequest
dd37d7763def initial checkin
tz
parents:
diff changeset
  1372
1558
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1373
!
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1374
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1375
postBuildWith:aBuilder
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1376
    "sets target directory for the shell view"
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1377
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1378
    shellView directory: self getTargetDirectory.
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1379
c4ed1badfc13 revised
tz
parents: 1551
diff changeset
  1380
    ^super postBuildWith:aBuilder
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1381
! !
dd37d7763def initial checkin
tz
parents:
diff changeset
  1382
dd37d7763def initial checkin
tz
parents:
diff changeset
  1383
!ApplicationBuilder class methodsFor:'documentation'!
dd37d7763def initial checkin
tz
parents:
diff changeset
  1384
dd37d7763def initial checkin
tz
parents:
diff changeset
  1385
version
13256
d1d0f1f71f47 class: ApplicationBuilder
Claus Gittinger <cg@exept.de>
parents: 7087
diff changeset
  1386
    ^ '$Header: /cvs/stx/stx/libtool/ApplicationBuilder.st,v 1.10 2013-07-30 05:57:02 cg Exp $'
12128
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
  1387
!
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
  1388
12431
9f0c59c742d5 Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
  1389
version_HG
9f0c59c742d5 Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
  1390
9f0c59c742d5 Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
  1391
    ^ '$Changeset: <not expanded> $'
9f0c59c742d5 Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
  1392
!
9f0c59c742d5 Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
  1393
12128
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
  1394
version_SVN
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
  1395
    ^ '$Id: ApplicationBuilder.st 7854 2012-01-30 17:49:41Z vranyj1 $'
1518
dd37d7763def initial checkin
tz
parents:
diff changeset
  1396
! !
13256
d1d0f1f71f47 class: ApplicationBuilder
Claus Gittinger <cg@exept.de>
parents: 7087
diff changeset
  1397