Compiling the Examples
======================

A GNU make version 1.79.1 or later is required in order to build the examples.
GNU make is available from:

http://www.gnu.org

It can be ftped via:

ftp://ftp.gnu.org/gnu/make

A version of GNU make for Windows can be found at:

http://www.nextgeneration.dk/gnu/index.shtml

Make sure, the gnu-make-executable and java is included in your PATH variable.
Switch to the subdirectory containing the example you wish to compile and
type make. On successful compilation, the command necessary to run the example
will be printed out.

NOTE : If you don't want to use GNU make, you can compile by hand using
javac. Simply make sure, that all jar files, that can be found in the
classes directory of this development kit are within your CLASSPATH.

Deploying the Example Beans in an IDE
=====================================

In order to deploy the example Beans within an Integrated Development
Environment (IDE) you need to build a jar file containing the example
bean. To do this you need to run make differently:

> make BeanJar

This will build a writer.jar file in the <PLATFORM>example.out/class output
directory which can be used to deploy the bean in an IDE.

Using the OfficeWriter Bean in the Bean Development Kit

	* Copy the writer.jar file into the 'jars' directory of the BDK.
	* Start the bean box.
		You should see entries for 'Office Bean' and 'Office Writer Bean' in the
		list of available beans.
	* Drag the 'Office Writer Bean' into the BeanBox window - you should see
		a place holder where the bean will appear in your application

Using it in a Java IDE

We have tested the example Beans in Forte for Java without any problems.
Please refer to the documentation of your IDE how to integrate beans.

NOTE: You will also need to add the .jar files in the classes directory
of the ODK to your classpath for the examples to work in an IDE.
