| 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 |
|
| 227 |
dpurdie |
11 |
JATS Installation Process
|
|
|
12 |
-------------------------
|
|
|
13 |
|
|
|
14 |
1) Place the JATS package in a suitable directory
|
|
|
15 |
|
|
|
16 |
2) Perform the host-specific installation operation
|
|
|
17 |
SOLARIS: run the script PostInstall.sh
|
|
|
18 |
WINDOWS: do nothing
|
|
|
19 |
|
|
|
20 |
3) Tailor the JATS startup script
|
|
|
21 |
SOLARIS: tailor TOOLS/jats.sh
|
|
|
22 |
LINUX: tailor TOOLS/jats.sh
|
|
|
23 |
WINDOWS: tailor TOOLS/jats.bat
|
|
|
24 |
|
|
|
25 |
The JATS startup script may be copied to a directory within the users
|
|
|
26 |
PATH and the various values within the script may be alterred to suite
|
|
|
27 |
the users environment.
|
|
|
28 |
|
|
|
29 |
The JATS startup script may be modified in-situ and the users PATH
|
|
|
30 |
extended to include the TOOLS directory.
|
|
|
31 |
|
|
|
32 |
The JATS startup script is designed to need no changes from JATS
|
|
|
33 |
release to JATS release. Its sole purpose is to startup another
|
|
|
34 |
JATS script that is contained within the release.
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
JATS Requirements
|
|
|
38 |
-----------------
|
|
|
39 |
|
|
|
40 |
1) Perl 5.6.1 or better
|
|
|
41 |
2) Compilers and tools as required by the targets being built
|
|
|
42 |
|
|
|
43 |
========================================================================
|
|
|
44 |
|
|
|
45 |
Host-specific Installation Operation
|
|
|
46 |
-----------------------------------
|
|
|
47 |
|
|
|
48 |
SOLARIS and LINUX (Done by PostInstall.sh)
|
|
|
49 |
1) Make the scripts in TOOLS executable
|
|
|
50 |
2) Make the binaries in BIN.xxx executable as required
|
|
|
51 |
3) Untar the links.tar file in BIN.xxx as required
|
|
|
52 |
|
|
|
53 |
WINDOWS
|
|
|
54 |
Nothing
|
|
|
55 |
|
|
|
56 |
========================================================================
|
|
|
57 |
========================================================================
|
|
|
58 |
|
| 239 |
dpurdie |
59 |
Creating the JATS package for Release (Automated Release)
|
| 243 |
dpurdie |
60 |
---------------------------------------------------------
|
| 227 |
dpurdie |
61 |
|
| 239 |
dpurdie |
62 |
1) Create a New automated version in Release Manager
|
|
|
63 |
Use: HOME > TECHNOLOGY GROUP > Build Environment TOOLS
|
|
|
64 |
The package is 'core_devl'
|
|
|
65 |
|
|
|
66 |
2) Make changes to the JATS files
|
|
|
67 |
Clearcase config Spec:
|
|
|
68 |
element /MASS_Dev_Infra/... .../mass_dev/LATEST
|
|
|
69 |
element /MASS_Dev_Infra/... /main/LATEST
|
|
|
70 |
load /MASS_Dev_Infra/core_devl
|
|
|
71 |
|
|
|
72 |
3) Update the ChangeLog.txt file
|
|
|
73 |
Leave the 'VERSION' as current.
|
|
|
74 |
Update the Release Date.
|
|
|
75 |
|
|
|
76 |
4) Label ALL files in the core_devl view with the CORE_DEVL.XXXX.CR.WIP label
|
|
|
77 |
|
|
|
78 |
5) Use Release Manager to Release and build the package
|
| 243 |
dpurdie |
79 |
The Build Demons should build and install the package
|
| 239 |
dpurdie |
80 |
|
|
|
81 |
6) On "auperaunx26", locate the released package and run the PostInstall script.
|
|
|
82 |
cd core_devl/XX.XX.XX.cr
|
|
|
83 |
./PostInstall.sh
|
|
|
84 |
|
|
|
85 |
7)Update the softlink to the latest version of JATS
|
|
|
86 |
On "auperaunx26", in the directory /devl/dpkg_archive/core_devl
|
|
|
87 |
|
|
|
88 |
rm jats2_current
|
|
|
89 |
ln -s dpkg_archive/core_devl/XX.XX.XX.cr jats2_current
|
|
|
90 |
|
|
|
91 |
8) Email the last release note entry to all
|
|
|
92 |
|
|
|
93 |
Creating the JATS package for Release (Manual Release)
|
|
|
94 |
------------------------------------------------------
|
|
|
95 |
|
| 227 |
dpurdie |
96 |
1) Make changes to the JATS files
|
|
|
97 |
Clearcase config Spec:
|
|
|
98 |
element /MASS_Dev_Infra/... .../mass_dev/LATEST
|
|
|
99 |
element /MASS_Dev_Infra/... /main/LATEST
|
|
|
100 |
load /MASS_Dev_Infra/core_devl
|
|
|
101 |
|
|
|
102 |
2) Update the ChangeLog.txt file
|
|
|
103 |
|
| 229 |
dpurdie |
104 |
3) Label ALL files in the core_devl view with the JATS_XX.XX.XX.cr label
|
| 227 |
dpurdie |
105 |
|
| 229 |
dpurdie |
106 |
4) Use the jats command:
|
|
|
107 |
jats release JATS_XX.XX.XX.cr
|
|
|
108 |
to release the package.
|
| 227 |
dpurdie |
109 |
|
| 229 |
dpurdie |
110 |
5) On "auperaunx26", locate the released package and run the PostInstall script.
|
| 227 |
dpurdie |
111 |
cd core_devl/XX.XX.XX.cr
|
|
|
112 |
./PostInstall.sh
|
|
|
113 |
|
| 229 |
dpurdie |
114 |
6)Update the softlink to the latest version of JATS
|
| 239 |
dpurdie |
115 |
On "auperaunx26", in the directory /devl/dpkg_archive/core_devl
|
| 227 |
dpurdie |
116 |
|
| 239 |
dpurdie |
117 |
rm jats2_current
|
|
|
118 |
ln -s dpkg_archive/core_devl/XX.XX.XX.cr jats2_current
|
| 227 |
dpurdie |
119 |
|
| 229 |
dpurdie |
120 |
7) Maintain the Release Manager Entry
|
|
|
121 |
|
|
|
122 |
8) Email the last release note entry to all
|
| 243 |
dpurdie |
123 |
|
|
|
124 |
|
|
|
125 |
================================================================================
|
|
|
126 |
================================================================================
|
|
|
127 |
Notes on directory layout
|
|
|
128 |
|
|
|
129 |
The current directory structure is given by the picture below:
|
|
|
130 |
|
|
|
131 |
/MASS_Dev_Infra/core_devl/:
|
|
|
132 |
|-BIN.linux_i386/:
|
|
|
133 |
|-BIN.solaris10_sparc32/:
|
|
|
134 |
|-BIN.solaris10_x86/:
|
|
|
135 |
|-BIN.sparc/:
|
|
|
136 |
|-BIN.win32/:
|
|
|
137 |
|-BUILD/:
|
|
|
138 |
|-CFG/:
|
|
|
139 |
| |-PLATFORM/:
|
|
|
140 |
| |-SH/:
|
|
|
141 |
| |-TOOLSET/:
|
|
|
142 |
|-TEMPLATES/:
|
|
|
143 |
|-TEST/:
|
|
|
144 |
| `-version1/:
|
|
|
145 |
|-TOOLS/:
|
|
|
146 |
| |-DEPLOY/:
|
|
|
147 |
| |-LIB/:
|
|
|
148 |
| | |-Clearcase/:
|
|
|
149 |
| | |-DeployUtils/:
|
|
|
150 |
| |-LOCAL/:
|
|
|
151 |
|-UTILS/:
|
|
|
152 |
|
|
|
153 |
Details:
|
|
|
154 |
/MASS_Dev_Infra/core_devl
|
|
|
155 |
The root of the core_devl view in the ClearCase VOB
|
|
|
156 |
The only files in the directory should be readme's and the build.pl file
|
|
|
157 |
|
|
|
158 |
BIN.linux_i386
|
|
|
159 |
BIN.solaris10_sparc32
|
|
|
160 |
BIN.solaris10_x86
|
|
|
161 |
BIN.sparc
|
|
|
162 |
BIN.win32
|
|
|
163 |
These directories contain machine-specific binaries used by JATS at runtime.
|
|
|
164 |
There is one directory for each machine-type supported by JATS
|
|
|
165 |
|
|
|
166 |
The Unix machine directories contain machine-specific binaries and
|
|
|
167 |
a file that will be used to create symbolic links when the package is
|
|
|
168 |
installed.
|
|
|
169 |
|
|
|
170 |
The win32 directory contains a great number of Unix-like utilities.
|
|
|
171 |
These are not cygwin.
|
|
|
172 |
|
|
|
173 |
BUILD
|
|
|
174 |
This directory contains build files used when the package is built.
|
|
|
175 |
Building core_devel is really a process of creating an install image.
|
|
|
176 |
No binaries are compiled by the 'build' process.
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
CFG
|
|
|
180 |
|-PLATFORM
|
|
|
181 |
|-SH
|
|
|
182 |
|-TOOLSET
|
|
|
183 |
|
|
|
184 |
The files in the CFG subdirectory tree are used by JATS in the process of
|
|
|
185 |
creating makefiles.
|
|
|
186 |
|
|
|
187 |
CFG/PLATFORM: Contains files for each 'platform' known to JATS
|
|
|
188 |
CFG/TOOLSET: Contains files for each 'toolset' known to JATS
|
|
|
189 |
CFG/SH: Unknown. May be complete rubbish and may not be required any
|
|
|
190 |
more
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
TEMPLATES
|
|
|
194 |
|
|
|
195 |
Example build and makefiles for various aspects of JATS
|
|
|
196 |
|
|
|
197 |
There are no build.pl files in the example. They all use the alternate
|
|
|
198 |
file name of build_test.pl
|
|
|
199 |
|
|
|
200 |
Could do to be expanded
|
|
|
201 |
|
|
|
202 |
TEST
|
|
|
203 |
|
|
|
204 |
Test builds
|
|
|
205 |
Very under represented
|
|
|
206 |
Would be nice to have a 'test' build that did something simple
|
|
|
207 |
for each platform currently supported. Would provide a nice test of
|
|
|
208 |
the installation of the required compilers.
|
|
|
209 |
|
|
|
210 |
TOOLS
|
|
|
211 |
|-DEPLOY
|
|
|
212 |
|-LIB
|
|
|
213 |
|-Clearcase
|
|
|
214 |
|-DeployUtils
|
|
|
215 |
|
|
|
216 |
The TOOLS directory contains the jats front-end and utilities that can
|
|
|
217 |
be run with the 'jats etool' command.
|
|
|
218 |
|
|
|
219 |
The TOOLS/DEPLOY directory contains 'old' deployment utilities that now
|
|
|
220 |
run under JATS. Some useful stuff. Also run with 'jats etool'
|
|
|
221 |
|
|
|
222 |
The TOOLS/LIB directory contains (mostly) perl modules that are used
|
|
|
223 |
extensively by JATS.
|
|
|
224 |
|
|
|
225 |
TOOLS/LIB/DeployUtils and TOOLS/LIB/Clearcase contain Perl modules used by
|
|
|
226 |
the TOOLS/DEPLOYutilities. Mostly legacy stuff. Still used, but not actively
|
|
|
227 |
maintained.
|
|
|
228 |
|
|
|
229 |
UTILS
|
|
|
230 |
This directory contains sources for binary utilities used by jats.
|
|
|
231 |
The utilities are (mostly) NOT JATS buildable
|
|
|
232 |
They are built by hand and only need to be built when a new machine
|
|
|
233 |
type is added to JATS.
|
|
|
234 |
|
|
|
235 |
|