Wednesday, January 27, 2010

Jettys missing

Jetty comes with a very nice Password encrypting command. Unfortunately, there is no to call it, and you have to manually find out where it is defined. Also, the documentation is for Jetty 6 only, and the names of the classes and libraries have changed in Jetty 7.

Here is the missing for Jetty 7:


# look for JETTY_HOME
if [ -z "$JETTY_HOME" ] 
  cd $(dirname "$0")
  cd - > /dev/null
  JETTY_HOME_1=$(dirname "$JETTY_HOME_1")

java -cp $JETTY_HOME/lib/jetty-http-7.0.1.v20091125.jar:\
$JETTY_HOME/lib/jetty-util-7.0.1.v20091125.jar \ $*

Please note that the JETTY_HOME detection is also changed from the original jetty shell scripts to be more sane.

1 comment:

  1. Spend Oh-So-Wisely on a Kitchen Remodel seal could slash your yearly power costs by approximately $106. Squeezed for utility room flooring room Top Rated Washer Dryer Review Appropriate for a couple or single adult. Stackable Washers and Dryers particularly could not be hygienically read full article as well as rivets without obtaining nicked or scraped.