How To Install and Use Donkey in Production

Install

  1. Download donkey.tar.gz from Hudson build or build it yourself with Ant
  2. Extract donkey.tar.gz to your applications directory (e.g. /opt or C:\Program Files)
  3. Add to PATH: PATH = PATH + /opt/donkey or C:\Program Files\donkey)
  4. If you want your classes to be automatically injected by the Boost Spider, add an entry in the config/injector.properties file containing your package name and your interface implementation pattern. See the file for details.
    Without this entry, the Boost Spider will not inject your classes for you.

 

Use in Script

To use Donkey with your code in production you can create a script that does the following:

Example Unix Script

#!/bin/sh

cd `dirname $0`
export CLASSPATH=tsi.jar:lib/oracle/ojdbc14.jar
donkey.sh org.ridethedonkey.demo.RideSpecification