[CompStrm Wiki] On running AwSwingClient outside of NetBeans
Status: Beta
Brought to you by:
blaforge
From: Bill la F. <laf...@ya...> - 2006-05-09 01:03:41
|
Like AwServer, AwSwingClient can be run from or outside of NetBeans. (You can even run the server and multiple clients from within NetBeans. Its a great tool.) Here I'll only give a few pointers, as I've already covered how to run AwSwingClient connected to agilewiki.org. But first, a quick note about AwServer. When it is started successfully, it always displays the message AgileWiki3 Server is ready. There are things that can cause problems. If for example you forgot to delete that AgileWiki.properties file, it will just hang because the rmiregistry is confused by the host name that was given. It will also hang if you try to run more than one copy of AwServer. OK, again in the top-level directory, AgileWiki3, there is a startSwingClient.bat file. This file contains the following: java -jar AwSwingClient\dist\AwSwingClient.jar Again, the directory containing the jar file must have a lib directory. The lib directory must contain both AwCommon.jar AND swing-layout-1.0.jar. (The swing layout jar file is provided by NetBeans.) When you start running the swing client, it prints one line: rmiName=Ark This is important. It tells you which server you are connecting to. When connecting to the server at agilewiki.org, it prints this line: rmiName=//agilewiki.org:1099/Ark --------------------------------- Yahoo! India Answers: Share what you know. Learn something new. Click here Send instant messages to your online friends - NOW |