|
Hi all,
I am suspecting that my AST transformation, shipped with a plugin, is not loaded by the reloading agent during "grails run-app". I observed that the transformation works correctly if it's called through "grails compile". Here the bug I filed: http://jira.grails.org/browse/GRAILS-8460 Do not know if you will consider this issue as a Blocker. If so, I'll be more than happy to see it's resolved by the Grails 2.0 final :) Cheers Chanwit -- Chanwit Kaewkasi code.google.com/p/zkgrails twitter.com/chanwit --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Did you try using @AstTransformer from grails ?
On Wed, Dec 7, 2011 at 2:50 PM, Chanwit Kaewkasi <[hidden email]> wrote: Hi all, Stéphane MALDINI
-- |
|
Hi Stephane
I am trying but I have no luck using it. It seems my transformer attached with @AstTransformer is not picked up by the Grails compilation process. It's probably a class loading problem. On the other hand, my Groovy's transformation is working but dies when sources are being reloaded. Cheers Chanwit On Wed, Dec 7, 2011 at 22:34, Stephane Maldini <[hidden email]> wrote: > Did you try using @AstTransformer from grails ? > > On Wed, Dec 7, 2011 at 2:50 PM, Chanwit Kaewkasi <[hidden email]> wrote: >> >> Hi all, >> >> I am suspecting that my AST transformation, shipped with a plugin, is >> not loaded by the reloading agent during "grails run-app". I observed >> that the transformation works correctly if it's called through "grails >> compile". >> >> Here the bug I filed: http://jira.grails.org/browse/GRAILS-8460 >> >> Do not know if you will consider this issue as a Blocker. If so, I'll >> be more than happy to see it's resolved by the Grails 2.0 final :) >> >> Cheers >> >> Chanwit >> >> -- >> Chanwit Kaewkasi >> code.google.com/p/zkgrails >> twitter.com/chanwit >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > > > -- > Stéphane MALDINI > -- > > -- Chanwit Kaewkasi code.google.com/p/zkgrails twitter.com/chanwit --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Hi all,
Just an update. I have found that there Grails AstTransformer classes must be put into the "org.codehaus.groovy.grails.compiler" to make it works. However, I'm still finding some gotchas when trying to reload domain classes. Cheers Chanwit On Thu, Dec 8, 2011 at 10:12, Chanwit Kaewkasi <[hidden email]> wrote: > Hi Stephane > > I am trying but I have no luck using it. It seems my transformer > attached with @AstTransformer is not picked up by the Grails > compilation process. It's probably a class loading problem. > > On the other hand, my Groovy's transformation is working but dies when > sources are being reloaded. > > Cheers > > Chanwit > > On Wed, Dec 7, 2011 at 22:34, Stephane Maldini > <[hidden email]> wrote: >> Did you try using @AstTransformer from grails ? >> >> On Wed, Dec 7, 2011 at 2:50 PM, Chanwit Kaewkasi <[hidden email]> wrote: >>> >>> Hi all, >>> >>> I am suspecting that my AST transformation, shipped with a plugin, is >>> not loaded by the reloading agent during "grails run-app". I observed >>> that the transformation works correctly if it's called through "grails >>> compile". >>> >>> Here the bug I filed: http://jira.grails.org/browse/GRAILS-8460 >>> >>> Do not know if you will consider this issue as a Blocker. If so, I'll >>> be more than happy to see it's resolved by the Grails 2.0 final :) >>> >>> Cheers >>> >>> Chanwit >>> >>> -- >>> Chanwit Kaewkasi >>> code.google.com/p/zkgrails >>> twitter.com/chanwit >>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >> >> >> >> -- >> Stéphane MALDINI >> -- >> >> > > > > -- > Chanwit Kaewkasi > code.google.com/p/zkgrails > twitter.com/chanwit -- Chanwit Kaewkasi code.google.com/p/zkgrails twitter.com/chanwit --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
