📄 build.bat
字号:
@echo off
rem This batch file builds and preverifies the code for the audiodemo.
rem it then packages them in a JAR file appropriately.
echo *** Creating directories ***
echo *** (this stage may produce already exist errors. Ignore them). ***
mkdir ..\tmpclasses
mkdir ..\classes
echo *** Compiling source files ***
javac -bootclasspath ../../../lib/midpapi.zip -d ../tmpclasses -classpath ../tmpclasses ../src/*.java
echo *** Preverifying class files ***
rem WARNING: When running under windows 9x the JAR may be incomplete
rem due to a bug in windows 98. Simply place a pause statement between
rem the preverify and JAR stages and wait 5 seconds before continuing
rem the build.
..\..\..\bin\preverify -classpath ..\..\..\lib\midpapi.zip;..\tmpclasses -d ..\classes ..\tmpclasses
echo *** Jaring preverified class files ***
jar cvmf Manifest.mf ChineseChess2.jar -C ..\classes .
echo *** Jaring resource files ***
jar umf MANIFEST.MF ChineseChess2.jar -C ..\res .
echo *** Don't forget to update the JAR file size in the JAD file ***
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -