1 |
|
i-scream Server Startup |
2 |
|
======================= |
3 |
|
|
4 |
< |
Current startup sequence: |
4 |
> |
Recommended startup sequence of components: |
5 |
|
|
6 |
< |
uk.ac.ukc.iscream.core.Core |
7 |
< |
uk.ac.ukc.iscream.clientinterface.ClientInterfaceMain |
8 |
< |
uk.ac.ukc.iscream.filtermanager.FilterManager |
9 |
< |
uk.ac.ukc.iscream.rootfilter.RootFilterMain |
10 |
< |
uk.ac.ukc.iscream.filter.FilterMain |
6 |
> |
Core |
7 |
> |
ClientInterfaceMain |
8 |
> |
DBInterfaceMain |
9 |
> |
FilterManager |
10 |
> |
RootFilterMain |
11 |
> |
FilterMain |
12 |
|
|
13 |
< |
The following sequence of commands should suffice. They will probably need |
14 |
< |
to be run in seperate terminal windows. |
13 |
> |
It is not necessary to start both the ClientInterfaceMain and DBInterfaceMain, |
14 |
> |
the server will handle only one. Multiple Filter's can be started as required. |
15 |
|
|
16 |
< |
make runcore |
17 |
< |
make runclientinterface |
18 |
< |
make runfiltermanager |
18 |
< |
make runrootfilter NAME=root |
19 |
< |
make runfilter NAME=filter1 |
16 |
> |
These are all loaded through the ComponentManager. More details on how to |
17 |
> |
operate this will be provided later on. Typing "make run" will make an |
18 |
> |
attempt to load it up. |
19 |
|
|
20 |
< |
If all is working this will ensure every component, including the IDL, is |
21 |
< |
compiled as required before execution. |
20 |
> |
nb. You will need to ensure that the relevant libraries are in the |
21 |
> |
build/lib directory. See the README in there for details. |
22 |
|
|
23 |
< |
nb. you will need to ensure your classpath is correctly set prior to |
24 |
< |
running, otherwise java will fail to find the jacorb classes and the |
25 |
< |
XML parsing packages. |
23 |
> |
Makefile |
24 |
> |
======== |
25 |
> |
The following targets are available; |
26 |
> |
|
27 |
> |
build |
28 |
> |
|
29 |
> |
Compile the entire server package, include the IDL file. Generates the |
30 |
> |
JAR file for the final package. |
31 |
> |
|
32 |
> |
run |
33 |
> |
|
34 |
> |
Run's the server from the JAR file in /build. |
35 |
> |
|
36 |
> |
clean |
37 |
> |
|
38 |
> |
Cleans all compiled code, and javadoc pages. |
39 |
> |
|
40 |
> |
distclean |
41 |
> |
|
42 |
> |
Also cleans files left by configure, including the libraries. |
43 |
> |
|
44 |
> |
install |
45 |
> |
|
46 |
> |
Installs the server to a given directory. Also takes a prefix; |
47 |
> |
make install prefix = /usr/i-scream |
48 |
> |
|
49 |
> |
cvsbuild |
50 |
> |
|
51 |
> |
Builds any tagged version of the server from CVS. This saves the need to |
52 |
> |
checkout a version to build it, as it's all done automatically; |
53 |
> |
make install rev = RELEASE_1 |
54 |
> |
Default tag is HEAD. |
55 |
> |
|
56 |
> |
javadoc |
57 |
> |
|
58 |
> |
Builds all the javadoc pages in the `doc' directory. |
59 |
> |
|