Hi,
I'm writing my own plugin and would like to use the Monitoring Plugin from my plugin.
In my own java class:
import org.jivesoftware.openfire.plugin.MonitoringPlugin;
……..
MonitoringPlugin plugin = (MonitoringPlugin)XMPPServer.getInstance().getPluginManager().getPlugin("monito ring");
but during building with
ant -f build/build.xml -Dplugin=myPlugin plugin
I obtain:
[of.javac] /Volumes/Sources/Openfire/src/plugins/myPlugin/src/java/org/jivesoftware/openfi re/plugin/myPlugin/ServiceManager.java:25: error: cannot find symbol
[of.javac] import org.jivesoftware.openfire.plugin.MonitoringPlugin;
[of.javac] ^
[of.javac] symbol: class MonitoringPlugin
[of.javac] location: package org.jivesoftware.openfire.plugin