Hey! Why did you(u = Eclipse) delete my RMI stub files?! [message #120397] |
Mon, 24 November 2003 21:16 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Genady Beryozkin![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=eclipse%40genady.org) 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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04318 seconds