You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2026/06/24 22:35:45 UTC

(grails-core) 01/01: Merge pull request #15698 from apache/fix/stop-app-cli

This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit d921eda90a13f832142bb5d3547e99f23d844dff
Merge: 5736a93406 c5265007e8
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Wed Jun 24 18:35:38 2026 -0400

    Merge pull request #15698 from apache/fix/stop-app-cli
    
    Fix stop-app using a PID file instead of Actuator or JMX

 .../src/main/groovy/grails/boot/GrailsApp.groovy   |  27 ++
 .../groovy/grails/boot/GrailsAppPidFileSpec.groovy |  77 ++++++
 .../runningAndDebuggingAnApplication.adoc          |   4 +-
 .../src/en/guide/upgrading/upgrading60x.adoc       |  11 +
 grails-doc/src/en/ref/Command Line/stop-app.adoc   |  26 +-
 .../plugin/core/BootRunExitCodeVerifier.groovy     |  52 ++++
 .../gradle/plugin/core/GrailsGradlePlugin.groovy   |  27 ++
 .../plugin/core/RunAppPidFileProvider.groovy       |  57 +++++
 .../plugin/core/BootRunExitCodeVerifierSpec.groovy |  51 ++++
 .../core/GrailsGradlePluginToolchainSpec.groovy    |  44 ++++
 .../test-projects/boot-run-pid-web/build.gradle    |  12 +
 .../boot-run-pid-web/gradle.properties             |   1 +
 .../grails-app/conf/application.yml                |   0
 .../test-projects/boot-run-pid-web/settings.gradle |   1 +
 .../test-projects/boot-run-pid/build.gradle        |  12 +
 .../test-projects/boot-run-pid/gradle.properties   |   1 +
 .../boot-run-pid/grails-app/conf/.keep             |   0
 .../test-projects/boot-run-pid/settings.gradle     |   1 +
 grails-profiles/base/commands/run-app.groovy       |  25 +-
 grails-profiles/base/commands/stop-app.groovy      | 124 +++------
 .../cli/gradle/RunningApplicationProcess.groovy    | 279 +++++++++++++++++++++
 .../gradle/RunningApplicationProcessSpec.groovy    | 219 ++++++++++++++++
 22 files changed, 947 insertions(+), 104 deletions(-)