I have looked throught the list of messages from this list and on the web,
and can not find the answer to the following problem. On the RMIC task I set
the verify attribute to true. This should only pass classes the implement
the remote interface. This is being done to EJB files. The problem is that
files that do not implement the remote interface are being sent to the rmic
command. It is as if the verify option is not set. Below is the segement of
the build.xml that executes this and a sample of the errors. What is wrong?
Thanks for any help.
<target depends="init, compileDataModel, compileCommon"
description="This will compile the beans and run rmic to produce stub
files." name="compileBeans">
<javac deprecation="true" srcdir="${basedir}" target="${JVMTARGET}">
<classpath>
<path>
<pathelement location="IBMEnterExtLibs.jar"/>
<pathelement location="ibmservletapi.jar"/>
<pathelement location="klgroup.jar"/>
<pathelement location="log4j.jar"/>
<pathelement location="persistence.jar"/>
<pathelement location="xml4j2016.jar"/>
<pathelement location="websphereTestEnv.jar"/>
<pathelement location="IBMejbtools.jar"/>
<pathelement path="${basedir}/binaries"/>
<pathelement path="${basedir}"/>
</path>
</classpath>
<patternset>
<include id="beansDirs" name="**/*ejb*/**"/>
</patternset>
</javac>
<rmic base="C:\Projects\NWBuild" debug="false"
includes="**/*ejb*/**/*.class" sourcebase="C:\Projects\NWBuild"
stubversion="${JVMTARGET}" verify="true">
<classpath>
<path>
<pathelement location="IBMEnterExtLibs.jar"/>
<pathelement location="ibmservletapi.jar"/>
<pathelement location="klgroup.jar"/>
<pathelement location="log4j.jar"/>
<pathelement location="persistence.jar"/>
<pathelement location="xml4j2016.jar"/>
<pathelement location="websphereTestEnv.jar"/>
<pathelement location="IBMejbtools.jar"/>
<pathelement path="${basedir}/binaries"/>
<pathelement path="${basedir}"/>
</path>
</classpath>
</rmic>
</target>
[rmic] error: Class
com.calebtech.airline.nwa.crew.ejb.airport.EJSAirportSearchHomeBean does not
implement an interface that extends java.rmi.Remote; only remote objects
need stubs and skeletons.
[rmic] error:
com.calebtech.airline.nwa.crew.ejb.airport.AirportSearchHome is an
interface; stubs are needed only for remote object classes.
[rmic] error: Class
com.calebtech.airline.nwa.crew.ejb.airport.AirportSearchBean does not
implement an interface that extends java.rmi.Remote; only remote objects
need stubs and skeletons.
[rmic] error: com.calebtech.airline.nwa.crew.ejb.airport.AirportSearch
is an interface; stubs are needed only for remote object classes.
Monte Morast II
CALEB Technologies, Corp.
512-345-1973 x143
[EMAIL PROTECTED]
The information contained in this message is confidential, and is intended
only for the use of the individual(s) named above. If the reader of this
message is not the intended recipient, you are hereby notified that any
copying, disclosure or distribution to others, or other use of this message
in any form is strictly prohibited. If you have received this message in
error or are not the intended recipient, please notify the sender and delete
this message from your system.