I get the following from ant

     [rmic] 1 error
     [rmic] RMI Compiling 1 class to /home/plavoie/project/vbc/java
     [rmic] error: Class java.rmi.server.UnicastRemoteObject not found in
class com.x.business.MgrImpl.
     [rmic] 1 error

BUILD SUCCESSFUL


yet

        rmic -classpath ${basedir}/java com.x.business.MgrImpl

from the command line works.


The build.xml looks like

        <rmic classpathref=".." classname="com.x.business.MgrImpl"
base="${basedir}/java"/>

I also don't understand why it says that it is successfull if there is an
error...

Please let me know what I need to do to remove the
java.rmi.server.UnicastRemoteObject error. Thanks.

Phil

PS I'm using Java 1.3 under Linux.

Reply via email to