-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
22 lines (14 loc) · 754 Bytes
/
Copy pathbuild.bat
File metadata and controls
22 lines (14 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
SET JAVA_BIN=C:\Program Files (x86)\Java\jdk1.8.0_202\bin
SET WTK_BIN=C:\WTK2.5.2_01\bin
SET PROJECT_DIR=%CD%
del JavaMS.jar
rmdir /s /q output
rmdir /s /q verified
mkdir output
mkdir verified
"%JAVA_BIN%\javac.exe" -bootclasspath "%WTK_BIN%\..\lib\midpapi20.jar;%WTK_BIN%\..\lib\cldcapi11.jar" -source 1.3 -target 1.3 -d "%PROJECT_DIR%\output" .\src\ps3\acidnt31\*.java -Xlint:-options
"%WTK_BIN%\preverify.exe" -classpath "%WTK_BIN%\..\lib\midpapi20.jar;%WTK_BIN%\..\lib\cldcapi11.jar" -d "%PROJECT_DIR%\verified" "%PROJECT_DIR%\output"
xcopy /e /y "%PROJECT_DIR%\res\*" "%PROJECT_DIR%\verified\"
"%JAVA_BIN%\jar.exe" cvfm "%PROJECT_DIR%\JavaMS.jar" "%PROJECT_DIR%\MANIFEST.MF" -C "%PROJECT_DIR%\verified" .
pause