| README or Readme Src or Readme Bin Frequently Asked Questions API index Documentation Java Cryptography Extension Specification Utility scripts Copyright and License | Distribution Cryptix Security Provider International JCE JavaSoft documentation | Cryptix Development Team

Cryptix TM Compilation

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:

- This will compile the source into the `build/classes` directory:

  - Under Unix, enter

                sh util/build.sh

  - Under NT or Windows 95 (from a command prompt), enter

                util\build

- This will create a binary snapshot in the `build/snap` directory:

  - Under Unix, enter

                sh util/make_snap.sh

  - Under NT or Windows 95 (from a command prompt), enter

                util\make_snap

  Note that these run `util/build` as above.

- The scripts that are used to create a binary distribution are provided. To build the IJCE into a JAR (Unix only):

          util/buildjar.sh -verbose util/man/ijce.man

  and 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).

- To build a full binary distribution, this command is used:

          util/dist_binary.sh util/man/binary.man

  which creates all the JARs as instructed in the manifest and packages them into a zip. It doesn't succeed unless all the tests succeed.

Copyright © 1997 - 1999 Systemics Ltd
on behalf of the Cryptix Development Team.
All rights reserved.
Cryptix is a trademark of Systemics Ltd.