|
Jetty example source code file (runTerracottaNode.sh)
The Jetty runTerracottaNode.sh source code#!/bin/sh # This is a bit clunky for now and will only work within a source build of full jetty PORT=8081 [ $# -eq 1 ] && PORT=$1 && shift; cd $(dirname $0)/.. DEMO_HOME=$(pwd) JETTY_HOME=../.. JETTY_VERSION=6.1-SNAPSHOT TC_HOME=/java/terracotta-trunk TC_BOOT_JAR=$TC_HOME/dso-boot-hotspot_linux_150_08.jar TC_CONFIG_PATH="$DEMO_HOME/etc/tc-config.xml" CLASSPATH=\ $JETTY_HOME/lib/servlet-api-2.5-$JETTY_VERSION.jar:\ $JETTY_HOME/lib/jetty-util-$JETTY_VERSION.jar:\ $JETTY_HOME/lib/jetty-$JETTY_VERSION.jar:\ $JETTY_HOME/contrib/cometd/target/classes:\ $DEMO_HOME/target/classes set -x ${JAVA_HOME}/bin/java \ -Dtc.install-root=${TC_HOME} \ -Xbootclasspath/p:$TC_BOOT_JAR \ -Dtc.config=$TC_CONFIG_PATH \ -cp "$CLASSPATH" \ org.mortbay.cometd.demo.Main \ "$PORT" Other Jetty examples (source code examples)Here is a short list of links related to this Jetty runTerracottaNode.sh source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.