Score
0
Watch 104 Star 440 Fork 134

caoxusheng / 12306-ticketJava

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
基于Java的12306抢票软件,此项目没空维护了,基本功能已经实现,剩下的只是一些小问题。 spread retract

Clone or download
start.bat 1.19 KB
Copy Edit Web IDE Raw Blame History
caoxusheng authored 2019-04-02 20:06 . no commit message
@echo off
rem -------------------------------------------------------------------------
rem
rem 使用说明:
rem
rem 1: 该脚本用于别的项目时只需要修改 MAIN_CLASS 即可运行
rem
rem 2: JAVA_OPTS 可通过 -D 传入 undertow.port 与 undertow.host 这类参数覆盖
rem 配置文件中的相同值此外还有 undertow.resourcePath, undertow.ioThreads
rem undertow.workerThreads 共五个参数可通过 -D 进行传入
rem
rem 3: JAVA_OPTS 可传入标准的 java 命令行参数,例如 -Xms256m -Xmx1024m 这类常用参数
rem
rem
rem -------------------------------------------------------------------------
setlocal & pushd
rem 启动入口类,该脚本文件用于别的项目时要改这里
set MAIN_CLASS=com.easyticket.Application
rem Java 命令行参数,根据需要开启下面的配置,改成自己需要的,注意等号前后不能有空格
rem set "JAVA_OPTS=-Xms256m -Xmx1024m -Dundertow.port=80 -Dundertow.host=0.0.0.0"
rem set "JAVA_OPTS=-Dundertow.port=80 -Dundertow.host=0.0.0.0"
set APP_BASE_PATH=%~dp0
set CP=%APP_BASE_PATH%config;%APP_BASE_PATH%lib\*
java -Xverify:none %JAVA_OPTS% -cp %CP% %MAIN_CLASS%
endlocal & popd
pause

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/caoxusheng/12306-ticket.git
git@gitee.com:caoxusheng/12306-ticket.git
caoxusheng
12306-ticket
12306-ticket
master

Search