[Pogamut-list] Added Pogamut2 message

hauz pogamut-forum at artemis.ms.mff.cuni.cz
Mon Mar 2 23:36:06 CET 2009


Re: Re: Added Pogamut2 message

Author: hauz

Hello Jakub,

  prefect tip, thank you;) It's working now. I have simply replaced PogamutCore.jar from cz-cuni-pogamut-netbeansplugin.nbm with updated PogamutCore.jar from PogamutPlatform dir. I guess (hope :) ) it's the same.

Thank you once more and see you (:mrgreen:)
Mira



> Hi hauz,
> 
> congrat! You're almost there :-)
> 
> Are you using Pogamut NB plugin? If so you will have to recompile it, otherwise
> you will be still using the old pomugat-core.jar that is inside the NB.
> 
> 1) check NB, find uninstaller for modules + restart NB
> 2) open PogamutPluginSuite in NB (check open required project), open Core in NB
> 3) build Core, build PogamutPluginSuite (in this order) ... if no errors rightclick on PogamutPluginSuite and pick Create NBMs ... find .nbm files and install them again
> voila you have updated the plugin with new core
> 
> Hope it helps!
> 
> Cheers!
> 
> Jakub
> 
> > Hello guys :)
> > 
> > I've added new massage into Pogamut2 core following your documentation. That means in steps:
> > 
> > 1) Added new GameBot2004 message + updated UT2004 server
> > 2) Added new message type into cz.cuni.pogamut.MessageObjects.MessageType.java
> > 3) Added new message object into cz.cuni.pogamut.MessageObjects.MessageObject.java
> > 4) Added new message object class into cz.cuni.pogamut.MessageObjects
> > 5) Updated bot_msg.flex
> > 6) Generated new yylex.java using JFlex
> > 7) Successfuly compiled Pogamut2 :)
> > 8) Created PogamutCore.jar + updated PogamutPlatform directory
> > 
> > But now when I run NB I am unable to access my new message (class). I set my message in cz.cuni.pogamut.MessageObjects.MessageType.java as OBJECT.
> > 
> > Can you help me, where and how can I access my class?
> > 
> > Thank you,
> > Mira
> > 
> > PS: I'm user of Pogamut2 (version 2.2) in Linux (core 2.6.27-7-generic) with Java (version 1.6.0_0) and NetBeans 6.1(Build 080905)





More information about the Pogamut-list mailing list