Develop and Download Open Source Software

Browse Subversion Repository

Diff of /exewrap-jetty/trunk/src/main/java/org/eclipse/jetty/start/usage.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by hirukawa_ryo, Tue Jul 14 03:11:09 2020 UTC revision 98 by hirukawa_ryo, Wed Oct 21 05:13:50 2020 UTC
# Line 23  Command Line Options: Line 23  Command Line Options:
23    
24    --dry-run        Print the command line that the start.jar generates,    --dry-run        Print the command line that the start.jar generates,
25                     then exit. This may be used to generate command lines                     then exit. This may be used to generate command lines
26                     when the start.ini includes -X or -D arguments.                     when the start.ini includes -X or -D arguments:
27    
28                         java -jar start.jar --dry-run > jetty.sh
29                         . jetty.sh
30    
31      --dry-run=parts  Print specific parts of the command line. The parts
32                       are a comma separated list of
33                         o  "java" - the JVM to run
34                         o  "opts" - the JVM options (eg -D and -X flags)
35                         o  "path" - the JVM class path or JPMS modules options
36                         o  "main" - the main class to run
37                         o  "args" - the arguments passed to the main class
38    
39                       It is possible to decompose the start command:
40    
41                         OPTS=$(java -jar start.jar --dry-run=opts,path)
42                         MAIN=$(java -jar start.jar --dry-run=main)
43                         ARGS=$(java -jar start.jar --dry-run=args)
44                         java $OPTS -Dextra=opt $MAIN $ARGS extra=arg
45    
46                       Alternatively to create an args file for java:
47    
48                         java -jar start.jar --dry-run=opts,path,main,args > /tmp/args
49                         java @/tmp/args
50    
51    --exec           Run the generated command line (see --dry-run) in    --exec           Run the generated command line (see --dry-run) in
52                     a sub process. This can be used when start.ini                     a sub process. This can be used when start.ini
# Line 46  Debug and Start Logging: Line 69  Debug and Start Logging:
69    --debug          Enable debug output of the startup procedure.    --debug          Enable debug output of the startup procedure.
70                     Note: this does not setup debug for Jetty itself.                     Note: this does not setup debug for Jetty itself.
71                     If you want debug for Jetty, configure your logging.                     If you want debug for Jetty, configure your logging.
72                     http://www.eclipse.org/jetty/documentation/                     https://www.eclipse.org/jetty/documentation/
73    
74    --start-log-file=<filename>    --start-log-file=<filename>
75                     A filename, relative to ${jetty.base}, where all startup                     A filename, relative to ${jetty.base}, where all startup
# Line 54  Debug and Start Logging: Line 77  Debug and Start Logging:
77                     issues where the jetty specific logger has not yet kicked                     issues where the jetty specific logger has not yet kicked
78                     in due to startup configuration errors.                     in due to startup configuration errors.
79    
   
80  Module Management:  Module Management:
81  ------------------  ------------------
82    
# Line 156  Advanced Commands: Line 178  Advanced Commands:
178                    The url to use to download Maven dependencies.                    The url to use to download Maven dependencies.
179                    Default is https://repo1.maven.org/maven2/.                    Default is https://repo1.maven.org/maven2/.
180    
   
   
181  Properties:  Properties:
182  -----------  -----------
183    Properties are used to parameterize:    Properties are used to parameterize:
# Line 195  Properties: Line 215  Properties:
215      maven.repo.uri=[url] default https://repo1.maven.org/maven2/.      maven.repo.uri=[url] default https://repo1.maven.org/maven2/.
216        The url to use to download Maven dependencies.        The url to use to download Maven dependencies.
217    
   
218  Service Options:  Service Options:
219  ----------------  ----------------
220    
# Line 219  Service Options: Line 238  Service Options:
238      remove-options:      remove-options:
239        -s                 stop service.        -s                 stop service.
240    
   
241  Defaults:  Defaults:
242  ---------  ---------
243    
# Line 237  Defaults: Line 255  Defaults:
255      5) <jetty-dir>/start.d/*.ini      5) <jetty-dir>/start.d/*.ini
256    
257  For more information on startup, see the online documentation at  For more information on startup, see the online documentation at
258      http://www.eclipse.org/jetty/documentation/      https://www.eclipse.org/jetty/documentation/

Legend:
Removed from v.97  
changed lines
  Added in v.98

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26