Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.0.3
-
Component/s: Configuration
-
Labels:None
-
Environment:All
-
Patch Submitted:Yes
Description
I could not find a way to run my application under the "/" root context, instead it insists on using the project's app.name property. On the mailing lists ppl have solved this problem by hacking the runAp.groovy script and replaced the $applicationName variable with a "/" string. This forces the issue however, so I modified the script to accept an application context as an argument to the script (and if no argument is provided, default back to original behavior.)
If there is an existing or better way to solve this I'd be happy to hear it as well. Attached is the new RunApp.groovy script.
Attachments
Issue Links
| This issue is duplicated by: | ||||
| GRAILS-2534 | Allow configuration of context path |
|
|
|
I'm not convinced an argument is the right approach, might be better to change for a Config.groovy setting