4 |
|
ANT build vs Make build |
5 |
|
----------------------- |
6 |
|
|
7 |
+ |
** We have revamped the Makefile, but not the ANT build ** |
8 |
+ |
** So please use the Makefile for now ** |
9 |
+ |
|
10 |
|
There are now two methods of compiling the server distribution. The existing |
11 |
|
Makefile method is still supported, but is of course limited in the OS's on |
12 |
|
which it can be run. The preffered method will be an XML based build script |
35 |
|
make install prefix=/some/path |
36 |
|
make clean |
37 |
|
|
38 |
+ |
Alternatively there is a "make dist" target which will build a |
39 |
+ |
distribution archive containing the built code, the javadoc, and |
40 |
+ |
the source code. |
41 |
+ |
|
42 |
|
In more detail, the first line ensures that the required libraries are |
43 |
|
available, and sets the Makefiles up so they know where everything is. |
44 |
|
The second line compiles all of the code and creates a JAR file in the |
101 |
|
Installs the server to a given directory. Also takes a prefix; |
102 |
|
make install prefix = /usr/i-scream |
103 |
|
|
104 |
< |
cvsbuild |
104 |
> |
dist |
105 |
|
|
106 |
< |
Builds any tagged version of the server from CVS. This saves the need to |
107 |
< |
checkout a version to build it, as it's all done automatically; |
101 |
< |
make install rev = RELEASE_1 |
102 |
< |
Default tag is HEAD. |
106 |
> |
Builds a full distribution of the server. |
107 |
> |
make dist dest=/tmp |
108 |
|
|
109 |
+ |
dist-bin |
110 |
+ |
|
111 |
+ |
Builds a binary distribution of the server. |
112 |
+ |
make dist dest=/tmp |
113 |
+ |
|
114 |
|
javadoc |
115 |
|
|
116 |
|
Builds all the javadoc pages in the `doc' directory. |
117 |
|
|
118 |
< |
buildutil |
118 |
> |
src |
119 |
|
|
120 |
< |
(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. |
120 |
> |
Copies the whole src tree in to the `build/src' directory. |
121 |
|
|
122 |
|
createtable |
123 |
|
|