To compile, see the scripts in the util directory.
The source and binary releases are created with the scripts listed in the distribution group. These are more likely to work with the distribution, but are also more difficult to drive.
Compilation and building is a complex and changing area. Expect the methods to change between different distributions.
Here are some examples for compiling the source:
sh util/build.sh
util\build
sh util/make_snap.sh
util\make_snap
util/buildjar.sh -verbose util/man/ijce.manand then, to build the Cryptix provider:
util/buildjar.sh util/man/cryptix.man
By default, JARs are put in dist.o
directory.
These can then be tested with testjar.sh
:
cd src/dist.o ../../util/testjar.sh IJCE.jar ../../util/testjar.sh Cryptix.jar
Note that there are currently no tests within the IJCE
JAR
(it is tested by TestIJCE
within the Cryptix
JAR).
util/dist_binary.sh util/man/binary.manwhich creates all the JARs as instructed in the manifest and packages them into a zip. It doesn't succeed unless all the tests succeed.