How to Build the Enhydra Source Distribution
Things You Will Need
- Cygnus Windows Tools
available from http://www.enhydra.org
You only need this if you are building on a Windows platform.
On Windows, this must be installed on the 'C:' or system drive.
- JDK version 1.1 or higher, 1.2 recommended
available from http://java.sun.com
On Windows, this can be installed on any drive.
For drives other than the 'C:' or system drive, specify the drive letter
in the Cygnus style '//X/' in the setting of JDKDIR.
For example, 'JDKDIR=//D/jdk1.2'.
- JavaCC version 0.7.1 or higher, 0.8.2 recommended
available from http://www.sun.com/suntest/products/JavaCC/
On Windows, this must be installed on the 'C:' or system drive.
- Swing (JFC) version 1.1 or higher, 1.1 recommended
available from http://java.sun.com
You only need this if you are using a 1.1.x JDK.
On Windows, this must be installed on the 'C:' or system drive.
- WAI version 3.61 or higher, 3.61 recommended
available from http://www.netscape.com
You only need this if you watn to use the WAI connection method to connect
to the MultiServer from a Netscape Enterprise Server.
On Windows, this must be installed on the 'C:' or system drive.
What to Do
- Read through the config.mk file.
- Edit config.mk (or create config.local.mk if you are working with others
on the same tree) to override any variables necessary, such as JDKDIR or
JAVACCDIR.
- Type 'make' from the top of the Enhydra tree.
Even better, type 'make 2>&1 |tee make.out' to save the output of the build
into the file 'make.out' so you can look for any build problems later.
If you didn't see any warnings at the end of the build process saying that
something was missing, your build probably worked. If you see errors during
the build or get a warning at the end, check that you have correctly set the
necessary variables in config.mk or config.local.mk.
- Try it out.
'cd output' and 'bin/multiserver multiserver.conf'
- Build the demos in '../DemoApp' and '../GolfShop' using a similar method.