Andy Lawrenson
08/06/2024, 8:01 AMJames Fredley
08/07/2024, 2:46 AMgradle assemble? And does bootStartScripts complete*?*
103434 PM: Executing 'assemble'...
Starting Gradle Daemon...
Gradle Daemon started in 1 s 241 ms
Task :clearBuildDir
Task :assetCompile
Task :compileJava NO-SOURCE
Task :compileGroovy
Task :generateGitProperties FROM-CACHE
Task :buildProperties
Task :processResources
Task :classes
Task :bootWarMainClassName
Task :compileWebappGroovyPages NO-SOURCE
Task :compileGroovyPages
Task :bootWar
Task :*bootStartScripts*
Task :bootDistTar
Task :bootDistZip
Task :jar
Task :*startScripts*
Task :distTar
Task :distZip
Task :war
Task :assembleBUILD SUCCESSFUL in 42s 10 actionable tasks: 9 executed, 1 from cache 103516 PM: Execution finished 'assemble'.
Andy Lawrenson
08/07/2024, 8:40 AMAndy Lawrenson
08/07/2024, 8:57 AMAndy Lawrenson
08/07/2024, 9:20 AMAndy Lawrenson
08/07/2024, 9:34 AMJames Fredley
08/07/2024, 3:11 PMjava -jar admin.warAndy Lawrenson
08/07/2024, 3:22 PMAndy Lawrenson
08/07/2024, 3:27 PMJames Fredley
08/07/2024, 4:18 PMimport grails.boot.GrailsApp
import grails.boot.config.GrailsAutoConfiguration
import groovy.transform.CompileStatic
@CompileStatic
class Application extends GrailsAutoConfiguration {
static void main(String[] args) {
GrailsApp.run(Application, args)
}
}James Fredley
08/07/2024, 4:19 PMJames Fredley
08/07/2024, 4:40 PMAndy Lawrenson
08/08/2024, 7:40 AMclass Application extends GrailsAutoConfiguration {
static void main(String[] args) {
GrailsApp.run(Application, args)
}
If I alter this class at runtime in dev mode, I can see the BootInitializerClassInjector running and creating the ApplicationLoader for this class in the debugger - it's as if it's generally ok, but the ast transformation is not being run at all during compilation/build.Andy Lawrenson
08/10/2024, 8:54 PM