脚本说明

This commit is contained in:
jinyu 2016-05-22 10:50:04 +08:00
parent 371b226a9b
commit 816a4ec0ef
3 changed files with 22 additions and 21 deletions

View File

@ -1,4 +1,4 @@
<!-- zip可执行包 --> <!-- maven-assembly-plugin:zip可执行包 -->
<assembly <assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Ant远程部署脚本 -->
<project name="weixin4j-server" default="deploy" basedir="."> <project name="weixin4j-server" default="deploy" basedir=".">
<property name="app.dir" value="./target" /> <property name="app.dir" value="./target" />
<property name="zip.name" value="zip包名称,如:weixin4j-server-bin.zip" /> <property name="zip.name" value="zip包名称,如:weixin4j-server-bin.zip" />

View File

@ -1,8 +1,8 @@
# Jar执行脚本 # Jar包服务执行脚本
ulimit -n 110000 ulimit -n 110000
#Jdk home #Jdk home
JAVA_HOME="/usr/local/java" JAVA_HOME="/path/to/java"
#Executing user #Executing user
RUNNING_USER=root RUNNING_USER=root
@ -11,7 +11,7 @@ RUNNING_USER=root
APP_HOME="/path/to/weixin4j/service" APP_HOME="/path/to/weixin4j/service"
#Main class #Main class
APP_MAINCLASS=xx.xxx.mainClass.fullName APP_MAINCLASS=xx.xxx.mainClass
#classpath #classpath
CLASSPATH=$APP_HOME/classes CLASSPATH=$APP_HOME/classes