⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.bat

📁 短信发送的例子
💻 BAT
字号:
@echo off

rem This batch file builds and preverifies the code for the demo.
rem it then packages it 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 ..\..\..\lib\wma.zip;..\tmpclasses ..\src\example\sms\*.java ..\src\example\cbs\*.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;..\..\..\lib\wma.zip;..\tmpclasses -d ..\classes ..\tmpclasses

echo *** Jaring preverified class files ***
jar cmf MANIFEST.MF SMSDemo.jar -C ..\classes .

echo *** Jaring resource files ***
jar umf MANIFEST.MF SMSDemo.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 + -