freebsd-ports/www/jetty/pkg-message
Greg Lewis 5fbeb94360 . Update to 4.2.11
. Change USE_JAVA to 1.2+, which should work according to the Jetty docs.
. Set permissions on the main executable shell script appropriately and
  create a symbolic link to it in ${PREFIX}/sbin so its in ${PATH}.
. Recommend JDK 1.4.1 rather than 1.3.1 for running Jetty.
2003-07-20 01:35:19 +00:00

31 lines
760 B
Text

- The environment variable JETTY_HOME should be set to the
installation directory. Typically :
For shells like bash:
JETTY_HOME=%%PREFIX%%/share/java/jetty-%%PORTVERSION%%
export JETTY_HOME
For shells like (t)csh:
setenv JETTY_HOME %%PREFIX%%/share/java/jetty-%%PORTVERSION%%
- The environment variable JAVA_HOME should be set to the
Java installation directory. For instance :
For shells like bash:
JAVA_HOME=%%PREFIX%%/jdk1.4.1
export JAVA_HOME
For shells like (t)csh:
setenv JAVA_HOME %%PREFIX%%/jdk1.4.1
- Running the Demo :
$JETTY_HOME/bin/jetty.sh demo
Use a browser to access the Jetty demo site at :
http://hostname:8080
or
http://localhost:8080 (if the browser is running
on the same machine)