[
http://jira.codehaus.org/browse/MGROOVY-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161315#action_161315
]
Jason Dillon commented on MGROOVY-174:
--------------------------------------
Do you have any pointers to mailing list items that relate to this problem?
I'm not sure there is much I can do about this right now. I've yet to even use
a transform, so I have no use case yet. I recall some talk about this... but
not sure what the results were. Since Groovy 1.6 is close to a release,
probably could get the fix into 1.7 or 1.6.1 or something?
> Transforms don't work under GMaven
> ----------------------------------
>
> Key: MGROOVY-174
> URL: http://jira.codehaus.org/browse/MGROOVY-174
> Project: GMaven
> Issue Type: Bug
> Components: compile
> Affects Versions: 1.0-rc-4
> Reporter: Peter Niederwieser
> Assignee: Jason Dillon
> Priority: Critical
> Fix For: 1.0-rc-5
>
>
> Transforms don't work at all for applications compiled with GMaven. GMaven
> provides a custom class loader to avoid pollution of the compile class path.
> As far as I remember, this class loader doesn't satisfy the assumption made
> by the transform implementation that it can load a transform and cast it to
> ASTTransformation (i.e. the instanceof check fails). I tried to address the
> root problem in http://jira.codehaus.org/browse/GROOVY-3169, but it was
> decided that it was too late for such a major change to make it into 1.6.
> However, some workaround has to be found so that transforms do work under
> GMaven by the time Groovy 1.6 is released. Otherwise, many Groovy projects
> won't be able to use transforms, possibly for a long time to come.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email