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/25 20:25:09 UTC
(grails-core) branch 8.0.x updated (0a334c8bf3 -> 0d4d67f80e)
This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 0a334c8bf3 Merge pull request #15568 from apache/8.0.x-hibernate7
add 281108068d [skip ci] Release v7.1.2
add 19ba3c4f3b [skip ci] Bump version to 7.1.3-SNAPSHOT
add 77e97efcc6 Merge pull request #15753 from apache/merge-back-7.1.2
add 437b6b3027 [skip ci] Release v7.0.12
add b9af9543cf [skip ci] Bump version to 7.0.13-SNAPSHOT
add 5471b17518 Merge pull request #15754 from apache/merge-back-7.0.12
add 3d55d78174 Update to Gradle 8.14.5
add 5736a93406 Merge pull request #15762 from apache/deps/gradle-8.14.5
add ceea0071a4 Fix stop-app in the interactive CLI without Actuator or JMX
add 008c3142d5 Address review feedback in RunningApplicationRegistry
add c91148a4db Merge branch '7.0.x' into fix/stop-app-cli
add e4a1d22c51 Merge branch '7.0.x' into fix/stop-app-cli
add c72ff2132a Merge branch '7.0.x' into fix/stop-app-cli
add 9527dc8ebb Rework stop-app to terminate run-app via a PID file
add eb66fc36ad Configure bootRun run-app PID handoff
add d057612d4e Simplify stop-app command documentation
add 49b3ecad09 Fail fast for unsupported stop-app target options
add 66a56830d2 Merge branch '7.0.x' into fix/stop-app-cli
add d322aa6af2 Honor configured run-app PID file path
add 19314a451f Document run-app PID file property metadata
add 4292d968ff Read run-app PID path from application config
add 2b347f5595 Merge branch '7.0.x' into fix/stop-app-cli
add 9a132a87fa Simplify run-app/stop-app PID file handoff per review
add 18dd33505e Add stop-app PID file test coverage and upgrade documentation
add c5265007e8 Report a deliberate stop-app as a successful bootRun build
add d921eda90a Merge pull request #15698 from apache/fix/stop-app-cli
add ae760cbe91 Update Spring Boot to 3.5.16
add 984e7479b1 Merge pull request #15767 from apache/deps/spring-boot-3.5.16
add 82569faa37 Merge branch '7.0.x' into 7.1.x
add 2bf2aa6c50 Merge branch '7.1.x' into 7.2.x
new 0d4d67f80e Merge branch '7.2.x' into 8.0.x
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/main/groovy/grails/boot/GrailsApp.groovy | 27 ++
.../groovy/grails/boot/GrailsAppPidFileSpec.groovy | 77 ++++++
.../plugins/DefaultGrailsPluginManagerSpec.groovy | 63 +++++
.../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 ++
...rovider.groovy => RunAppPidFileProvider.groovy} | 35 +--
.../plugin/core/BootRunExitCodeVerifierSpec.groovy | 51 ++++
.../core/GrailsGradlePluginToolchainSpec.groovy | 44 ++++
.../test-projects/boot-run-pid-web/build.gradle | 12 +
.../gradle.properties | 0
.../grails-app/conf/application.yml | 0
.../test-projects/boot-run-pid-web/settings.gradle | 1 +
.../test-projects/boot-run-pid/build.gradle | 12 +
.../gradle.properties | 0
.../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 ++++++++++++++++
23 files changed, 970 insertions(+), 120 deletions(-)
create mode 100644 grails-core/src/test/groovy/grails/boot/GrailsAppPidFileSpec.groovy
create mode 100644 grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/BootRunExitCodeVerifier.groovy
copy grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/{GrailsAppBaseDirProvider.groovy => RunAppPidFileProvider.groovy} (51%)
create mode 100644 grails-gradle/plugins/src/test/groovy/org/grails/gradle/plugin/core/BootRunExitCodeVerifierSpec.groovy
create mode 100644 grails-gradle/plugins/src/test/resources/test-projects/boot-run-pid-web/build.gradle
copy grails-gradle/plugins/src/test/resources/test-projects/{auto-apply-bom-disabled => boot-run-pid-web}/gradle.properties (100%)
copy grails-gradle/plugins/src/test/resources/test-projects/{fork-settings-custom => boot-run-pid-web}/grails-app/conf/application.yml (100%)
create mode 100644 grails-gradle/plugins/src/test/resources/test-projects/boot-run-pid-web/settings.gradle
create mode 100644 grails-gradle/plugins/src/test/resources/test-projects/boot-run-pid/build.gradle
copy grails-gradle/plugins/src/test/resources/test-projects/{auto-apply-bom-disabled => boot-run-pid}/gradle.properties (100%)
copy grails-forge/grails-forge-core/src/main/resources/.gitkeep => grails-gradle/plugins/src/test/resources/test-projects/boot-run-pid/grails-app/conf/.keep (100%)
create mode 100644 grails-gradle/plugins/src/test/resources/test-projects/boot-run-pid/settings.gradle
create mode 100644 grails-shell-cli/src/main/groovy/org/grails/cli/gradle/RunningApplicationProcess.groovy
create mode 100644 grails-shell-cli/src/test/groovy/org/grails/cli/gradle/RunningApplicationProcessSpec.groovy
(grails-core) 01/01: Merge branch '7.2.x' into 8.0.x
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 0d4d67f80ea230be8edb2ab7be46ff61572dd0f7
Merge: 0a334c8bf3 2bf2aa6c50
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Thu Jun 25 16:23:49 2026 -0400
Merge branch '7.2.x' into 8.0.x
Assisted-by: hephaestus:openai/gpt-5.5
.../src/main/groovy/grails/boot/GrailsApp.groovy | 27 ++
.../groovy/grails/boot/GrailsAppPidFileSpec.groovy | 77 ++++++
.../plugins/DefaultGrailsPluginManagerSpec.groovy | 63 +++++
.../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 ++++++++++++++++
23 files changed, 1010 insertions(+), 104 deletions(-)
diff --cc grails-core/src/main/groovy/grails/boot/GrailsApp.groovy
index 308633744e,ff08417790..78757e7dbd
--- a/grails-core/src/main/groovy/grails/boot/GrailsApp.groovy
+++ b/grails-core/src/main/groovy/grails/boot/GrailsApp.groovy
@@@ -28,7 -28,8 +28,8 @@@ import org.codehaus.groovy.control.Comp
import org.codehaus.groovy.control.CompilerConfiguration
import org.springframework.boot.SpringApplication
+ import org.springframework.boot.context.ApplicationPidFileWriter
-import org.springframework.boot.web.context.WebServerApplicationContext
+import org.springframework.boot.web.server.context.WebServerApplicationContext
import org.springframework.context.ConfigurableApplicationContext
import org.springframework.core.env.ConfigurableEnvironment
import org.springframework.core.io.ResourceLoader
diff --cc grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
index d8866e6e62,c66f059202..676556a84a
--- a/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
+++ b/grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy
@@@ -87,9 -89,11 +87,11 @@@ import javax.inject.Injec
* @author Graeme Rocher
*/
@CompileStatic
-class GrailsGradlePlugin extends GroovyPlugin {
+class GrailsGradlePlugin implements Plugin<Project> {
public static final String APPLICATION_CONTEXT_COMMAND_CLASS = 'grails.dev.commands.ApplicationCommand'
+ private static final String CLI_PID_FILE_PROPERTY = 'grails.cli.pid.file'
+ private static final String RUN_APP_PID_FILE_NAME = 'run-app.pid'
List<Class<Plugin>> basePluginClasses = [IntegrationTestGradlePlugin] as List<Class<Plugin>>
List<String> excludedGrailsAppSourceDirs = ['migrations', 'assets']