Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Hey! Why did you(u = Eclipse) delete my RMI stub files?!
Hey! Why did you(u = Eclipse) delete my RMI stub files?! [message #120397] Mon, 24 November 2003 21:16 Go to next message
Eclipse UserFriend
Originally posted by: natgross.rentalsystems.verizon.net

Yes, I know that if preferences is set to "scrub all" prior to rebuild, it will
delete all class files, but hey, all my rmic-genned class files are in the same
directory. So...does Eclipse have some automated trick as to how to track/save the
stub files?
With Netbeans, I simply stored em all in the same directory. (I did NOT use their
rmi-automation classes, plain simple rmic.)

thanks
-nat
Re: Hey! Why did you(u = Eclipse) delete my RMI stub files?! [message #120476 is a reply to message #120397] Mon, 24 November 2003 22:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.forritan.net

One way is to generate source-files instead of class-files with rmic. In
your src directory you write:

rmic -keep -nowrite whateverImpl.java

and you will get a whateverImpl_Stub.java, which eclipse then will
compile together with the rest of the source. Not quite optimal, but it
works.

Regards,
-eyðun

natG wrote:

> Yes, I know that if preferences is set to "scrub all" prior to rebuild, it will
> delete all class files, but hey, all my rmic-genned class files are in the same
> directory. So...does Eclipse have some automated trick as to how to track/save the
> stub files?
> With Netbeans, I simply stored em all in the same directory. (I did NOT use their
> rmi-automation classes, plain simple rmic.)
>
> thanks
> -nat
>
>
Re: Hey! Why did you(u = Eclipse) delete my RMI stub files?! [message #120514 is a reply to message #120476] Mon, 24 November 2003 22:13 Go to previous messageGo to next message
Genady Beryozkin is currently offline Genady BeryozkinFriend
Messages: 410
Registered: July 2009
Senior Member
You can use the RMI plugin to automate the process of the RMI stubs.
It also provides a simple way to specify the RMI VM properties.

Get the plugin: http://www.genady.net/rmi/
Screenshots: http://www.genady.net/rmi/screenshots/

You can also use the (new, alpha-level) autogenerated files plugin to
control the files deletion on "rebuild-all" action.

Genady

Eyðun Nielsen wrote:
> One way is to generate source-files instead of class-files with rmic. In
> your src directory you write:
>
> rmic -keep -nowrite whateverImpl.java
>
> and you will get a whateverImpl_Stub.java, which eclipse then will
> compile together with the rest of the source. Not quite optimal, but it
> works.
>
> Regards,
> -eyðun
>
> natG wrote:
>
>> Yes, I know that if preferences is set to "scrub all" prior to
>> rebuild, it will
>> delete all class files, but hey, all my rmic-genned class files are in
>> the same
>> directory. So...does Eclipse have some automated trick as to how to
>> track/save the
>> stub files?
>> With Netbeans, I simply stored em all in the same directory. (I did
>> NOT use their
>> rmi-automation classes, plain simple rmic.)
>>
>> thanks
>> -nat
>>
>>
>
Re: Hey! Why did you(u = Eclipse) delete my RMI stub files?! [message #120551 is a reply to message #120397] Tue, 25 November 2003 00:59 Go to previous message
Eclipse UserFriend
Originally posted by: natgross.rentalsystems.verizon.net

It so happens, that I searched comp.lang.java.programmer and came across Genandy's
plug-in.
I was very impressed, and it did the job, seamlessly. (After I enabled the -keep
option.)

Now, that I see that the -keep option manually will also pull the trick, I *might*
opt this way. Just to keep from bloating the ide.
(The cost of the add-on is unfortunatley a non-issue, since I am eligible for the
free version.)

Thank you both;
nat
Previous Topic:Any Swing Visual Composition tool available in Eclipse?
Next Topic:More CVS wierdness in E3-M5
Goto Forum:
  


Current Time: Sun Jul 21 13:37:40 GMT 2024

Powered by FUDForum. Page generated in 0.03261 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top