| 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 |
|
| 5730 |
dpurdie |
40 |
1) Perl no later than 5.8.8
|
| 227 |
dpurdie |
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 |
|
|
|
68 |
3) Update the ChangeLog.txt file
|
| 5730 |
dpurdie |
69 |
Update the Version
|
| 239 |
dpurdie |
70 |
Update the Release Date.
|
| 5730 |
dpurdie |
71 |
Describe changes
|
| 239 |
dpurdie |
72 |
|
|
|
73 |
4) Label ALL files in the core_devl view with the CORE_DEVL.XXXX.CR.WIP label
|
| 5730 |
dpurdie |
74 |
or the label provided by Release Manager.
|
| 239 |
dpurdie |
75 |
|
|
|
76 |
5) Use Release Manager to Release and build the package
|
| 243 |
dpurdie |
77 |
The Build Demons should build and install the package
|
| 5730 |
dpurdie |
78 |
The PostInstall processing will be run
|
| 239 |
dpurdie |
79 |
|
| 5730 |
dpurdie |
80 |
6) On "auperaarc01", locate the released package in core_devl
|
|
|
81 |
Create a symlink from the new version to 'jats_new'
|
|
|
82 |
ie: sudo ln -s 3.10.3000.cr jats2_new
|
|
|
83 |
At 3:00Am Perth Time a cronjob will update jats2_current from jats2_new
|
| 239 |
dpurdie |
84 |
|
| 5730 |
dpurdie |
85 |
7) Inform users via the Google++ group called: JATS Build System
|
| 239 |
dpurdie |
86 |
|
| 243 |
dpurdie |
87 |
================================================================================
|
|
|
88 |
================================================================================
|
|
|
89 |
Notes on directory layout
|
|
|
90 |
|
|
|
91 |
The current directory structure is given by the picture below:
|
|
|
92 |
|
| 5730 |
dpurdie |
93 |
/.../core_devl/:
|
| 243 |
dpurdie |
94 |
|-BIN.linux_i386/:
|
|
|
95 |
|-BIN.solaris10_sparc32/:
|
|
|
96 |
|-BIN.solaris10_x86/:
|
|
|
97 |
|-BIN.sparc/:
|
|
|
98 |
|-BIN.win32/:
|
|
|
99 |
|-BUILD/:
|
|
|
100 |
|-CFG/:
|
|
|
101 |
| |-PLATFORM/:
|
|
|
102 |
| |-SH/:
|
|
|
103 |
| |-TOOLSET/:
|
|
|
104 |
|-TEMPLATES/:
|
|
|
105 |
|-TEST/:
|
|
|
106 |
| `-version1/:
|
|
|
107 |
|-TOOLS/:
|
|
|
108 |
| |-DEPLOY/:
|
|
|
109 |
| |-LIB/:
|
|
|
110 |
| | |-Clearcase/:
|
|
|
111 |
| | |-DeployUtils/:
|
|
|
112 |
| |-LOCAL/:
|
|
|
113 |
|-UTILS/:
|
|
|
114 |
|
|
|
115 |
Details:
|
| 5730 |
dpurdie |
116 |
/.../core_devl
|
| 243 |
dpurdie |
117 |
The root of the core_devl view in the ClearCase VOB
|
|
|
118 |
The only files in the directory should be readme's and the build.pl file
|
|
|
119 |
|
|
|
120 |
BIN.linux_i386
|
|
|
121 |
BIN.solaris10_sparc32
|
|
|
122 |
BIN.solaris10_x86
|
|
|
123 |
BIN.sparc
|
|
|
124 |
BIN.win32
|
|
|
125 |
These directories contain machine-specific binaries used by JATS at runtime.
|
|
|
126 |
There is one directory for each machine-type supported by JATS
|
|
|
127 |
|
|
|
128 |
The Unix machine directories contain machine-specific binaries and
|
|
|
129 |
a file that will be used to create symbolic links when the package is
|
|
|
130 |
installed.
|
|
|
131 |
|
|
|
132 |
The win32 directory contains a great number of Unix-like utilities.
|
|
|
133 |
These are not cygwin.
|
|
|
134 |
|
|
|
135 |
BUILD
|
|
|
136 |
This directory contains build files used when the package is built.
|
|
|
137 |
Building core_devel is really a process of creating an install image.
|
|
|
138 |
No binaries are compiled by the 'build' process.
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
CFG
|
|
|
142 |
|-PLATFORM
|
|
|
143 |
|-SH
|
|
|
144 |
|-TOOLSET
|
|
|
145 |
|
|
|
146 |
The files in the CFG subdirectory tree are used by JATS in the process of
|
|
|
147 |
creating makefiles.
|
|
|
148 |
|
|
|
149 |
CFG/PLATFORM: Contains files for each 'platform' known to JATS
|
|
|
150 |
CFG/TOOLSET: Contains files for each 'toolset' known to JATS
|
|
|
151 |
CFG/SH: Unknown. May be complete rubbish and may not be required any
|
|
|
152 |
more
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
TEMPLATES
|
|
|
156 |
|
|
|
157 |
Example build and makefiles for various aspects of JATS
|
|
|
158 |
|
|
|
159 |
There are no build.pl files in the example. They all use the alternate
|
|
|
160 |
file name of build_test.pl
|
|
|
161 |
|
|
|
162 |
Could do to be expanded
|
|
|
163 |
|
|
|
164 |
TEST
|
|
|
165 |
|
|
|
166 |
Test builds
|
|
|
167 |
Very under represented
|
|
|
168 |
Would be nice to have a 'test' build that did something simple
|
|
|
169 |
for each platform currently supported. Would provide a nice test of
|
|
|
170 |
the installation of the required compilers.
|
|
|
171 |
|
|
|
172 |
TOOLS
|
|
|
173 |
|-DEPLOY
|
|
|
174 |
|-LIB
|
|
|
175 |
|-Clearcase
|
|
|
176 |
|-DeployUtils
|
|
|
177 |
|
|
|
178 |
The TOOLS directory contains the jats front-end and utilities that can
|
|
|
179 |
be run with the 'jats etool' command.
|
|
|
180 |
|
|
|
181 |
The TOOLS/DEPLOY directory contains 'old' deployment utilities that now
|
|
|
182 |
run under JATS. Some useful stuff. Also run with 'jats etool'
|
|
|
183 |
|
|
|
184 |
The TOOLS/LIB directory contains (mostly) perl modules that are used
|
|
|
185 |
extensively by JATS.
|
|
|
186 |
|
|
|
187 |
TOOLS/LIB/DeployUtils and TOOLS/LIB/Clearcase contain Perl modules used by
|
|
|
188 |
the TOOLS/DEPLOYutilities. Mostly legacy stuff. Still used, but not actively
|
|
|
189 |
maintained.
|
|
|
190 |
|
|
|
191 |
UTILS
|
|
|
192 |
This directory contains sources for binary utilities used by jats.
|
|
|
193 |
The utilities are (mostly) NOT JATS buildable
|
|
|
194 |
They are built by hand and only need to be built when a new machine
|
|
|
195 |
type is added to JATS.
|
|
|
196 |
|
|
|
197 |
|