-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bat
More file actions
26 lines (21 loc) · 722 Bytes
/
run.bat
File metadata and controls
26 lines (21 loc) · 722 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
@echo off
echo ========================================
echo Attendance Management System
echo Building and Running...
echo ========================================
REM Set paths
set "APP_DIR=%~dp0"
cd /d "%APP_DIR%"
REM Compile
echo Compiling...
if not exist bin mkdir bin
javac -encoding UTF-8 -d bin -sourcepath src src\attendance\App.java src\attendance\models\*.java src\attendance\database\*.java src\attendance\services\*.java src\attendance\ui\components\*.java src\attendance\ui\frames\*.java src\attendance\ui\panels\*.java src\attendance\ui\theme\*.java
if %ERRORLEVEL% neq 0 (
echo Compilation failed!
pause
exit /b 1
)
REM Run
echo Starting application...
java -cp bin attendance.App
pause