rmic with -poa option

David R Robison <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
When trying to use mx4j with jacORB I have a problem that the stubs generated
with rmic generate the iiop interface but not the poa interface. JacORB no
longer support the BOA (used by the -iiop) and requires the POA (generated by
the -poa option). Changing the rmic task in build.xml to the following makes
JacORB compatable:

<rmic base="${core.classes.dir}"
classname="javax.management.remote.rmi.RMIServerImpl" classpathref="classpath"
debug="yes" iiop="yes" >
   <compilerarg value="-poa" />
</rmic>
<rmic base="${core.classes.dir}"
classname="javax.management.remote.rmi.RMIConnectionImpl"
classpathref="classpath" debug="yes" iiop="yes" >
   <compilerarg value="-poa" />
</rmic>

Would there be a problem making this change in future version of mx4j?

Thanks,
David Robison


--
David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd.,
Chesapeake, VA 23322 phone: (757) 546-3401 e-mail:
[email protected] web: http://openroadsconsulting.com


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.