Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2 final
-
Fix Version/s: 1.3.5
-
Component/s: View technologies
-
Labels:None
Description
Sometimes there is a customer requirement to immediately change some information in a grails gsp file.
In war deployed mode, there should be a possibility to update gsps easily while running in production (without full reloading enabled).
Precompiled gsps classes contain the timestamp of the original gsp file in a static field called LAST_MODIFIED. If the override directory is specified it should be checked for an updated version of the gsp file. If the gsp file is newer, it should be used and compiled on the fly. There should be a parameter which defines the interval between checking for new versions of a gsp file (5000ms default).
If the war is deployed in "exploded mode", the default directory for overriding gsps is servletContext.getRealPath("/WEB-INF").
The gsps are in WEB-INF/grails-app/views and WEB-INF/plugins/*/grails-app/views directories by default in war deployed mode.
Issue Links
- is related to
-
GRAILS-5898
Selective (runtime) GSP Reloading
-
-
GRAILS-6180
Precompilation of gsp should be optional when generating the war file
-
- relates to
-
GRAILS-7161
Enable caching for GrailsViewResolver when GSP reloading is enabled in production (war-deployed)
-
Activity
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | master | 3cb34cd... | 2010-09-01 05:10:41 -0700 | Lari Hotari / Lari Hotari | Changes for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsWar.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | cli-improvements | 3cb34cd... | 2010-09-01 05:10:41 -0700 | Lari Hotari / Lari Hotari | Changes for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsWar.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.0.x | 3cb34cd... | 2010-09-01 05:10:41 -0700 | Lari Hotari / Lari Hotari | Changes for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsWar.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | hibernate4 | 3cb34cd... | 2010-09-01 05:10:41 -0700 | Lari Hotari / Lari Hotari | Changes for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsWar.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.1.x | 3cb34cd... | 2010-09-01 05:10:41 -0700 | Lari Hotari / Lari Hotari | Changes for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsWar.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.2.x | 3cb34cd... | 2010-09-01 05:10:41 -0700 | Lari Hotari / Lari Hotari | Changes for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsWar.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Docs | master | 9b523bd... | 2010-09-02 00:54:52 -0700 | Lari Hotari / Lari Hotari | Documentation for features added in |
| Files Changed | |||||
|
MODIFY
src/guide/6.2.6 Making Changes to a Deployed Application.gdoc
|
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Docs | 2.0.x | 9b523bd... | 2010-09-02 00:54:52 -0700 | Lari Hotari / Lari Hotari | Documentation for features added in |
| Files Changed | |||||
|
MODIFY
src/guide/6.2.6 Making Changes to a Deployed Application.gdoc
|
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Docs | 2.2.x | 9b523bd... | 2010-09-02 00:54:52 -0700 | Lari Hotari / Lari Hotari | Documentation for features added in |
| Files Changed | |||||
|
MODIFY
src/guide/6.2.6 Making Changes to a Deployed Application.gdoc
|
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | master | 12d39c8... | 2010-09-30 23:00:58 -0700 | Lari Hotari / Lari Hotari | Some last-minute fixes to be included in 1.3.5 . Performance fix to GroovyPagesTemplateEngine: enable caching for Resources by default (related to commit: http://github.com/grails/grails-core/commit/50dea0be5f4feaffdd96b0cad6765413a94d857f / Changes related to Restricted showSource only for development environment. |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/support/ResourceAwareTemplateEngine.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | cli-improvements | 12d39c8... | 2010-09-30 23:00:58 -0700 | Lari Hotari / Lari Hotari | Some last-minute fixes to be included in 1.3.5 . Performance fix to GroovyPagesTemplateEngine: enable caching for Resources by default (related to commit: http://github.com/grails/grails-core/commit/50dea0be5f4feaffdd96b0cad6765413a94d857f / Changes related to Restricted showSource only for development environment. |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/support/ResourceAwareTemplateEngine.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.0.x | 12d39c8... | 2010-09-30 23:00:58 -0700 | Lari Hotari / Lari Hotari | Some last-minute fixes to be included in 1.3.5 . Performance fix to GroovyPagesTemplateEngine: enable caching for Resources by default (related to commit: http://github.com/grails/grails-core/commit/50dea0be5f4feaffdd96b0cad6765413a94d857f / Changes related to Restricted showSource only for development environment. |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/support/ResourceAwareTemplateEngine.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | hibernate4 | 12d39c8... | 2010-09-30 23:00:58 -0700 | Lari Hotari / Lari Hotari | Some last-minute fixes to be included in 1.3.5 . Performance fix to GroovyPagesTemplateEngine: enable caching for Resources by default (related to commit: http://github.com/grails/grails-core/commit/50dea0be5f4feaffdd96b0cad6765413a94d857f / Changes related to Restricted showSource only for development environment. |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/support/ResourceAwareTemplateEngine.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.1.x | 12d39c8... | 2010-09-30 23:00:58 -0700 | Lari Hotari / Lari Hotari | Some last-minute fixes to be included in 1.3.5 . Performance fix to GroovyPagesTemplateEngine: enable caching for Resources by default (related to commit: http://github.com/grails/grails-core/commit/50dea0be5f4feaffdd96b0cad6765413a94d857f / Changes related to Restricted showSource only for development environment. |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/support/ResourceAwareTemplateEngine.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.2.x | 12d39c8... | 2010-09-30 23:00:58 -0700 | Lari Hotari / Lari Hotari | Some last-minute fixes to be included in 1.3.5 . Performance fix to GroovyPagesTemplateEngine: enable caching for Resources by default (related to commit: http://github.com/grails/grails-core/commit/50dea0be5f4feaffdd96b0cad6765413a94d857f / Changes related to Restricted showSource only for development environment. |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/support/ResourceAwareTemplateEngine.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPageMetaInfo.java MODIFY src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | master | a69d05f... | 2010-10-01 00:13:02 -0700 | Lari Hotari / Lari Hotari | Enable reloading also for (existing) i18n resource bundles if GSP reloading is enabled ( |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/i18n/I18nGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/context/GrailsConfigUtils.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | cli-improvements | a69d05f... | 2010-10-01 00:13:02 -0700 | Lari Hotari / Lari Hotari | Enable reloading also for (existing) i18n resource bundles if GSP reloading is enabled ( |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/i18n/I18nGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/context/GrailsConfigUtils.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.0.x | a69d05f... | 2010-10-01 00:13:02 -0700 | Lari Hotari / Lari Hotari | Enable reloading also for (existing) i18n resource bundles if GSP reloading is enabled ( |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/i18n/I18nGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/context/GrailsConfigUtils.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | hibernate4 | a69d05f... | 2010-10-01 00:13:02 -0700 | Lari Hotari / Lari Hotari | Enable reloading also for (existing) i18n resource bundles if GSP reloading is enabled ( |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/i18n/I18nGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/context/GrailsConfigUtils.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.1.x | a69d05f... | 2010-10-01 00:13:02 -0700 | Lari Hotari / Lari Hotari | Enable reloading also for (existing) i18n resource bundles if GSP reloading is enabled ( |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/i18n/I18nGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/context/GrailsConfigUtils.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.2.x | a69d05f... | 2010-10-01 00:13:02 -0700 | Lari Hotari / Lari Hotari | Enable reloading also for (existing) i18n resource bundles if GSP reloading is enabled ( |
| Files Changed | |||||
|
MODIFY
src/java/org/codehaus/groovy/grails/plugins/i18n/I18nGrailsPlugin.groovy
MODIFY src/java/org/codehaus/groovy/grails/plugins/web/GroovyPagesGrailsPlugin.groovy MODIFY src/java/org/codehaus/groovy/grails/web/context/GrailsConfigUtils.java |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Docs | 1.3.x | 3b0d8a2... | 2010-12-08 10:09:53 -0800 | Lari Hotari / Lari Hotari | Typo fix to documentation related to |
| Files Changed | |||||
|
MODIFY
src/guide/6.2.6 Making Changes to a Deployed Application.gdoc
|
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Docs | 1.3.x-new-docs | 3b0d8a2... | 2010-12-08 10:09:53 -0800 | Lari Hotari / Lari Hotari | Typo fix to documentation related to |
| Files Changed | |||||
|
MODIFY
src/guide/6.2.6 Making Changes to a Deployed Application.gdoc
|
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Docs | master | 8ba0762... | 2010-12-08 10:12:08 -0800 | Lari Hotari / Lari Hotari | Typo fix to documentation related to |
| Files Changed | |||||
|
MODIFY
src/guide/6.2.6 Making Changes to a Deployed Application.gdoc
|
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Docs | 2.0.x | 8ba0762... | 2010-12-08 10:12:08 -0800 | Lari Hotari / Lari Hotari | Typo fix to documentation related to |
| Files Changed | |||||
|
MODIFY
src/guide/6.2.6 Making Changes to a Deployed Application.gdoc
|
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Docs | 2.2.x | 8ba0762... | 2010-12-08 10:12:08 -0800 | Lari Hotari / Lari Hotari | Typo fix to documentation related to |
| Files Changed | |||||
|
MODIFY
src/guide/6.2.6 Making Changes to a Deployed Application.gdoc
|