Skip to content

Commit

Permalink
build windows version
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyliu committed Dec 28, 2018
1 parent f836378 commit 225c965
Show file tree
Hide file tree
Showing 11 changed files with 126 additions and 0 deletions.
Binary file added main/assembly/adb/win/AdbWinApi.dll
Binary file not shown.
Binary file added main/assembly/adb/win/AdbWinUsbApi.dll
Binary file not shown.
Binary file added main/assembly/adb/win/adb.exe
Binary file not shown.
Binary file added main/assembly/adb/win/video_decode.dll
Binary file not shown.
70 changes: 70 additions & 0 deletions main/assembly/config.xml
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>
30 changes: 30 additions & 0 deletions main/assembly/log4j.properties
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
2 changes: 2 additions & 0 deletions main/assembly/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build.version=1.0
build.timestamp=${timestamp}
13 changes: 13 additions & 0 deletions main/bin/start.bat
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%
11 changes: 11 additions & 0 deletions main/bin/start.sh
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 added main/bin/win/CXTouch32.exe
Binary file not shown.
Binary file added main/bin/win/CXTouch64.exe
Binary file not shown.

0 comments on commit 225c965

Please sign in to comment.