Skip to content

Commit 23a45d0

Browse files
committed
Clean stale class files before launching examples.
1 parent 35b8225 commit 23a45d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/support/agent.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ REM Display what we're running
2929
echo Starting application with profile: %MAVEN_PROFILE%
3030
echo Application path: %AGENT_APPLICATION%
3131

32-
cmd /c ..\..\mvnw -U -P %MAVEN_PROFILE% -f %POM_FILE% -Dmaven.test.skip=true spring-boot:run
32+
cmd /c ..\..\mvnw -U -P %MAVEN_PROFILE% -f %POM_FILE% -Dmaven.test.skip=true clean spring-boot:run
3333

3434
endlocal

scripts/support/agent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ echo "Starting application with profile: $MAVEN_PROFILE"
4343
echo "Application path: $AGENT_APPLICATION"
4444

4545
# Run Maven Spring Boot application
46-
../../mvnw -U -P "$MAVEN_PROFILE" -f "$POM_FILE" -Dmaven.test.skip=true spring-boot:run
46+
../../mvnw -U -P "$MAVEN_PROFILE" -f "$POM_FILE" -Dmaven.test.skip=true clean spring-boot:run

0 commit comments

Comments
 (0)