Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
make.bat 3.23 KB
Copy Edit Web IDE Raw Blame History
Hprose authored 2015-07-15 12:29 . Update to 1.6.0-beta2
@echo off
del /F/S/Q build 1>NUL 2>NUL
rd /S/Q build 1>NUL 2>NUL
del /F/S/Q dist 1>NUL 2>NUL
rd /S/Q dist 1>NUL 2>NUL
mkdir build
mkdir dist
rem -bootclasspath "C:\Program Files\Java\jdk1.5.0_22\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_22\jre\lib\jsse.jar"
javac -source 5 -target 5 -Xlint:unchecked,-options -cp lib\javax.servlet-api-3.1.0.jar;lib\javax.websocket-api-1.1.jar -d build src\main\java\hprose\common\*.java src\main\java\hprose\util\*.java src\main\java\hprose\client\*.java src\main\java\hprose\io\*.java src\main\java\hprose\io\accessor\*.java src\main\java\hprose\io\serialize\*.java src\main\java\hprose\io\unserialize\*.java src\main\java\hprose\server\*.java 2>NUL
jar cf dist/hprose_for_java_5.jar -C build .
del /Q build\hprose\server\*
rmdir build\hprose\server
del /Q build\hprose\common\HproseMethod.class
del /Q build\hprose\common\HproseMethods.class
jar cf dist/hprose_client_for_java_5.jar -C build .
rem -bootclasspath "C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\jsse.jar"
javac -source 6 -target 6 -Xlint:unchecked,-options -cp lib\javax.servlet-api-3.1.0.jar;lib\javax.websocket-api-1.1.jar -d build src\main\java\hprose\common\*.java src\main\java\hprose\util\*.java src\main\java\hprose\client\*.java src\main\java\hprose\io\*.java src\main\java\hprose\io\accessor\*.java src\main\java\hprose\io\serialize\*.java src\main\java\hprose\io\unserialize\*.java src\main\java\hprose\server\*.java 2>NUL
jar cf dist/hprose_for_java_6.jar -C build .
del /Q build\hprose\server\*
rmdir build\hprose\server
del /Q build\hprose\common\HproseMethod.class
del /Q build\hprose\common\HproseMethods.class
jar cf dist/hprose_client_for_java_6.jar -C build .
rem -bootclasspath "C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\jsse.jar"
javac -source 7 -target 7 -Xlint:unchecked,-options -cp lib\javax.servlet-api-3.1.0.jar;lib\javax.websocket-api-1.1.jar -d build src\main\java\hprose\common\*.java src\main\java\hprose\util\*.java src\main\java\hprose\client\*.java src\main\java\hprose\io\*.java src\main\java\hprose\io\accessor\*.java src\main\java\hprose\io\serialize\*.java src\main\java\hprose\io\unserialize\*.java src\main\java\hprose\server\*.java 2>NUL
jar cf dist/hprose_for_java_7.jar -C build .
del /Q build\hprose\server\*
rmdir build\hprose\server
del /Q build\hprose\common\HproseMethod.class
del /Q build\hprose\common\HproseMethods.class
jar cf dist/hprose_client_for_java_7.jar -C build .
rem -bootclasspath "C:\Program Files\Java\jre8\lib\rt.jar;C:\Program Files\Java\jre8\lib\jsse.jar"
javac -source 8 -target 8 -Xlint:unchecked,-options -cp lib\javax.servlet-api-3.1.0.jar;lib\javax.websocket-api-1.1.jar -d build src\main\java\hprose\common\*.java src\main\java\hprose\util\*.java src\main\java\hprose\client\*.java src\main\java\hprose\io\*.java src\main\java\hprose\io\accessor\*.java src\main\java\hprose\io\serialize\*.java src\main\java\hprose\io\unserialize\*.java src\main\java\hprose\server\*.java 2>NUL
jar cf dist/hprose_for_java_8.jar -C build .
del /Q build\hprose\server\*
rmdir build\hprose\server
del /Q build\hprose\common\HproseMethod.class
del /Q build\hprose\common\HproseMethods.class
jar cf dist/hprose_client_for_java_8.jar -C build .
del /F/S/Q build 1>NUL
rd /S/Q build 1>NUL

Comment ( 0 )

Sign in for post a comment