For the purposes of this section, I assume you've unpacked the distribution in /home/dan/src/jini/space
. First let's compile Blitz:
cd /home/dan/src/jini/space ant clean compileYou can generate javadoc using:
ant javadocWhich will place the javadoc in
docs/javadocs
The final steps in producing a Blitz distribution are to create the blitz.jar
, blitz-dl.jar
and stats.jar
files. By convention, building blitz-dl.jar
entails including all classes the Blitz proxy code is dependent upon including various classes of the JINI starter kit.
Fortunately, there is an Ant addon task which makes the work of generating the dependencies and building a .jar trivial. The necessary .jar is included in ant_addon
and automatically used by the build.xml
file (there's no need to install the addon in the Ant lib directory).
Now we can build the download jar, blitz-dl.jar
as follows:
cd /home/dan/src/jini/space/ ant dljar
Next up, we create stats.jar which is required to be on the classpath of any client wishing to make use of the StatsAdmin
interface.
cd /home/dan/src/jini/space/ ant statsjar
Next we create the dashboard.jar
cd /home/dan/src/jini/space/ ant dashjar
The final step is to create blitz.jar
itself:
cd /home/dan/src/jini/space ant serverjarAll the generated
.jar
's will be placed in the lib
directory.
cd /home/dan/src/jini/space/ ant all