Generar Clases skel y stub (RMI) in Netbeans


/ Published in: Java
Save to your folder(s)

Para genera clases de RMI skel y stub en proceso distribuidos


Copy this code and paste it in your HTML
  1. // 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,
  2. //para agregar que genere los .java se debe anadir el siguiente tab: sourcebase="${src.dir}
  3.  
  4. <target depends = "rmicSources" name="-post-compile-single">
  5. </target>
  6.  
  7. <target depends = "rmicSources" name="-post-compile">
  8. </target>
  9.  
  10. <target name="rmicSources">
  11. <rmic base="${build.classes.dir}" verify="true" debug="true"/>
  12. </target>
  13.  
  14. <target depends = "rmicSources" name="-post-compile-test-single">
  15. </target>
  16.  
  17. <target depends = "rmicSources" name="-post-compile-test">
  18. </target>
  19.  
  20. <target depends = "rmicSources" name="-pre-compile-test-single">
  21. </target>
  22.  
  23. <target depends = "rmicSources" name="-pre-compile-test">
  24. </target>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.