Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
mx4j
mx4j-3.0.2-use-external-rmic.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mx4j-3.0.2-use-external-rmic.patch of Package mx4j
Index: mx4j-3.0.2/build/build.xml =================================================================== --- mx4j-3.0.2.orig/build/build.xml 2009-11-19 12:06:13.000000000 +0100 +++ mx4j-3.0.2/build/build.xml 2009-11-19 12:07:43.722716675 +0100 @@ -254,8 +254,18 @@ </target> <target name="rmic.iiop" description="RMI compiles the remote JMX (JSR 160) classes"> - <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"/> + <exec executable="/usr/bin/gij"> + <arg value="-cp"/> + <arg value="${rmicclasses.jar.file}"/> + <arg value="gnu.classpath.tools.rmi.RMIC"/> + <arg value="-classpath"/> + <arg value="${core.classes.dir}"/> + <arg value="-verbose"/> + <arg value="-force"/> + <arg value="-iiop"/> + <arg value="javax.management.remote.rmi.RMIServerImpl"/> + <arg value="javax.management.remote.rmi.RMIConnectionImpl"/> + </exec> </target> <target name="compile.rjmx" description="Compiles the Remote JMX (JSR 160) classes" depends="compile.jmx" if="jaas.present"> @@ -263,8 +273,19 @@ <patternset refid="rmx4j.classes"/> <classpath refid="lib.classpath"/> </javac> - <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"/> + <exec executable="/usr/bin/gij"> + <arg value="-cp"/> + <arg value="${rmicclasses.jar.file}"/> + <arg value="gnu.classpath.tools.rmi.RMIC"/> + <arg value="-classpath"/> + <arg value="${core.classes.dir}"/> + <arg value="-verbose"/> + <arg value="-force"/> + <arg value="-iiop"/> + <arg value="-1.2"/> + <arg value="javax.management.remote.rmi.RMIServerImpl"/> + <arg value="javax.management.remote.rmi.RMIConnectionImpl"/> + </exec> <jar jarfile="${rjmx-boa.jar.file}" manifest="${etc.dir}/MANIFEST.MF"> <fileset dir="${core.classes.dir}"> @@ -400,17 +421,27 @@ <exclude name="mx4j/examples/remote/rmi/ssl/**" unless="jdk14.present"/> </javac> - <rmic base="${examples.classes.dir}" - classname="mx4j.examples.mbeans.rmi.MyRemoteServiceObject" - classpathref="classpath" - debug="true" - /> - <rmic base="${examples.classes.dir}" - classname="mx4j.examples.mbeans.iiop.HelloImpl" - classpathref="classpath" - debug="true" - iiop="yes" - /> + <exec executable="/usr/bin/gij"> + <arg value="-cp"/> + <arg value="${rmicclasses.jar.file}"/> + <arg value="gnu.classpath.tools.rmi.RMIC"/> + <arg value="-classpath"/> + <arg value="${examples.classes.dir}"/> + <arg value="-verbose"/> + <arg value="-force"/> + <arg value="mx4j.examples.mbeans.rmi.MyRemoteServiceObject"/> + </exec> + <exec executable="/usr/bin/gij"> + <arg value="-cp"/> + <arg value="${rmicclasses.jar.file}"/> + <arg value="gnu.classpath.tools.rmi.RMIC"/> + <arg value="-classpath"/> + <arg value="${examples.classes.dir}"/> + <arg value="-verbose"/> + <arg value="-force"/> + <arg value="-iiop"/> + <arg value="mx4j.examples.mbeans.iiop.HelloImpl"/> + </exec> <mkdir dir="${dist.examples.dir}"/> <jar jarfile="${examples.jar.file}" manifest="${etc.dir}/MANIFEST.MF">
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor