Subversion Repositories DevTools

Rev

Rev 5730 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
243 dpurdie 1
Index
2
    JATS Installation Process
3
        Host-specific Installation Operation
4
    Creating the JATS package for Release (Automated Release)
5
    Creating the JATS package for Release (Manual Release)
6
    Notes on directory layout
7
 
8
================================================================================
9
================================================================================
10
 
7548 dpurdie 11
JATS Installation Process - with installer
12
------------------------------------------
13
Use the lastest installer from the 'jats-installer' package to install
14
a version of jats that can be run from a central server. The installer will
15
install files to allow access to a centarlly deployed version of JATS.
227 dpurdie 16
 
7548 dpurdie 17
Only available for Windows, Ubuntu and RedHad.
18
Not available for Solaris; Symlinks must be manually setup.
19
 
20
JATS Installation Process - manual process
21
------------------------------------------
22
This process is not nomally used. Its historic.
23
Today the JATS is run from dpkg_archive or a replica of dpkg_archive.
24
New releases of JATS will be auto installed into dpkg_archive.
25
 
227 dpurdie 26
1) Place the JATS package in a suitable directory
27
 
28
2) Perform the host-specific installation operation
29
        SOLARIS: run the script PostInstall.sh
30
        WINDOWS: do nothing
31
 
32
3) Tailor the JATS startup script
33
        SOLARIS: tailor TOOLS/jats.sh
34
        LINUX:   tailor TOOLS/jats.sh
35
        WINDOWS: tailor TOOLS/jats.bat
36
 
37
   The JATS startup script may be copied to a directory within the users
38
   PATH and the various values within the script may be alterred to suite
39
   the users environment.
40
 
41
   The JATS startup script may be modified in-situ and the users PATH
42
   extended to include the TOOLS directory.
43
 
44
   The JATS startup script is designed to need no changes from JATS
45
   release to JATS release. Its sole purpose is to startup another
46
   JATS script that is contained within the release.
47
 
48
 
49
JATS Requirements
50
-----------------
51
 
5730 dpurdie 52
1) Perl no later than 5.8.8
227 dpurdie 53
2) Compilers and tools as required by the targets being built
54
 
55
========================================================================
56
 
57
Host-specific Installation Operation
58
-----------------------------------
59
 
60
SOLARIS and LINUX (Done by PostInstall.sh)
61
    1) Make the scripts in TOOLS executable
62
    2) Make the binaries in BIN.xxx executable as required
63
    3) Untar the links.tar file in BIN.xxx as required
64
 
65
WINDOWS
66
    Nothing
67
 
68
========================================================================
69
========================================================================
70
 
239 dpurdie 71
Creating the JATS package for Release (Automated Release)
243 dpurdie 72
---------------------------------------------------------
227 dpurdie 73
 
239 dpurdie 74
1) Create a New automated version in Release Manager
75
   Use: HOME > TECHNOLOGY GROUP > Build Environment TOOLS
76
   The package is 'core_devl'
77
 
78
2) Make changes to the JATS files
79
 
80
3) Update the ChangeLog.txt file
5730 dpurdie 81
   Update the Version
239 dpurdie 82
   Update the Release Date.
5730 dpurdie 83
   Describe changes
239 dpurdie 84
 
85
4) Label ALL files in the core_devl view with the CORE_DEVL.XXXX.CR.WIP label
5730 dpurdie 86
   or the label provided by Release Manager.
239 dpurdie 87
 
88
5) Use Release Manager to Release and build the package
243 dpurdie 89
   The Build Demons should build and install the package
5730 dpurdie 90
   The PostInstall processing will be run
7548 dpurdie 91
   At 3:00 AM Perth Time, the new version of JATS will become the
92
   current version.
239 dpurdie 93
 
7548 dpurdie 94
6) (Optional) Inform users via the Google++ group called: JATS Build System
239 dpurdie 95
 
