Details
Description
I have the following scenario:
my-app-domain (plugin)
my-app-other (another plugin that uses my-app-domain as inline plugin)
my-app-main (main app that uses my-app-domain and my-app-other as inline plugins)
When running test-app or run-app in my-app-other, the dynamic methods of a domain class from my-app-domain are not available.
In the main app this problem does not occur. I'm migrating a larger app from Grails 1.3.6 where this works like a charm.
-
Hide
- my-app.zip
- 22/Feb/12 7:11 AM
- 178 kB
- Joern Voelker
-
- my-app/my-app-domain/.classpath 1 kB
- my-app/my-app-domain/.project 0.7 kB
- my-app/.../org.codehaus.groovy.eclipse.preferences.prefs 0.1 kB
- my-app/.../org.eclipse.core.resources.prefs 0.1 kB
- my-app/.../application.properties 0.1 kB
- my-app/my-app-domain/.../BuildConfig.groovy 1 kB
- my-app/my-app-domain/.../conf/Config.groovy 0.9 kB
- my-app/my-app-domain/.../DataSource.groovy 1 kB
- my-app/my-app-domain/.../UrlMappings.groovy 0.2 kB
- my-app/my-app-domain/.../domain/Book.groovy 0.1 kB
- my-app/my-app-domain/.../views/error.gsp 0.3 kB
- my-app/.../MyAppDomainGrailsPlugin.groovy 2 kB
- my-app/my-app-domain/.../_Install.groovy 0.4 kB
- my-app/my-app-domain/.../_Uninstall.groovy 0.2 kB
- my-app/my-app-domain/.../_Upgrade.groovy 0.4 kB
- my-app/my-app-domain/.../BookTests.groovy 0.3 kB
- my-app/.../applicationContext.xml 1 kB
- my-app/my-app-domain/.../sitemesh.xml 0.6 kB
- my-app/my-app-domain/.../tld/grails.tld 18 kB
- my-app/my-app-domain/.../tld/spring.tld 7 kB
- my-app/my-app-main/.classpath 0.7 kB
- my-app/my-app-main/.project 0.5 kB
- my-app/.../org.codehaus.groovy.eclipse.preferences.prefs 0.1 kB
- my-app/.../application.properties 0.1 kB
- my-app/.../ApplicationResources.groovy 0.1 kB
- my-app/my-app-main/.../conf/BootStrap.groovy 0.1 kB
- my-app/my-app-main/.../BuildConfig.groovy 2 kB
- my-app/my-app-main/.../conf/Config.groovy 4 kB
- my-app/my-app-main/.../DataSource.groovy 1 kB
- my-app/my-app-main/.../resources.groovy 0.0 kB
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
I can't reproduce this with grails master using the attach application, if someone else can attach another example that does reproduce the problem that would be great
I believe this is fixed by the fix for GRAILS-8832, since I an not able to reproduce using the attached zip i can't be sure though. If problems persist re-open and attach an example
I've got the same issue. No chance to upgrade to Grails 2.x