IntelliJ IDEA 13: Import Openfire source code

Source: Internet
Author: User

IntelliJ IDEA 13: Import Openfire source code

I have an article about how to import Openfire to IntelliJ IDEA (). However, during the import process, I feel that it can be simplified, so recompile the following code (Java SDK has been installed in advance, and SDK1.7 is used here ):

1. Open Intellij Idea and select Import Project

2. Select the directory where the openfire source code is located

3. Select Create Project

4. enter the project name (the name is random. Note that if you change the project name, the following points to the directory will change accordingly. Remember to change it back). Here we choose not to change or openfire_src.

5. next to finish.

6. After a moment, the Idea main interface is displayed. As you can see, the initial project is in the compilation error state.

7. this is because a rayo plug-in under the plugins directory uses the tinder class library, while openfire also uses this class library, but rayo's class library version is relatively old, the project uses the old class library. The simplest solution is to delete rayo...

You also need to delete the following four plug-ins:

8. Re-compile, and this time it should be successful.

9. Then we will start to configure ant. Open the ant window and click +.

10. Select the build. xml file in the build directory under openfire source code.

This interface is displayed when you select OK.

11. You don't have to worry about running it. We still need to complete the configuration step. For example, select Edit Configurations...

12. Select Application and change the openfireHome pointing path to the corresponding source code path, as shown in the configuration.

13. now, you can run the ant command. After ant-> run is complete, enter localhost: 9090 in the browser. The following page indicates that the import is complete, next, you can play with openfire at will.

Detailed installation process of Openfire in CentOS

Openfire server configuration notes based on Jabber/XMPP protocol in CentOS 5.4

Openfire 3.8.2 cluster configuration

Install Openfire on Ubuntu 12.04

Openfire solves Chinese garbled characters After MySQL database is used

Openfire details: click here
Openfire: click here

This article permanently updates the link address:

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.