wiki:UTGBPortable

Version 4 (modified by leo, 18 years ago) (diff)

--

wiki:Devel/Index

UTGB Portable

  • UTGB Portable (UTGBServer) is a local Tomcat web server launcher

Usage:

 -h,  --help             display help message                                             
 -v,  --verbose          display verbose log messages                                     
 -p,  --port=PORT_NUMBER specify the port number of the local web server (default = 8989) 
 -c,  --path=PATH        context path. default=/utgb                                      
 -w,  --webapp=DIR       webapp directory. default = src/main/webapp                      
 -d,  --workdir=DIR      working directory (tomcat base). default = target/utgb-portable  
 -r,  --resource=DIR     databse resource directory. default = resource                 
[GUI]
 -g,  --gui              launch in GUI mode                                               
[CUI]
 -i,  --cui              launch in CUI mode      
  • UTGBPortable generates context.xml files to specify the resource folder of UTGB

context.xml: $resource$ will be replaced with the file path to the resource folder

<Context>
    <Environment description="absolute path to the resource folder" 
	        name="resource" 
	        type="java.lang.String" 
	        value="$resource$"/>
</Context>

Attachments (1)

Download all attachments as: .zip