[ 
http://jira.codehaus.org/browse/MGROOVY-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130251#action_130251
 ] 

Jason Dillon commented on MGROOVY-128:
--------------------------------------

Anyways, there are several issues with the stub builder, as well as some 
maintenance issues keeping the code for 1.0 and 1.5 up to date and conforming 
to what Groovy actually does, so I'm gonna rewrite this stuff...

> static member variables not correctly handled by stub generator
> ---------------------------------------------------------------
>
>                 Key: MGROOVY-128
>                 URL: http://jira.codehaus.org/browse/MGROOVY-128
>             Project: Maven 2.x Groovy Integration
>          Issue Type: Bug
>          Components: stub generation
>    Affects Versions: 1.0-beta-4
>            Reporter: Andreas Heydler
>            Assignee: Jason Dillon
>
> The following groovy
> {code}
> class MainModel extends Model implements ExitListener {
>    public static final String ACTION_PRINT               = 'print',
>                               ACTION_OPEN_PRINT_DIALOG   = 'openPrintDialog',
>                               ACTION_OPEN_PREFERENCES    = 'openPreferences',
>                               ACTION_EXIT                = 'exit',
>                               ACTION_OPEN_TIP_OF_THE_DAY = 'openTipOfTheDay',
>                               ACTION_OPEN_HELP_CONTENTS  = 'openHelpContents',
>                               ACTION_OPEN_ABOUT_DIALOG   = 'openAboutDialog'
>    public static final String MONTH    = 'month',
>                               OPERATOR = 'operator',
>                               TOTALS   = 'totals'
> }
> {code}
> produces this (the static modifier is missing)
> {code}
> /**
>  * @source-type GROOVY
>  */
> public class MainModel extends Model implements ExitListener {
>       public String ACTION_PRINT = null;
>       public String ACTION_OPEN_PRINT_DIALOG = null;
>       public String ACTION_OPEN_PREFERENCES = null;
>       public String ACTION_EXIT = null;
>       public String ACTION_OPEN_TIP_OF_THE_DAY = null;
>       public String ACTION_OPEN_HELP_CONTENTS = null;
>       public String ACTION_OPEN_ABOUT_DIALOG = null;
>       public String MONTH = null;
>       public String OPERATOR = null;
>       public String TOTALS = null;
> }
> {code}

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