powered by Jive Software

Plugin fails to compile with 3.4.0 beta

Our custom plugin is failing to compile, and I can’t seem to find a download for the source code to check out what has changed. Here is the offending line:

cannot find symbol

symbol : method getConnection()

location: interface org.jivesoftware.openfire.session.ClientSession

Connection conn = session.getConnection();

Are there updated JavaDocs somewhere for the beta, or should I just get the source from SVN? So far my experience with the beta has been excellent, great work!

Checked out the source from SVN and saw that I can just use the ClientSession itself now, and no longer need to get a Connection object. Everything else compiles just fine, I’m impressed that despite all the internal changes the API remained so stable, great work!

BenV wrote:

I’m impressed that despite all the internal changes the API remained so stable, great work!

That is 100% the magic of using Objects. Those were my exact words while I was in the middle of the big refactoring…“Thank god we are using objects…”

Regards,

– Gato