OpenFire Plugin Compilation

Source: Internet
Author: User
1. Create plug-ins with reference to the existing plug-in directory structure in OpenFire

Plugin creation related content to be continued.


2. Configuring the ant compilation plugin

Select the plugin entry in the Ant window, mail select Run as or Ant Build in debug as ..., select the Main tab page in the popup dialog box, and enter the following in the arguments: input box:

-dplugin=chat

Where chat is the name of the plugin. Consistent with name in the Plugin.xml file in the plugins directory. As follows:

Click Run to start compiling, and after the compilation is complete, you can see the compiled plug-in jar package in the Work\plugins directory of the OpenFire directory.


3. Testing

Run OpenFire, the browser login management interface, in the Plug-in tab page of the plugin page can see the plugin information.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.