-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbat-build.bat
More file actions
31 lines (27 loc) · 868 Bytes
/
Copy pathbat-build.bat
File metadata and controls
31 lines (27 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cd ..
IF EXIST %BIN% GOTO COMPILE
mkdir %BIN%
:COMPILE
set VIZCLASSPATH=%JOGL%\gluegen-rt.jar;%JOGL%\jogl.all.jar;%JOGL%\nativewindow.all.jar;%JOGL%\newt.all.jar;lib\jsgl.jar;lib\commons-compress-1.5.jar;src\
echo %VIZCLASSPATH%
javac -d %BIN% -cp %VIZCLASSPATH% src\rv\Viewer.java
javac -d %BIN% -cp %VIZCLASSPATH% src\config\RVConfigure.java
xcopy /E resources %BIN%\resources\
xcopy /E %JOGL% %BIN%\lib\
xcopy /E src\shaders %BIN%\shaders\
copy lib\jsgl.jar %BIN%\lib\
copy lib\commons-compress-1.5.jar %BIN%\lib\
copy scripts\roboviz.bat %BIN%\roboviz.bat
copy scripts\config.bat %BIN%\config.bat
copy scripts\setEnvironment.bat %BIN%\setEnvironment.bat
copy LICENSE.md %BIN%\
copy NOTICE.md %BIN%\
copy CHANGELOG.md %BIN%\
copy config.txt %BIN%\
cd %BIN%
jar cf RoboViz.jar config rv
del /s /q config\*
del /s /q rv\*
rmdir /s /q config
rmdir /s /q rv
pause