ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3656] New: - RMIC fails in ant1.4 with UnicastRemoteObject not found
Date Mon, 17 Sep 2001 16:18:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3656>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3656

           Summary: RMIC fails in ant1.4 with UnicastRemoteObject not found
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: philippe.lavoie@cactus.ca


Here is the output from ant

compile:
    [javac] Compiling 46 source files to /home/plavoie/project/vbc/build/classes
    [rmic] RMI Compiling 1 class to /home/plavoie/project/vbc/build/classes
     [rmic] error: Class java.rmi.server.UnicastRemoteObject not found in class
ca.cactus.service.RemoteBaseServiceImpl.
     [rmic] 1 error


Here is the relevant section of my build.xml file.

<javac srcdir="${src.dir}" destdir="${build.dest}" debug="${debug}"
optimize="${optimize}" deprecation="${deprecation}">
         <classpath refid="project.class.path"/>
</javac>

<rmic classpathref="project.class.path"
classname="ca.cactus.service.RemoteBaseServiceImpl" base="${build.dest}"
debug="yes"/>

and here is the definition of RemoteBaseServiceImpl


import java.rmi.server.UnicastRemoteObject;

public abstract class RemoteBaseServiceImpl extends UnicastRemoteObject
	implements RemoteBaseService, CrudListener {
...
}

This was working fine in ant1.3

I'm using 
> uname -a
Linux tux.cactus.ca 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown

> java -version
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

Mime
View raw message