# This file controls what file are to be put on classpath or command line.
#
# Copied from Jetty and adopted to eXist.
#
# Format is as follows:
# Each line contains entry for one JAR file.
# Format of line:
#
#  <subject> [ <space> <condition> ]*
# 
# 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 add all jar and zip files from. 
#   ends with "/*" is a directory from which add all unconsidered jar and zip files from. 
#   all other subjects are treated as files to be added to the classpath.
# Files starting with "/" are considered absolute, all others are relative to
# the home directory.
#
# <condition> is one of:
# "always"
# "never"
# "available" <space> <classname>
# "!available" <space> <classname>
# "java" <space> <operator> <version>
# "nargs" <space> <operator> <number>
# "mode" <space> <operator> <modename>
# <modename> is one of "client", "standalone", "jetty" or "other"
#  <operator> := one of "<",">","<=",">=","==","!="
#
exist.jar								always
exist-optional.jar						always
exist-modules.jar						always
exist-test.jar							mode == other
examples.jar							always
lib/endorsed/*							always
lib/core/antlr-%latest%.jar						always
lib/core/commons-pool-%latest%.jar			always
lib/core/excalibur-cli-%latest%.jar			mode != jetty
lib/core/log4j-%latest%.jar				always
lib/core/resolver.jar                   always
lib/core/sunxacml.jar                   always
lib/core/xmldb.jar						always
lib/core/xmlrpc-%latest%-patched.jar			always
lib/core/jgroups-all.jar			always
lib/core/javax.servlet.jar				always
lib/core/jEdit-syntax.jar				mode == client
lib/core/jline-%latest%.jar			mode == client
lib/optional/*							mode == other
lib/optional/*							mode == jetty
lib/optional/*							mode == cluster
lib/cocoon/*	  						mode == other
lib/cocoon/*		  					mode == jetty
lib/cocoon/*			  				mode == cluster
lib/*									always
tools/ant/lib/junit.jar						mode == other
tools/ant/lib/xmlunit%latest%.jar				mode == other
tools/ant/lib/xmlunit%latest%.jar				mode == client
tools/ant/lib/xmlunit%latest%.jar				mode == jetty
tools/jetty/lib/*						mode == jetty
tools/jetty/lib/*						mode == cluster
tools/jetty/lib/*						mode == standalone
tools/jetty/lib/*						mode == other
lib/optional/commons-logging-%latest%.jar	mode == standalone
lib/optional/commons-fileupload-%latest%.jar mode == standalone
lib/optional/jug-lgpl-%latest%.jar                              mode == standalone
lib/user/*								always
tools/ircbot/lib/*	mode == jetty
tools/ircbot/dist/ircbot.jar	mode == jetty
