Skip to content

Commit d9b0568

Browse files
committed
chore: silence maven builds and suppress JVM native access warnings in start scripts
1 parent 9cce2fb commit d9b0568

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

run-benchmark.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
2-
echo Building main project...
3-
call mvn clean package -DskipTests
2+
echo Building Main Project (Quiet Mode)...
3+
call mvn -q clean package -DskipTests
44
if %ERRORLEVEL% NEQ 0 (
55
echo.
66
echo ❌ Maven build failed.
@@ -9,7 +9,7 @@ if %ERRORLEVEL% NEQ 0 (
99
)
1010

1111
echo.
12-
echo Running Benchmark...
12+
echo 🚀 Running Benchmark...
1313
call mvn -q -f examples/Benchmark/pom.xml compile
14-
call java -cp "target\fastglob-0.1.0.jar;examples\Benchmark\target\classes" fastglob.Benchmark
14+
call java --enable-native-access=ALL-UNNAMED -cp "target\fastglob-0.1.0.jar;examples\Benchmark\target\classes" fastglob.Benchmark
1515
pause

run-demo.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ call mvn -q clean package -DskipTests
44
if %ERRORLEVEL% NEQ 0 ( pause & exit /b )
55
echo 🚀 Running Hero Demo...
66
call mvn -q -f examples/Demo/pom.xml compile
7-
call java -cp "target\fastglob-0.1.0.jar;examples\Demo\target\classes" fastglob.Demo
7+
call java --enable-native-access=ALL-UNNAMED -cp "target\fastglob-0.1.0.jar;examples\Demo\target\classes" fastglob.Demo
88
pause

0 commit comments

Comments
 (0)