-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.TXT
68 lines (41 loc) · 1.6 KB
/
README.TXT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
JETTY
=====
The Jetty project is a 100% Java HTTP Server, HTTP Client
and Servlet Container from the eclipse foundation
http://www.eclipse.org/jetty/
Jetty is open source and is dual licensed using the Apache 2.0 and
Eclipse Public License 1.0. You may choose either license when
distributing Jetty.
RUNNING JETTY
=============
The run directory is either the top-level of a binary release
or jetty-distribution/target/distribution directory when built from
source.
To run with the default options:
$ cd demo-base
$ java -jar ../start.jar
To see the available options and the default arguments
provided by the start.ini file:
$ java -jar /path/to/start.jar --help
Many Jetty features can be enabled by using the --module command
For example:
$ cd mybase
$ java -jar /path/to/start.jar --module=https,deploy
Will enable the https and deploy modules (and their transitive
dependencies) temporarily for this specific run of Jetty.
To see what modules are available
$ java -jar /path/to/start.jar --list-modules
JETTY BASE
==========
The jetty.base property is a property that can be defined on the
command line (defaults to what your java 'user.dir' property points to)
Jetty's start.jar mechanism will configure your jetty instance from
the configuration present in this jetty.base directory.
Example setup:
# Create the base directory
$ mkdir mybase
$ cd mybase
# Initialize the base directory's start.ini and needed directories
$ java -jar /path/to/jetty-dist/start.jar --add-to-start=http,deploy
# Run this base directory configuration
$ java -jar /path/to/jetty-dist/start.jar