Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-RC4
-
Fix Version/s: 1.3-RC1
-
Component/s: None
-
Labels:None
Description
It should be possible to override services/controllers/etc; summary of problem:
I've written a plugin, called MyPlugin.
I've written an app, called MyApp; which is designed to use MyPlugin for
base/default functionality.
MyPlugin provides a service, called ThisService.
MyApp needs to override or replace the ThisService service.
However when I try to run MyApp, or install MyPlugin into MyApp, when MyApp
has its own ThisService - I get a: "Invalid duplicate class definition of
class ThisService" exception.
This is a major hassle - to get around it I need to temporarily remove
MyApp's ThisService, then install (or) re-install MyPlugin, then remove
MyPlugin's ThisService; then finally put MyApp's ThisService back into
place so that I'm able to continue development/testing with MyApp.
More info:
http://www.nabble.com/how-to-override-a-service-provided-by-a-plugin--to15035806.html
Activity
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | master | 595d80a... | 2010-03-24 06:32:07 -0700 | Graeme Rocher / Graeme Rocher | fix for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsClasspath.groovy
MODIFY scripts/_GrailsClean.groovy MODIFY scripts/_GrailsCompile.groovy MODIFY scripts/_GrailsWar.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | cli-improvements | 595d80a... | 2010-03-24 06:32:07 -0700 | Graeme Rocher / Graeme Rocher | fix for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsClasspath.groovy
MODIFY scripts/_GrailsClean.groovy MODIFY scripts/_GrailsCompile.groovy MODIFY scripts/_GrailsWar.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.0.x | 595d80a... | 2010-03-24 06:32:07 -0700 | Graeme Rocher / Graeme Rocher | fix for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsClasspath.groovy
MODIFY scripts/_GrailsClean.groovy MODIFY scripts/_GrailsCompile.groovy MODIFY scripts/_GrailsWar.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | hibernate4 | 595d80a... | 2010-03-24 06:32:07 -0700 | Graeme Rocher / Graeme Rocher | fix for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsClasspath.groovy
MODIFY scripts/_GrailsClean.groovy MODIFY scripts/_GrailsCompile.groovy MODIFY scripts/_GrailsWar.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.1.x | 595d80a... | 2010-03-24 06:32:07 -0700 | Graeme Rocher / Graeme Rocher | fix for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsClasspath.groovy
MODIFY scripts/_GrailsClean.groovy MODIFY scripts/_GrailsCompile.groovy MODIFY scripts/_GrailsWar.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.2.x | 595d80a... | 2010-03-24 06:32:07 -0700 | Graeme Rocher / Graeme Rocher | fix for |
| Files Changed | |||||
|
MODIFY
scripts/_GrailsClasspath.groovy
MODIFY scripts/_GrailsClean.groovy MODIFY scripts/_GrailsCompile.groovy MODIFY scripts/_GrailsWar.groovy |