
		====================
		How to compile JOnAS
		====================


This is the content of the "How to compile JOnAS" Guide which is also available
in the JOnAS documentation at http://www.objectweb.org/jonas/doc.


1) Recompiling JOnAS from sources Using Ant
-----------------------------------------------

   1. Download Ant1.5  from http://jakarta.apache.org/ant/. 
	You will find the build.xml file used for building JOnAS in
	objectweb/jonas directory.

   2. Set the following environment variables with the correct value: 
	JONAS_ROOT (mandatory)
	TOMCAT_HOME (tomcat 3.x) or CATALINA_HOME (tomcat 4.x)

   3. build.properties file may be customized to set the correct path to jdbc driver
      (this is used for generating the correct config_env script).
      you may also define here values for JONAS_ROOT and OBJECTWEB_ORB.

   4. Run in this directory :
	ant install

The result of the build will be equivalent to a binary distribution and will
be installed under JONAS_ROOT. 

2) Running JOnAS
----------------

To use JOnAS, you must set OBJECTWEB_ORB to one of these values :
RMI        (standard Sun Orb)
JEREMIE    (RMI like Jonathan Orb)
DAVID      (RMI/IIOP Jonathan Orb - not fully tested)
