ignore

Getting Started

Building From Source

In order to build from source, you will need ANT installed.

Once ANT is installed, to build from source, simply download the latest source distribution, unzip this onto your local machine. Then set your command prompt at the root directory of the distribution folder and run ant. This will create a Strecks JAR file in the project's dist directory.

Running The Samples

The Strecks source distribution currently contains two sample applications:

In order to run the samples:

1. Build from source as described above.

2. Run ant copy.lib (you can do this step manually by copying the Strecks JAR file from the project's dist directory to the directory lib/runtime).

3. Set your command prompt in the root directory of the folder containing the sample you want to build. For example, to build the actiontest samples, simply move your command prompt to the project folder samples/actiontest.

4. Then run ant, which will build a WAR file and place it in the sample directory's dist folder. If using Tomcat, you can copy this file into Tomcat's webapps directory.

The holiday booking sample will by default build the Strecks version of the app. To change to the plain Struts version, you will need to comment out the init-param element for the Struts ActionServlet entry in the application's WEB-INF/web.xml file.

Using Strecks in an existing Struts Application

If you already have an application which uses Struts, and you would like to use Strecks, just follow these instructions.

SourceForge.net logo java.net Member logo Copyright © 2005-2007 Realsolve Solutions