mx4j/build build.xml,1.95,1.96
Simone Bordet <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mx4j/mx4j/build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16134/build
Modified Files:
build.xml
Log Message:
Compiling IIOP stubs with the -poa option if JDK 1.4 is present, to allow interoperability with JacORB (reported by David Robinson)
Index: build.xml
===================================================================
RCS file: /cvsroot/mx4j/mx4j/build/build.xml,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** build.xml 5 Apr 2004 19:41:58 -0000 1.95
--- build.xml 29 Jun 2004 15:49:56 -0000 1.96
***************
*** 256,259 ****
--- 256,273 ----
</jar>
</target>
+
+ <target name="rmic.iiop.poa" description="RMI compiles the remote JMX (JSR 160) classes using the -poa option" if="jdk14.present">
+ <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>
+ </target>
+
+ <target name="rmic.iiop" description="RMI compiles the remote JMX (JSR 160) classes" unless="jdk14.present">
+ <rmic base="${core.classes.dir}" classname="javax.management.remote.rmi.RMIServerImpl" classpathref="classpath" debug="yes" iiop="yes"/>
+ <rmic base="${core.classes.dir}" classname="javax.management.remote.rmi.RMIConnectionImpl" classpathref="classpath" debug="yes" iiop="yes"/>
+ </target>
<target name="compile.rjmx" description="Compiles the Remote JMX (JSR 160) classes" depends="compile.jmx" if="jaas.present">
***************
*** 264,269 ****
<rmic base="${core.classes.dir}" classname="javax.management.remote.rmi.RMIServerImpl" classpathref="classpath" debug="yes" stubversion="1.2"/>
<rmic base="${core.classes.dir}" classname="javax.management.remote.rmi.RMIConnectionImpl" classpathref="classpath" debug="yes" stubversion="1.2"/>
! <rmic base="${core.classes.dir}" classname="javax.management.remote.rmi.RMIServerImpl" classpathref="classpath" debug="yes" iiop="yes"/>
! <rmic base="${core.classes.dir}" classname="javax.management.remote.rmi.RMIConnectionImpl" classpathref="classpath" debug="yes" iiop="yes"/>
<jar jarfile="${rjmx.jar.file}" manifest="${etc.dir}/MANIFEST.MF">
--- 278,283 ----
<rmic base="${core.classes.dir}" classname="javax.management.remote.rmi.RMIServerImpl" classpathref="classpath" debug="yes" stubversion="1.2"/>
<rmic base="${core.classes.dir}" classname="javax.management.remote.rmi.RMIConnectionImpl" classpathref="classpath" debug="yes" stubversion="1.2"/>
! <antcall target="rmic.iiop"/>
! <antcall target="rmic.iiop.poa"/>
<jar jarfile="${rjmx.jar.file}" manifest="${etc.dir}/MANIFEST.MF">
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com