1 |
|
i-scream Server README |
2 |
|
====================== |
3 |
|
|
4 |
+ |
ANT build vs Make build |
5 |
+ |
----------------------- |
6 |
+ |
|
7 |
+ |
There are now two methods of compiling the server distribution. The existing |
8 |
+ |
Makefile method is still supported, but is of course limited in the OS's on |
9 |
+ |
which it can be run. The preffered method will be an XML based build script |
10 |
+ |
using ANT (http://jakarta.apache.org/ant) which will run on any platform. |
11 |
+ |
However, at this stage the ANT scripts are not completely finished and may |
12 |
+ |
have some odd behaviour. |
13 |
+ |
|
14 |
+ |
We envisage both the Makefile and ANT setups being maintained for some time, |
15 |
+ |
giving the developer a choice. This document still outlines the Makefile |
16 |
+ |
method of compiling, and will do so until such a point as the ANT scripts |
17 |
+ |
are deemed reliable. If, however, you wish to give the ant script a whirl, |
18 |
+ |
try the following after setting up ANT (see the ANT website for details); |
19 |
+ |
|
20 |
+ |
ant help |
21 |
+ |
|
22 |
|
Compiling |
23 |
|
--------- |
24 |
|
|
53 |
|
FilterManager |
54 |
|
RootFilter |
55 |
|
FilterMain |
56 |
+ |
Client |
57 |
|
|
58 |
|
It is not necessary to start both the ClientInterfaceMain and DBInterface, |
59 |
|
the server will handle only one or both. Multiple Filter's can be started |
107 |
|
|
108 |
|
buildutil |
109 |
|
|
110 |
+ |
(it is recommended you run a "make clean" first) |
111 |
|
Builds a seperate JAR file, in `build' called `iscream-util.jar'. |
112 |
|
This file contains just the uk.ac.ukc.iscream.util package for |
113 |
|
use in other parts of the system, such as the clients. |
114 |
+ |
|
115 |
+ |
createtable |
116 |
+ |
|
117 |
+ |
Creates the ipacket table in the mySQL database. This is required for |
118 |
+ |
the database side of the server. |
119 |
+ |
|
120 |
+ |
droptable |
121 |
+ |
|
122 |
+ |
Drops an ipacket table from the mySQL database if one exists. |