Bug 7879 - RMI stub and skeleton generation
Summary: RMI stub and skeleton generation
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P4 enhancement with 11 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 16255 74143 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-18 05:18 EST by Matthias Gottschlich CLA
Modified: 2009-08-30 02:24 EDT (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Gottschlich CLA 2002-01-18 05:18:05 EST
eclpise should generate stubs and skeletons for "RMI-classes"
Comment 1 Philipe Mulet CLA 2002-02-12 08:04:03 EST
Passing it on
Comment 2 Erich Gamma CLA 2002-02-12 08:19:32 EST
RMI support isn't on the plan for 2.0.

This is an excellent plugin contribution opportunity. 

You can use the RMI ant tasks to help you with the stub generation.
Comment 3 Erich Gamma CLA 2002-03-20 06:03:15 EST
deferring
Comment 4 Genady Beryozkin CLA 2002-05-17 06:28:23 EDT
Erich,
yet another contribution (work in progres):

Try this plugin: 
http://sourceforge.net/project/showfiles.php?group_id=53485

Release notes:
http://sourceforge.net/project/shownotes.php?release_id=90026

It runs JDK's rmic on all classes that implement java.rmi.Remote

(However it is not fully automatic yet)
Comment 5 Dirk Baeumer CLA 2002-07-24 10:30:08 EDT
*** Bug 16255 has been marked as a duplicate of this bug. ***
Comment 6 Genady Beryozkin CLA 2002-07-26 11:58:24 EDT
the plugin has significantly improved since my first post.
you may look at the source.
Comment 7 Genady Beryozkin CLA 2002-09-12 15:52:59 EDT
Are you going to re-implement it although a sepatate plugin is available ?

Genady
Comment 8 Dirk Baeumer CLA 2002-09-13 03:52:13 EDT
We are sitll in the planning pahse for 2.1 but it will very likely not be 
addressed in 2.x. That's why it is tagged as help wanted. May be one of the 
Open source plugins can be contributed ?
Comment 9 Genady Beryozkin CLA 2002-09-13 05:20:12 EDT
In principle it is possible (speaking as the author of such plugin) to 
contribute the code.
However, today the plugin is distributed  under slighlty modified GPL license.
I need to understant what contribution means in terms of copyright issues and 
license type.

email me when you decide to include it in the release plans
Comment 10 Dirk Baeumer CLA 2003-04-28 06:03:09 EDT
Chaning state from assigned later to resolved later. Assigned later got 
introduced by the last bug conversion and is not a supported Eclipse bug state.
Comment 11 Russell Gonsalves CLA 2003-08-11 09:12:57 EDT
I understand that Genady's plugin starting at version 1.5 requires a fee for 
commercial use.  For Eclipse to become a quality development environment it 
must (in my opinion) generate stubs for remote objects out of the box.  I've 
used Genady's plugin and it appears to do the job.  I'd be interested in the 
Eclipse team and Genady coming to some agreement on the licensing issues so 
that Genady's plug-in becomes part of the Eclipse offering.
Comment 12 Chris Replogle CLA 2003-08-11 09:47:54 EDT
I also agree the support for RMI is a missing component of Java suport in 
Eclipse.  I have used Genady's plugin and have been very pleased with it.  RMIC 
should however be an included part of eclipse's java supoort in my opinion.
Comment 13 Dirk Baeumer CLA 2003-08-11 13:56:10 EDT
Without external contributions this will very likely not happen for 3.0 
Comment 14 Jimisola Laursen CLA 2003-12-01 14:51:58 EST
This bug enhancement should have a higher priority. RMI support should be
included of the box with Eclipse. Genady's plugin is nice, very nice, but it's a
nowadays not free for commercial use.
Comment 15 Jimisola Laursen CLA 2004-01-19 13:59:30 EST
What the status on this feature? It has been assigned for quite some time...
Comment 16 Dirk Baeumer CLA 2004-09-17 04:01:07 EDT
*** Bug 74143 has been marked as a duplicate of this bug. ***
Comment 17 Jimisola Laursen CLA 2005-06-15 13:29:28 EDT
Me again... There does not seem to be any activaty on this one. What is the
status of this bug? It is assigned but will this be incorporated to Eclipse?
Comment 18 Jimisola Laursen CLA 2005-06-15 18:09:21 EDT
There is a solution for this.

Add a hook to when the workspace/project is cleaned or rebuild then run an Ant
target that compiles the RMI stubs/skels for you. Just did it and it works very
nice.

For more information(thanks to Darin Swanson for the reference):

"Take a look at the Eclipse help:

Workbench User Guide>Getting Started>Ant & External tools tutorial>Use cases
for Ant in Eclipse>Ant buildfiles as project builders"


Make sure that you add the "Ant Build" AFTER the "Java Builder".
Comment 19 Martin Aeschlimann CLA 2006-06-16 05:59:38 EDT
Still no intention to include support for this in JDT, sorry. It's a matter of available manpower in the team: the time needed to add and especially to maitain it. This is really a nice area for an external contribution, and we'd also be interested in integrating a solution in JDT.UI if somebody is ready to maintain it.
Comment 20 Genady Beryozkin CLA 2006-06-16 08:36:30 EDT
First, if you're using Java 5.0 you can do well without stubs generation.

More to the point - I obviously can't contribute the entire code of the RMI Plugin, but if anybody at Eclipse/IBM is serious about working with me on some smaller contribution, I'll be glad to help.
(We could be already past all this in 2002....)

Besides, the older code (version 1.4) is GPL-licensed, and I have no problem to relicense it under EPL if that will help anybody. I believe it still works with Eclispe 3.2 (maybe some minor modifications are required).

Genady
Comment 21 Martin Aeschlimann CLA 2006-06-16 09:01:59 EDT
The GPL license is the big problem and is why I can't look at your code. So yes, EPL would be great. It would be great if you have the time to adapt your plugin so we can integrate this in JDT UI; it seems this is a wish of quite some users. I'll be glad to help.
Comment 22 Russell Gonsalves CLA 2006-06-16 09:37:11 EDT
Yes, the older version of the plug-in still works (perfectly for me) in 3.2 (I need to use Java 1.4).  From my perspective this is one hole that really should be addressed to make Eclipse a complete product.  So, if something can be worked out with Genaday it would be much appreciated.
Comment 23 Genady Beryozkin CLA 2006-10-19 18:04:55 EDT
Guys, unfortunately I didn't have much time working on a possible code contribution when we restarted this discussion. The old SF code requires much work to be brought to a state acceptable for a contribution.

I also think that since dynamic proxies introduction in Java 5.0, providing basic "rmic" functionality is no longer the no.1 issue for RMI developers. There are also various issues of using internal "sun" code which I'm not sure how well they will be accepted by the Eclipse committers (Martin?). 
So instead I focused on adding some new cool features to the RMI Plugin. And it's still free for personal use.

Genady
P.S. If you wish to try the new features, the new URL is http://www.genady.net/rmi/v20/ (check v2.0.2, now still in beta)
Comment 24 Martin Aeschlimann CLA 2006-10-20 14:02:59 EDT
Usage of sun package is indeed a problem to be released in Eclipse.


Comment 25 Denis Roy CLA 2009-08-30 02:24:06 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.