Deploy openfire4.0.4 (latest version) source in eclipse

Source: Internet
Author: User
Deploy openfire4.0.4 (latest version) source in Eclipse
Today, while studying OpenFire, I read a few technical articles about the OpenFire source deployment to eclipse, but none of them are the latest version of 4.0.4, at the same time, the installation of the jdk,eclipse is not the same causes the configuration problems are not the same, Here to record the small series of their own configuration process, I hope you have some help.

Reprint Please specify source: http://blog.csdn.net/w690333243/article/details/53458728

Welcome to Exchange, group 238696947 One, download:
Eclipse HTTPS://WWW.ECLIPSE.ORG/DOWNLOADS/PACKAGES/ECLIPSE-IDE-JAVA-EE-DEVELOPERS/LUNASR2


OpenFire official website http://www.igniterealtime.org/

Download link Http://download.igniterealtime.org/openfire/openfire_src_4_0_4.zip

Related Download links http://www.igniterealtime.org/downloads/index.jsp Two, decompression:

OpenFire 4.0.4 Source Extract to E:\Users\workspace\openfire_src (according to their own circumstances to choose the path of decompression) three, import OpenFire project (Java EE Project) to eclipse: 1. Prepare for import

Copy the files in the E:\Users\workspace\openfire_src\build\eclipse to the E:\USERS\WORKSPACE\OPENFIRE_SRC directory (source and directory)

CMD, execute the following command (turn source into Eclipse project)



2. Import:

Import the OpenFire source into eclipse (directly select the existing project)


Iv. Configuration

Import project will have a lot of exclamation point 1, Configuration OpenFire Project compilation environment for 1.7

OpenFire 4.0.4 compile requires a JDK version of 1.7, so configured to 1.7

Right-click on the project name, configure




2, Java compiler Select 1.7



3. Java Selection in Project facets 1.7



4. Select Librarier in Java build path, select the jar with Red Fork, remove



5. Select Source to tick the following figure, and then determine



6. Right-click on the Openfire_src/build/lib/merge folder, build path, use as source folders



7, after the execution of 6, the resource list will be more build/lib/merge, select all the jar package under this directory, build Path,add to build path (in the 5th step at the same time check dist merge,6, 7 should not be executed, Small series did not try, you can try it)




Complete



Related Article

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.