[ 
http://jira.codehaus.org/browse/MGROOVY-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_120603
 ] 

Jason Dillon commented on MGROOVY-102:
--------------------------------------

Ugh, this has the unfortunate side-effect of causing mojo parameter injection 
to properties to fail :-(

This fails:

{code}
    /**
     * @parameter expression="${project}"
     */
    def project
{code}

This works:

{code}
    /**
     * @parameter expression="${project}"
     */
    private def project
{code}


> Getters/Setters should be generated for properties.
> ---------------------------------------------------
>
>                 Key: MGROOVY-102
>                 URL: http://jira.codehaus.org/browse/MGROOVY-102
>             Project: Maven 2.x Groovy Integration
>          Issue Type: Improvement
>          Components: stub generation
>    Affects Versions: 1.0-beta-3
>            Reporter: Luke Daley
>            Assignee: Jason Dillon
>             Fix For: 1.0-beta-4
>
>
> Consider the following ...
> public interface ExampleInterface {
>     public void setExampleProperty(Object exampleProperty);
> }
> And the following groovy class ...
> class ExampleClass implements ExampleInterface {
>     def exampleProperty
> }
> This should work and does if you aren't using the joint compile stuff.

-- 
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

Reply via email to