You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slms/scripts/run_web.bat

31 lines
606 B

@echo off
chcp 65001 >nul
echo ========================================
echo SLMS Web Application (Spring Boot)
echo ========================================
echo.
set JAVA_HOME=E:\2025-2026\GitAIOps\jdk
set PATH=%JAVA_HOME%\bin;%PATH%
echo Compiling project...
call mvn clean compile -q -DskipTests
if %errorlevel% neq 0 (
echo Compilation failed!
pause
exit /b 1
)
echo.
echo Starting Web application...
echo.
echo The application will be available at:
echo http://localhost:8080
echo.
echo Press Ctrl+C to stop the server
echo.
call mvn spring-boot:run -Dmaven.test.skip=true
pause