2
|
1 |
|
|
2 |
The unit tests in this directory depend on a native launcher library
|
|
3 |
(libLauncher.so). This native library is built off-line and the
|
|
4 |
resulting libLauncher.so for each processor/OS combination is checked
|
|
5 |
into the workspace. The reason for this is because the test environment
|
|
6 |
may not have the required compilers/build environment.
|
|
7 |
|
|
8 |
In order to rebuild libLauncher.so the following is required :-
|
|
9 |
|
|
10 |
1. Check-out each of the shared libraries (sccs edit)
|
|
11 |
|
|
12 |
2. Edit Launcher.c with the appropriate changes
|
|
13 |
|
|
14 |
3. Execute the make script (gnumake all) on each processor/OS so
|
|
15 |
that the appropriate lib/<platform>/libLauncher.so is built.
|
|
16 |
|
|
17 |
4. Test the changes
|
|
18 |
|
|
19 |
5. Check-in each of the shared library (sccs delget)
|
|
20 |
|
|
21 |
|
|
22 |
For step 4 (re-building libLauncher.so) the following environment is required:
|
|
23 |
|
|
24 |
(a) JAVA_HOME needs to be set to J2SE directory, eg:-
|
|
25 |
export JAVA_HOME=/usr/local/java/jdk1.5/solaris-sparc
|
|
26 |
|
|
27 |
(b) For Solaris the SOS8 'cc' needs to be on the PATH, check using:
|
|
28 |
# cc -V
|
|
29 |
cc: Sun C 5.5 2003/03/12
|
|
30 |
|
|
31 |
(c) Execute the make script :-
|
|
32 |
Solaris: gnumake all
|
|
33 |
Linux: gmake all
|