This document is aimed at getting new users started as quickly as possible. It contais almost no discussion about why you do something, it just tells you what to do. See other documentation for discussion of why things need to be done this way.

Building

To build forrest2 you must first install:

Run the command cd [FORREST2_HOME]

Run the command ant compile-core

Running from the Command Line

Run the command cd [FORREST2_HOME]
Where [FORREST2_HOME] is the path to your Forrest2 core directory.

ant -Dcontent.object.dir=[CONTENT_DIR] -Dcontent.object.start.uri=[REQUEST_URI] run
Where [CONTENT_DIR] is the directory containing the Forrest2 Content Object you wish to work with and [REQUEST_URI] is the URI you wish to request

There are some example content objects in src/examples for you to try out, for example: ant -Dcontent.object.dir=[FORREST2_HOME]/src/examples/helloWorld -Dcontent.object.start.uri=helloWorld.html run