243 dpurdie 96
================================================================================
97
================================================================================
98
Notes on directory layout
99
 
100
The current directory structure is given by the picture below:
101
 
5730 dpurdie 102
    /.../core_devl/:
243 dpurdie 103
      |-BIN.linux_i386/:
104
      |-BIN.solaris10_sparc32/:
105
      |-BIN.solaris10_x86/:
106
      |-BIN.sparc/:
107
      |-BIN.win32/:
108
      |-BUILD/:
109
      |-CFG/:
110
      |   |-PLATFORM/:
111
      |   |-SH/:
112
      |   |-TOOLSET/:
113
      |-TEMPLATES/:
114
      |-TEST/:
115
      |   `-version1/:
116
      |-TOOLS/:
117
      |   |-DEPLOY/:
118
      |   |-LIB/:
119
      |   |   |-Clearcase/:
120
      |   |   |-DeployUtils/:
121
      |   |-LOCAL/:
122
      |-UTILS/:
123
 
124
Details:
5730 dpurdie 125
/.../core_devl
243 dpurdie 126
    The root of the core_devl view in the ClearCase VOB
127
    The only files in the directory should be readme's and the build.pl file
128
 
129
BIN.linux_i386
130
BIN.solaris10_sparc32
131
BIN.solaris10_x86
132
BIN.sparc
133
BIN.win32
134
    These directories contain machine-specific binaries used by JATS at runtime.
135
    There is one directory for each machine-type supported by JATS
136
 
137
    The Unix machine directories contain machine-specific binaries and
138
    a file that will be used to create symbolic links when the package is
139
    installed.
140
 
141
    The win32 directory contains a great number of Unix-like utilities.
142
    These are not cygwin.
143
 
144
BUILD
145
    This directory contains build files used when the package is built.
146
    Building core_devel is really a process of creating an install image.
147
    No binaries are compiled by the 'build' process.
148
 
149
 
150
CFG
151
  |-PLATFORM
152
  |-SH
153
  |-TOOLSET
154
 
155
  The files in the CFG subdirectory tree are used by JATS in the process of
156
  creating makefiles.
157
 
158
  CFG/PLATFORM: Contains files for each 'platform' known to JATS
159
  CFG/TOOLSET:  Contains files for each 'toolset' known to JATS
160
  CFG/SH:       Unknown. May be complete rubbish and may not be required any
161
                         more
162
 
163
 
164
TEMPLATES
165
 
166
    Example build and makefiles for various aspects of JATS
167
 
168
    There are no build.pl files in the example. They all use the alternate
169
    file name of build_test.pl
170
 
171
    Could do to be expanded
172
 
173
TEST
174
 
175
    Test builds
176
    Very under represented
177
    Would be nice to have a 'test' build that did something simple
178
    for each platform currently supported. Would provide a nice test of
179
    the installation of the required compilers.
180
 
181
TOOLS
182
  |-DEPLOY
183
  |-LIB
184
     |-Clearcase
185
     |-DeployUtils
186
 
187
    The TOOLS directory contains the jats front-end and utilities that can
188
    be run with the 'jats etool' command.
189
 
190
    The TOOLS/DEPLOY directory contains 'old' deployment utilities that now
191
    run under JATS. Some useful stuff. Also run with 'jats etool'
192
 
193
    The TOOLS/LIB directory contains (mostly) perl modules that are used
194
    extensively by JATS.
195
 
196
    TOOLS/LIB/DeployUtils and TOOLS/LIB/Clearcase contain Perl modules used by
197
    the TOOLS/DEPLOYutilities. Mostly legacy stuff. Still used, but not actively
198
    maintained.
199
 
200
UTILS
201
   This directory contains sources for binary utilities used by jats.
202
   The utilities are (mostly) NOT JATS buildable
203
   They are built by hand and only need to be built when a new machine
204
   type is added to JATS.
205
 
206