/ Published in: Java

Para genera clases de RMI skel y stub en proceso distribuidos
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Se debe Modificar el build.xml del proyecto a utilizar RMI, se le debe adicionar las siguiente lineas. ojo aqui solo se genera los .class, //para agregar que genere los .java se debe anadir el siguiente tab: sourcebase="${src.dir} <target depends = "rmicSources" name="-post-compile-single"> </target> <target depends = "rmicSources" name="-post-compile"> </target> <target name="rmicSources"> <rmic base="${build.classes.dir}" verify="true" debug="true"/> </target> <target depends = "rmicSources" name="-post-compile-test-single"> </target> <target depends = "rmicSources" name="-post-compile-test"> </target> <target depends = "rmicSources" name="-pre-compile-test-single"> </target> <target depends = "rmicSources" name="-pre-compile-test"> </target>
Comments
