Samples broken?

  4 posts   Feedicon  
Replies: 3 - Last Post: June 23, 2010 16:58
by: Vincent Cantin
« Older Topic » Newer Topic
showing 1 - 4 of 4
 
Posted: June 22, 2010 21:33 by peter_lavalle2
Hello,

I'm trying to use the RD samples for JNAG but ... I can't seem to find some of the files.

The imports for ...
  • com.lemoulinstudio.jnag.utils.rds.server.MessageSenderToClientSession
  • game.network.Root
  • game.network.Configuration

... can't find their files, and nothing looks promising.

Also, the EchoServer and EchoClient imports seem to be out of date.


Does anyone have a working version of the samples they can share?
 
Posted: June 23, 2010 07:30 by Vincent Cantin
Hello Peter,

Which version of the samples are you trying?
Are they from the Mercurial repository ?
Please provide the error messages that you can get when you compile.

If something is broken I will fix it.
 
Posted: June 23, 2010 08:47 by peter_lavalle2
Sorry ... <excuses> I was at home when I looked at it I think I skipped a step.</excuses>
I cloned the source files from (https://hg.kenai.com/hg/jnag~sample) and built them myself (no maven) which seems to have missed some part of the process.

I stuck them on my desktop here and ran maven "install" which seems to have done it.
So ... I must have missed some step which generated these proxies? Possibly using the annotation processor? I'm going to read the full manual and try to understand what's going on
 
Posted: June 23, 2010 16:58 by Vincent Cantin
I think you missed the part that generated the proxies and other classes. This step is done before the compilation of the client and before the compilation of the server. Using Maven is not mandatory but it is recommended (that's the easy way).

Good luck and let me know if you get stuck again.
Replies: 3 - Last Post: June 23, 2010 16:58
by: Vincent Cantin
« Older Topic » Newer Topic
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close