OpenFire single Plug-in compilation

Source: Internet
Author: User

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

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.