Installing the Cactus Sample

Last update : May 2 2001

Home
  • Jakarta Commons


  • About
  • News
  • Features
  • Goals
  • Changes
  • Todo
  • Contributors
  • Contributing
  • License


  • Downloads
  • Downloads


  • User Guides
  • Architecture
  • Installation
  • Installing Ant
  • Installing Sample
  • Configuration
  • Writing Test Case
  • Servlet Sample
  • Ant integration
  • Servlet Engines
  • API Reference


  • Support
  • CVS
  • Bug database
  • Mailing lists
  • FAQ


  • Prerequisites

    You need to install the following prior to building the Cactus Sample application :

    • A JVM (1.2 or above),
    • A Servlet Engine (Servlet API 2.2 or above). The Cactus Sample Ant build script supports automatic running the Cactus unit tests on the following Servle Engines (however, it is easy to support others)
      • Tomcat 3.2
      • Tomcat 4.0
      • WebLogic 5.1
      • Orion Server 1.4
      • Resin 1.2
      • Resin 1.3
    • Ant (see the "Installing Ant" tutorial).
    • Servlet API corresponding to the Cactus Sample release you have downloaded (for Servlet API 2.2 or 2.3). Download the API :
      You can put these libraries whereever you want on your hard disk. You'll just have to specify the location where they are in the build.properties file, as described below.

    Installing the Cactus Sample

    Follow these steps :

    • Download the Cactus Sample and unzip it in a directory. Let's call this directory sampleroot.
    • Rename (or copy) the sampleroot /build/build.properties.sample file to build.properties. This file defines the dependencies between the Cactus Sample build process and your environment (location of external jars, home directory for installed servlet engine(s), ...). Edit this file to reflect your environment values.
    • In your shell, cd to the sampleroot /build directory and type 'ant usage' to get the list of callable targets.



    Copyright © 2000-2001 The Apache Software Foundation. All Rights Reserved.