Welcome to the CryptoMail java client source.

makems.bat
make.bat

Now, read!

I compile on windows with both the SUN and MS jdk's.  I use SUN's jdk1.3.1_10 for compliation and MS's jvc.  Ultimately SUN's jdk1.3.1_10 is used because of the need for backwards compatibility.  Going forward will not allow CryptoMail to compile.  It's a message from SUN I have to get my act together and support the new event model, which I should.  However, since there is a mapping from the old event model, I'm not really forced to do so.

Is this good?  No.  Guilty as charged.
Java GURU? Want to help?  Please!

Admittedly, this is a big spill in aisle 4, but I still sleep at night knowing things simply still work.

Unix java compiles are not done now.
Really, all java compilations are not that hard.  Because (in theory) the compiler is supposed to traverse all dependencies, all you have to do is point the compiler to the main root files.

They are the following:

1)  CryptoMailApp.java
2)  NewCryptoMailAccountApplet.java
3)  *Strategy.java files ( For Applet privs/security )

If you can get these files to compile, chances are all dependent files will have followed.


Again,
################################################################
##########Currently, I don't build JAVA On Unix machines :_(.###
################################################################
This is because I need a toolset that can create CAB files for Internet Explorer.  Right now, you had better get a Microsoft machine and get a hold of the MS programs "cabarc" and "signcode" and the like.  Also, when compiling for explorer, not only do I create CAB files, but I also use the MS Java SDK.  However, I use the SUN JDK to create JARS. 

The best way to view the organization of the project is to load up the dsp/dsw with MSDEV5.0+. I don't even compile with dev studio.  I would just use the scripts (bat files) provided.
You should use the following scripts:

For MS/CAB builds:
makems.bat
msmakenewcm.bat
msmakecm.bat

For SUN/Netscape JAR builds:
make.bat
makenewcryptomail.bat
makecryptomail.bat

The build tactic for these scripts is to:
1)  compile the tinyxml module
2)  copy over from the "build section of the tinyxml module", into the tinyxml shell
3)  compile the root file
4)  JAR/CAB the classes and images up
5)  sign the JAR/CAB

--josh

joshuat@cryptomail.org
