Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.0.2
-
Component/s: None
-
Labels:None
Description
Grails is currently hard-coded to use default environments for the scripts provided with the distribution. Any scripts provided by a plugin or a project default to 'dev'. However, a script like 'TestAppCobertura' provided by the code coverage plugin should default to the 'test' environment. So, we need some way of specifying the default environment for a script, either via a naming convention or a property in the script.
Issue Links
| This issue is duplicated by: | ||||
| GRAILS-2507 | Provide a way for a script to specifiy which environment to run in |
|
|
|
| This issue relates to: | ||||
| GRAILS-2432 | Modify GrailsScriptRunner to use convention for scripts that are allowed to run outside of a project |
|
|
|
This is similar to the enhancement to allow other scripts as 'outside of project' ones, so they may best be tackled together.