update other jetty mods to new format

This commit is contained in:
Jesse McConnell 2013-08-29 16:39:28 -05:00
parent 6e3094e1b0
commit ac30f5c9bd
35 changed files with 223 additions and 139 deletions

View File

@ -2,13 +2,16 @@
# Jetty Annotation Scanning Module
#
[depend]
# Annotations needs plus, and jndi features
DEPEND=plus
plus
[lib]
# Annotations needs jetty annotation jars
LIB=lib/jetty-annotations-${jetty.version}.jar
lib/jetty-annotations-${jetty.version}.jar
# Need annotation processing jars too
LIB=lib/annotations/*.jar
lib/annotations/*.jar
[xml]
# Enable annotation scanning webapp configurations
etc/jetty-annotations.xml

View File

@ -2,5 +2,6 @@
# Client Feature
#
[lib]
# Client jars
LIB=lib/jetty-client-${jetty.version}.jar
lib/jetty-client-${jetty.version}.jar

View File

@ -2,10 +2,13 @@
# Deploy Feature
#
DEPEND=webapp
[depend]
webapp
[lib]
# Deploy jars
LIB=lib/jetty-deploy-${jetty.version}.jar
lib/jetty-deploy-${jetty.version}.jar
[xml]
# Deploy configuration
etc/jetty-deploy.xml

View File

@ -1,9 +1,14 @@
DEPEND=server
LIB=jetty-setuid-java-1.0.1.jar
[depend]
server
[lib]
jetty-setuid-java-1.0.1.jar
[xml]
etc/jetty-setuid.xml
INI=# jetty.startServerAsPrivileged=false
INI=# jetty.username=jetty
INI=# jetty.groupname=jetty
INI=# jetty.umask=002
[ini]
# jetty.startServerAsPrivileged=false
# jetty.username=jetty
# jetty.groupname=jetty
# jetty.umask=002

View File

@ -2,12 +2,16 @@
# JAAS Feature
#
DEPEND=server
[depend]
server
[lib]
# JAAS jars
LIB=lib/jetty-jaas-${jetty.version}.jar
lib/jetty-jaas-${jetty.version}.jar
[xml]
# JAAS configuration
etc/jetty-jaas.xml
INI=jaas.login.conf=etc/login.conf
[ini]
jaas.login.conf=etc/login.conf

View File

@ -2,12 +2,15 @@
# JMX Feature
#
[lib]
# JMX jars (as defined in start.config)
LIB=lib/jetty-jmx-${jetty.version}.jar
lib/jetty-jmx-${jetty.version}.jar
[xml]
# JMX configuration
etc/jetty-jmx.xml
INI=# jetty.jmxrmihost=localhost
INI=# jetty.jmxrmiport=1099
INI=# -Dcom.sun.management.jmxremote
[ini]
# jetty.jmxrmihost=localhost
# jetty.jmxrmiport=1099
# -Dcom.sun.management.jmxremote

View File

@ -2,8 +2,10 @@
# JNDI Support
#
DEPEND=server
[depend]
server
LIB=lib/jetty-jndi-${jetty.version}.jar
LIB=lib/jndi/*.jar
[lib]
lib/jetty-jndi-${jetty.version}.jar
lib/jndi/*.jar

View File

@ -2,7 +2,9 @@
# Jetty Servlet Module
#
DEPEND=servlet
[depend]
servlet
LIB=lib/jsp/*.jar
[lib]
lib/jsp/*.jar

View File

@ -2,9 +2,12 @@
# Jetty Monitor module
#
DEPEND=server
DEPEND=client
[depend]
server
client
LIB=lib/jetty-monitor-${jetty.version}.jar
[lib]
lib/jetty-monitor-${jetty.version}.jar
[xml]
etc/jetty-monitor.xml

View File

@ -2,6 +2,8 @@
# Jetty Nosql module
#
DEPEND=webapp
[depend]
webapp
LIB=lib/jetty-nosql-${jetty.version}.jar
[lib]
lib/jetty-nosql-${jetty.version}.jar

View File

@ -2,9 +2,12 @@
# Jetty Overlay module
#
DEPEND=deploy
[depend]
deploy
LIB=lib/jetty-overlay-deployer-${jetty.version}.jar
[lib]
lib/jetty-overlay-deployer-${jetty.version}.jar
[xml]
# Plus requires configuration
etc/jetty-overlay.xml

View File

@ -2,11 +2,14 @@
# Jetty Proxy module
#
DEPEND=server
DEPEND=security
DEPEND=jndi
[depend]
server
security
jndi
LIB=lib/jetty-plus-${jetty.version}.jar
[lib]
lib/jetty-plus-${jetty.version}.jar
[xml]
# Plus requires configuration
etc/jetty-plus.xml

View File

@ -2,10 +2,13 @@
# Jetty Proxy module
#
DEPEND=server
DEPEND=client
[depend]
server
client
LIB=lib/jetty-proxy-${jetty.version}.jar
[lib]
lib/jetty-proxy-${jetty.version}.jar
[xml]
# Proxy requires configuration
etc/jetty-proxy.xml

View File

@ -2,9 +2,12 @@
# Jetty Rewrite module
#
DEPEND=server
[depend]
server
LIB=lib/jetty-rewrite-${jetty.version}.jar
[lib]
lib/jetty-rewrite-${jetty.version}.jar
[xml]
# Annotations needs annotations configuration
etc/jetty-rewrite.xml

View File

@ -2,6 +2,8 @@
# Jetty Security Module
#
DEPEND=server
[depend]
server
LIB=lib/jetty-security-${jetty.version}.jar
[lib]
lib/jetty-security-${jetty.version}.jar

View File

@ -2,6 +2,8 @@
# Debug module
#
DEPEND=server
[depend]
server
[xml]
etc/jetty-debug.xml

View File

@ -1,2 +1,2 @@
LIB=lib/ext/*
[lib]
lib/ext/*

View File

@ -2,9 +2,12 @@
# Jetty HTTP Connector
#
DEPEND=server
[depend]
server
[xml]
etc/jetty-http.xml
INI=jetty.port=8080
INI=http.timeout=30000
[ini]
jetty.port=8080
http.timeout=30000

View File

@ -2,9 +2,12 @@
# Jetty HTTPS Connector
#
DEPEND=ssl
[depend]
ssl
[xml]
etc/jetty-https.xml
INI=https.port=8443
INI=https.timeout=30000
[ini]
https.port=8443
https.timeout=30000

View File

@ -2,6 +2,8 @@
# IPAccess module
#
DEPEND=server
[depend]
server
[xml]
etc/jetty-ipaccess.xml

View File

@ -1,24 +1,24 @@
INI=#===========================================================
INI=# Configure JVM arguments.
INI=# If JVM args are include in an ini file then --exec is needed
INI=# to start a new JVM from start.jar with the extra args.
INI=# If you wish to avoid an extra JVM running, place JVM args
INI=# on the normal command line and do not use --exec
INI=#-----------------------------------------------------------
INI=# --exec
INI=# -Xmx2000m
INI=# -Xmn512m
INI=# -XX:+UseConcMarkSweepGC
INI=# -XX:ParallelCMSThreads=2
INI=# -XX:+CMSClassUnloadingEnabled
INI=# -XX:+UseCMSCompactAtFullCollection
INI=# -XX:CMSInitiatingOccupancyFraction=80
INI=# -verbose:gc
INI=# -XX:+PrintGCDateStamps
INI=# -XX:+PrintGCTimeStamps
INI=# -XX:+PrintGCDetails
INI=# -XX:+PrintTenuringDistribution
INI=# -XX:+PrintCommandLineFlags
INI=# -XX:+DisableExplicitGC
INI=# -Dorg.apache.jasper.compiler.disablejsr199=true
[ini]
#===========================================================
# Configure JVM arguments.
# If JVM args are include in an ini file then --exec is needed
# to start a new JVM from start.jar with the extra args.
# If you wish to avoid an extra JVM running, place JVM args
# on the normal command line and do not use --exec
#-----------------------------------------------------------
# --exec
# -Xmx2000m
# -Xmn512m
# -XX:+UseConcMarkSweepGC
# -XX:ParallelCMSThreads=2
# -XX:+CMSClassUnloadingEnabled
# -XX:+UseCMSCompactAtFullCollection
# -XX:CMSInitiatingOccupancyFraction=80
# -verbose:gc
# -XX:+PrintGCDateStamps
# -XX:+PrintGCTimeStamps
# -XX:+PrintGCDetails
# -XX:+PrintTenuringDistribution
# -XX:+PrintCommandLineFlags
# -XX:+DisableExplicitGC
# -Dorg.apache.jasper.compiler.disablejsr199=true

View File

@ -2,13 +2,16 @@
# Low Resources module
#
DEPEND=server
[depend]
server
[xml]
etc/jetty-lowresources.xml
INI=# lowresources.period=1050
INI=# lowresources.lowResourcesIdleTimeout=200
INI=# lowresources.monitorThreads=true
INI=# lowresources.maxConnections=0
INI=# lowresources.maxMemory=0
INI=# lowresources.maxLowResourcesTime=5000
[ini]
# lowresources.period=1050
# lowresources.lowResourcesIdleTimeout=200
# lowresources.monitorThreads=true
# lowresources.maxConnections=0
# lowresources.maxMemory=0
# lowresources.maxLowResourcesTime=5000

View File

@ -2,10 +2,13 @@
# Request Log module
#
DEPEND=server
[depend]
server
[xml]
etc/jetty-requestlog.xml
INI=# requestlog.retain=90
INI=# requestlog.append=true
INI=# requestlog.extended=true
[ini]
# requestlog.retain=90
# requestlog.append=true
# requestlog.extended=true

View File

@ -1,2 +1,2 @@
LIB=resources
[lib]
resources

View File

@ -2,29 +2,32 @@
# Base server
#
OPTIONAL=jvm
OPTIONAL=jmx
OPTIONAL=ext
OPTIONAL=resources
LIB=lib/servlet-api-3.1.jar
LIB=lib/jetty-schemas-3.1.jar
LIB=lib/jetty-http-${jetty.version}.jar
LIB=lib/jetty-continuation-${jetty.version}.jar
LIB=lib/jetty-server-${jetty.version}.jar
LIB=lib/jetty-xml-${jetty.version}.jar
LIB=lib/jetty-util-${jetty.version}.jar
LIB=lib/jetty-io-${jetty.version}.jar
[optional]
jvm
jmx
ext
resources
[lib]
lib/servlet-api-3.1.jar
lib/jetty-schemas-3.1.jar
lib/jetty-http-${jetty.version}.jar
lib/jetty-continuation-${jetty.version}.jar
lib/jetty-server-${jetty.version}.jar
lib/jetty-xml-${jetty.version}.jar
lib/jetty-util-${jetty.version}.jar
lib/jetty-io-${jetty.version}.jar
[xml]
# Annotations needs annotations configuration
etc/jetty.xml
INI=threads.min=10
INI=threads.max=200
INI=threads.timeout=60000
INI=#jetty.host=myhost.com
INI=jetty.dump.start=false
INI=jetty.dump.stop=false
[ini]
threads.min=10
threads.max=200
threads.timeout=60000
#jetty.host=myhost.com
jetty.dump.start=false
jetty.dump.stop=false

View File

@ -1,13 +1,19 @@
# SSL Keystore module
DEPEND=server
etc/jetty-ssl.xml
DOWNLOAD=http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/main/config/etc/keystore:etc/keystore
[depend]
server
INI=jetty.keystore=etc/keystore
INI=jetty.keystore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
INI=jetty.keymanager.password=OBF:1u2u1wml1z7s1z7a1wnl1u2g
INI=jetty.truststore=etc/keystore
INI=jetty.truststore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
INI=jetty.secure.port=8443
[xml]
etc/jetty-ssl.xml
[download]
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/main/config/etc/keystore:etc/keystore
[ini]
jetty.keystore=etc/keystore
jetty.keystore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
jetty.keymanager.password=OBF:1u2u1wml1z7s1z7a1wnl1u2g
jetty.truststore=etc/keystore
jetty.truststore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
jetty.secure.port=8443

View File

@ -2,6 +2,8 @@
# Stats module
#
DEPEND=server
[depend]
server
[xml]
etc/jetty-stats.xml

View File

@ -2,6 +2,8 @@
# Stats module
#
DEPEND=server
[depend]
server
[xml]
etc/jetty-xinetd.xml

View File

@ -2,6 +2,8 @@
# Jetty Servlet Module
#
DEPEND=server
[depend]
server
LIB=lib/jetty-servlet-${jetty.version}.jar
[lib]
lib/jetty-servlet-${jetty.version}.jar

View File

@ -2,6 +2,8 @@
# Jetty Servlets Module
#
DEPEND=servlet
[depend]
servlet
LIB=lib/jetty-servlets-${jetty.version}.jar
[lib]
lib/jetty-servlets-${jetty.version}.jar

View File

@ -1,5 +1,7 @@
DOWNLOAD=http://repo1.maven.org/maven2/org/mortbay/jetty/npn/npn-boot/1.1.5.v20130313/npn-boot-1.1.5.v20130313.jar:lib/npn/npn-boot-1.1.5.v20130313.jar
[download]
http://repo1.maven.org/maven2/org/mortbay/jetty/npn/npn-boot/1.1.5.v20130313/npn-boot-1.1.5.v20130313.jar:lib/npn/npn-boot-1.1.5.v20130313.jar
INI=-Xbootclasspath/p:lib/npn/npn-boot-1.1.5.v20130313.jar
INI=--exec
[ini]
-Xbootclasspath/p:lib/npn/npn-boot-1.1.5.v20130313.jar
--exec

View File

@ -1,12 +1,15 @@
[depend]
ssl
npn
DEPEND=ssl
DEPEND=npn
LIB=lib/spdy/*.jar
[lib]
lib/spdy/*.jar
[xml]
etc/jetty-ssl.xml
etc/jetty-spdy.xml
INI=spdy.port=8443
INI=spdy.timeout=30000
INI=#spdy.initialWindowSize=65536
[ini]
spdy.port=8443
spdy.timeout=30000
#spdy.initialWindowSize=65536

View File

@ -274,7 +274,6 @@ public class Module // extends TextFile
}
else
{
System.out.println("Processing: " + line);
// blank lines and comments are valid for initialize section
if (line.length() == 0 || line.startsWith("#"))
{

View File

@ -2,6 +2,8 @@
# Base server
#
DEPEND=servlet
[depend]
servlet
LIB=lib/jetty-webapp-${jetty.version}.jar
[lib]
lib/jetty-webapp-${jetty.version}.jar

View File

@ -2,13 +2,16 @@
# WebSocket Feature
#
[depend]
# WebSocket needs Annotations feature
DEPEND=server
DEPEND=annotations
server
annotations
[lib]
# WebSocket needs websocket jars (as defined in start.config)
LIB=lib/websocket/*.jar
lib/websocket/*.jar
[xml]
# WebSocket needs websocket configuration
etc/jetty-websockets.xml