diff options
author | Greg Wilkins | 2009-05-26 23:58:18 +0000 |
---|---|---|
committer | Greg Wilkins | 2009-05-26 23:58:18 +0000 |
commit | aa5d47a35f9cc2d0e0914a1292c46c02fb25c799 (patch) | |
tree | 4df0ac59bd0f974b3d809ebdf861e8632f0bb3f5 /jetty-start/src/main/resources/org/eclipse/jetty/start/start.config | |
parent | 66e52af83799367f0400443cfe48f5b8d8ac0c2d (diff) | |
download | org.eclipse.jetty.project-aa5d47a35f9cc2d0e0914a1292c46c02fb25c799.tar.gz org.eclipse.jetty.project-aa5d47a35f9cc2d0e0914a1292c46c02fb25c799.tar.xz org.eclipse.jetty.project-aa5d47a35f9cc2d0e0914a1292c46c02fb25c799.zip |
moved distribution and start back to jetty-*
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@293 7e9141cc-0065-0410-87d8-b60c137991c4
Diffstat (limited to 'jetty-start/src/main/resources/org/eclipse/jetty/start/start.config')
-rw-r--r-- | jetty-start/src/main/resources/org/eclipse/jetty/start/start.config | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/jetty-start/src/main/resources/org/eclipse/jetty/start/start.config b/jetty-start/src/main/resources/org/eclipse/jetty/start/start.config new file mode 100644 index 0000000000..d78e330a82 --- /dev/null +++ b/jetty-start/src/main/resources/org/eclipse/jetty/start/start.config @@ -0,0 +1,150 @@ +# This file controls what file are to be put on classpath or command line. +# +# Format is as follows: +# +# Each line contains entry in the format: +# +# SUBJECT [ [!] CONDITION [AND|OR] ]* +# +# where SUBJECT: +# ends with ".class" is the Main class to run. +# ends with ".xml" is a configuration file for the command line +# ends with "/" is a directory from which to add all jar and zip files. +# ends with "/*" is a directory from which to add all unconsidered jar and zip files. +# ends with "/**" is a directory from which to recursively add all unconsidered jar and zip files. +# Containing = are used to assign system properties. +# Containing ~= are used to assign start properties. +# all other subjects are treated as files to be added to the classpath. +# +# ${name} is expanded to a start property +# $(name) is expanded to either a start property or a system property. +# The start property ${version} is defined as the version of the start.jar +# +# Files starting with "/" are considered absolute, all others are relative to +# the home directory. +# +# CONDITION is one of: +# always +# never +# available classname # true if class on classpath +# property name # true if set as start property +# system name # true if set as system property +# exists file # true if file/dir exists +# java OPERATOR version # java version compared to literal +# nargs OPERATOR number # number of command line args compared to literal +# OPERATOR := one of "<",">","<=",">=","==","!=" +# +# CONTITIONS can be combined with AND OR or !, with AND being the assume +# operator for a list of CONDITIONS. +# +# Classpath operations are evaluated on the fly, so once a class or jar is +# added to the classpath, subsequent available conditions will see that class. +# +# The configuration file may be divided into sections with option names like: +# [ssl,default] +# +# Clauses after a section header will only be included if they match one of the tags in the +# options property. By default options are set to "default,*" or the OPTIONS property may +# be used to pass in a list of tags, eg. : +# +# java -jar start.jar OPTIONS=jetty,jsp,ssl +# +# The tag '*' is always appended to the options, so any section with the * tag is always +# applied. +# + +# add a property defined classpath +${path}.path property path + +# add a property defined library directory +${lib}/** exists ${jetty.lib} + +# Try different settings of jetty.home until the jetty.jar is found. +jetty.home=. ! exists $(jetty.home)/start.jar +jetty.home=.. ! exists $(jetty.home)/start.jar +jetty.home=jetty-distribution/src/main/resources ! exists $(jetty.home)/start.jar +jetty.home=../jetty-distribution/src/main/resources ! exists $(jetty.home)/start.jar +jetty.home=. ! exists $(jetty.home)/start.jar + +# The main class to run +org.eclipse.jetty.xml.XmlConfiguration.class +${start.class}.class property start.class + +# The default configuration files +$(jetty.home)/etc/jetty.xml nargs == 0 +./jetty-server/src/main/config/etc/jetty.xml nargs == 0 AND ! exists $(jetty.home)/etc/jetty.xml + + + +# Add a ext lib directory if it is there +[All,ext,default] +$(jetty.home)/lib/ext/** + +# Add a resources directory if it is there +[All,resources,default] +$(jetty.home)/resources/ + +# Add jetty modules +[*] +$(jetty.home)/lib/jetty-util-$(version).jar ! available org.eclipse.jetty.util.StringUtil +$(jetty.home)/lib/jetty-io-$(version).jar ! available org.eclipse.jetty.io.Buffer + +[Server,All,xml,default] +$(jetty.home)/lib/jetty-xml-$(version).jar ! available org.eclipse.jetty.xml.XmlParser + +[Server,All,server,default] +$(jetty.home)/lib/servlet-api-2.5.jar ! available javax.servlet.ServletContext +$(jetty.home)/lib/jetty-http-$(version).jar ! available org.eclipse.jetty.http.HttpParser +$(jetty.home)/lib/jetty-continuation-$(version).jar ! available org.eclipse.jetty.continuation.Continuation +$(jetty.home)/lib/jetty-server-$(version).jar ! available org.eclipse.jetty.server.Server + +[Server,All,security,default] +$(jetty.home)/lib/jetty-security-$(version).jar ! available org.eclipse.jetty.security.LoginService + +[Server,All,servlet,default] +$(jetty.home)/lib/servlet-api-2.5.jar ! available javax.servlet.ServletContext +$(jetty.home)/lib/jetty-servlet-$(version).jar ! available org.eclipse.jetty.servlet.ServletHandler + +[Server,All,webapp,default] +$(jetty.home)/lib/jetty-webapp-$(version).jar ! available org.eclipse.jetty.webapp.WebAppContext + +[Server,All,deploy,default] +$(jetty.home)/lib/jetty-deploy-$(version).jar ! available org.eclipse.jetty.deploy.ContextDeployer + +[Server,All,servlets,default] +$(jetty.home)/lib/jetty-servlets-$(version).jar ! available org.eclipse.jetty.servlets.WelcomeFilter + +[All,rewrite] +$(jetty.home)/lib/jetty-rewrite-$(version).jar ! available org.eclipse.jetty.rewrite.handler.RewriteHandler + +[All,jmx] +$(jetty.home)/lib/jetty-jmx-$(version).jar ! available org.eclipse.jetty.jmx.MBeanContainer + +[All,ajp] +$(jetty.home)/lib/jetty-ajp-$(version).jar ! available org.eclipse.jetty.ajp.Ajp13Connection + +[All,slf4j] +$(jetty.home)/lib/slf4j/** exists $(jetty.home)/lib/slf4j + +[All,jsp,jsp-2.1] +$(jetty.home)/lib/jsp-2.1/** exists $(jetty.home)/lib/jsp-2.1 + +[All,plus] +$(jetty.home)/lib/jetty-jndi-${version}.jar ! available org.eclipse.jetty.jndi.ContextFactory +$(jetty.home)/lib/jetty-jndi/** exists $(jetty.home)/lib/jetty-jndi +$(jetty.home)/lib/jetty-plus-${version}.jar ! available org.eclipse.jetty.plus.jndi.NamingEntry + +[All,annotations] +$(jetty.home)/lib/jetty-annotations-$(version).jar ! available org.eclipse.jetty.annotations.AnnotationFinder +$(jetty.home)/lib/jetty-annotations/** exists $(jetty.home)/lib/jetty-annotations + +[All,client] +$(jetty.home)/lib/jetty-http-$(version).jar ! available org.eclipse.jetty.http.HttpParser +$(jetty.home)/lib/jetty-client-$(version).jar ! available org.eclipse.jetty.client.HttpClient + +[All,policy] +$(jetty.home)/resources/jetty.policy always +# file://start.jar!org.eclipse.jetty.start.policy type reference to get core policy from inside start.jar? + + + |