[ 
http://jira.codehaus.org/browse/MRMIC-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Gier updated MRMIC-20:
---------------------------

             Assignee: Paul Gier
    Affects Version/s:     (was: 1.0-beta-1)
        Fix Version/s: 1.0-beta-1

> No stubs are created for remote interfaces in IIOP mode
> -------------------------------------------------------
>
>                 Key: MRMIC-20
>                 URL: http://jira.codehaus.org/browse/MRMIC-20
>             Project: Maven 2.x RMIC Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-1
>            Reporter: Marco van Zwetselaar
>            Assignee: Paul Gier
>             Fix For: 1.0-beta-1
>
>         Attachments: rmic-iiop.patch
>
>
> The RMIC plugin does not generate stubs for interface classes, regardless of 
> whether they extend {{java.rmi.Remote}}. 
> When in RMI mode (default), this is correct. RMI stubs are needed only for 
> remote object classes. When in IIOP mode, however, RMIC should process 
> interfaces that extend {{java.rmi.Remote}} and generate stubs for these 
> interfaces.
> The fix is straightforward: change RmicMojo.java:184 from
> {code}
> if ( java.rmi.Remote.class.isAssignableFrom( remoteClass ) && ( 
> !remoteClass.isInterface() ) )
> {code}
> to 
> {code}
> if ( java.rmi.Remote.class.isAssignableFrom( remoteClass ) && ( 
> !remoteClass.isInterface() || isIiop() ) )
> {code}
> I have included a patch against current (1.0-beta-1) svn.

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