powered by Jive Software

Developing a plugin. Best practices

Hi!

I am trying to help/add features in the gateway plugin and i am getting tired of the

$ ant -Dplugin=gateway plugin

compile cycle, wait for a while until it creates the jar, etc, etc.

Supposedly, by using the openfire-dev.bat script you should be able to just compile the class you are interested in and the plugin should be updated.

I am not sure it is working correctly, nothing happens when i compile one class. Is the gateway plugin developer around, so he can enlighten me about how to do it?

Should i unload/load the plugin after changing this one class? Any more clues?

Thanks a lot for your attention and for this great peace of software!!

– G

You need to re-jar it and replace the jar on the server.