-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kennyliu
committed
Dec 28, 2018
1 parent
f836378
commit 225c965
Showing
11 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<assembly> | ||
<id></id> | ||
<formats> | ||
<format>zip</format> | ||
</formats> | ||
<includeBaseDirectory>true</includeBaseDirectory> | ||
<dependencySets> | ||
<dependencySet> | ||
<useProjectArtifact>true</useProjectArtifact> | ||
<outputDirectory>lib</outputDirectory> | ||
<scope>runtime</scope> | ||
</dependencySet> | ||
</dependencySets> | ||
<fileSets> | ||
<fileSet> | ||
<directory>../</directory> | ||
<outputDirectory>./</outputDirectory> | ||
<includes> | ||
<include>LICENSE</include> | ||
<include>README.md</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>conf</directory> | ||
<outputDirectory>conf</outputDirectory> | ||
<includes> | ||
<include>application.properties</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>assembly</directory> | ||
<outputDirectory>conf</outputDirectory> | ||
<includes> | ||
<include>log4j.properties</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>assembly</directory> | ||
<outputDirectory>bin</outputDirectory> | ||
<includes> | ||
<include>version.txt</include> | ||
</includes> | ||
<filtered>true</filtered> | ||
</fileSet> | ||
<fileSet> | ||
<directory>bin</directory> | ||
<outputDirectory>bin</outputDirectory> | ||
<includes> | ||
<include>start.bat</include> | ||
</includes> | ||
<filtered>false</filtered> | ||
</fileSet> | ||
<fileSet> | ||
<directory>bin/win</directory> | ||
<outputDirectory>./</outputDirectory> | ||
<includes> | ||
<include>*.exe</include> | ||
</includes> | ||
<filtered>false</filtered> | ||
</fileSet> | ||
<fileSet> | ||
<directory>assembly/adb/win</directory> | ||
<outputDirectory>resource/adb</outputDirectory> | ||
<includes> | ||
<include>*</include> | ||
</includes> | ||
<filtered>false</filtered> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# Log4J Settings for log4j 1.2.x (via jakarta-commons-logging) | ||
# | ||
# The five logging levels used by Log are (in order): | ||
# | ||
# 1. DEBUG (the least serious) | ||
# 2. INFO | ||
# 3. WARN | ||
# 4. ERROR | ||
# 5. FATAL (the most serious) | ||
|
||
|
||
# Set root logger level to INFO and append to stdout | ||
log4j.rootLogger=ERROR,file | ||
|
||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | ||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | ||
|
||
# Pattern to output the caller's file name and line number. | ||
log4j.appender.stdout.layout.ConversionPattern=%d %5p (%c:%L) - %m%n | ||
|
||
log4j.appender.file=org.apache.log4j.DailyRollingFileAppender | ||
log4j.appender.file.File=logs/app.log | ||
log4j.appender.file.DatePattern='.'yyyy-MM-dd | ||
log4j.appender.file.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.file.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss} [%c]-[%p] %m%n | ||
|
||
# Print only messages of level INFO or above in the package noModule. | ||
log4j.logger.org.apache.mina.filter.logging.LoggingFilter=WARN | ||
log4j.org.springframework=WARN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build.version=1.0 | ||
build.timestamp=${timestamp} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@echo off | ||
set CURRENT=%cd% | ||
cd .. | ||
SET CLIENT_HOME=%cd% | ||
|
||
set CONFPATH=%CLIENT_HOME%\conf\ | ||
set LIB_PATH=%CLIENT_HOME%\lib | ||
set RUNJAR=%CLIENT_HOME%/lib/${artifactId}-${version}.jar | ||
rem some properties which need by app | ||
set PROPERTIES_LOG4J_LOGPATH=log4j.logPath | ||
rem run! | ||
@echo on | ||
@java -Xbootclasspath/a:%CONFPATH% -Xmx256m -Xms100m -Dsun.java2d.opengl=False -Dsun.java2d.xrender=True -Dconfig.path=%CONFPATH% -jar %RUNJAR% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
CURRENT=`pwd` | ||
cd .. | ||
CLIENT_HOME=`pwd` | ||
|
||
CONFPATH=$CLIENT_HOME/conf | ||
RUNJAR=$CLIENT_HOME/lib/${artifactId}-${version}.jar | ||
##some properties needed by app | ||
PROPERTIES_LOG4J_LOGPATH=log4j.logPath | ||
## run! | ||
java -Xbootclasspath/a:$CONFPATH -Xmx256m -Xms100m -Dsun.java2d.opengl=False -Dsun.java2d.xrender=True -Dconfig.path=$CONFPATH -jar $RUNJAR |
Binary file not shown.
Binary file not shown.