Method One:
OpenFire By default, it compiles both the main program and all plug-ins in the plugins directory. But when it comes to plug-in development, it's too time-consuming to compile.
using ant plugins can only compile plug-ins, which can save some time.
The most time-saving compilation method is to compile using ant plugin-dplugin=xxx at the command line, where xxx is the plug-in name (a subdirectory name under the plugins directory), so you can compile only the specified plug-in, saving time and effort.
The setting method in Eclispe is:
1. First add the OpenFire builder.xml file to the ant view.
2. Locate the plugin target and select the Open External Tool dialog box
3, enter the name of this compilation, and the plugin to be compiled, the parameter form is-dplugin=xxx
4. Select Plugin in targets
5. After saving, the configuration process is complete. To compile, just select the ant build ..., and then select your own defined name to
Method Two:
After 1, 2, step operation of method one, add plugin property in properties, the property value is to write the name of the plug-in, and then follow method one of the 4, 5 steps operation
OpenFire single Plug-in compilation