Does anyone know how to use RMI in PB? I can't figure out where to tell PB to build the stub files.
My code works fine if I compile on the command line with the following:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier> javac Controller/*.java
rmic Controller.CATSImpl
java -Djava.rmi.server.codebase=http:<font color = brown>//<font color = blue>192.168</font>.<font color = blue>0.151</font>/~mark/CATS/ -Djava.security.policy=$HOME/Sites/CATS/policy Controller.CATS</font>
</font>[/code]
The third line in the above isn't important (that's just how I run the final thing), what I would like to know is where in the active target do I include the rmic command and how do I tell PB to add the resulting stub classes to the .jar file so that the rmiregistry can find them at runtime?
Thanks for your help.