Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipse-dev] eclipse and RMI


Good question.  A context-menu option for running rmic would be a good
feature, or maybe even an automatic rmic compiler for any class that
extends RemoteObject.  I ran into the same problem a week ago and worked
around it with a shell script and didn't think to log a feature request.

For the time being, did you try putting tools.jar in the Ant classpath?
That should fix the error when using Ant to run rmic.

Scott Stirling
Framingham, MA

> -----Original Message-----
> From: eclipse-dev-admin@xxxxxxxxxxx 
> Greetings, i'm just new in this ML. And i don't know if it is 
> the right place to ask my question.
> I'm trying to use make eclipse compile rmi stubs. But i don't 
> know how to tell eclipse to do it.
> I tried using ant:
> <target name="compile-rmi" description="stubs RMI">
> <rmic classname="" stubversion="1.2" 
> base="${src_core}" /> </target>
> But i get a strange error: "Couldn't guess rmic 
> implementation" I have really looked on google.. it didn't 
> find any infos. And i also didn't found the way to use 
> eclipse and the RMI.
> Thanks a lot
> Best regards,
> matt

Back to the top