1. Download: Address
2. Extract to the current folder Openfire_src, into the Openfire_src>build>eclipse directory, the inside settings, Classpath, project three files copied to Openfire_ src directory and rename them with the Windows command line:
Rename settings. settings, rename classpath. Classpath, rename Project. Project.
3. Import project into eclipse, found some errors, some jar package missing.
Don't worry, remove the error jar package directly, and then build>lib all the jars underneath the jar including the jar inside the folder.
In this way, the whole project will not error, OK.
4. in the build path configuration, add the/openfire_src/src/i18n,/openfire_src/src/resources/jar,/openfire_src/build/lib/dist folders to the Source,
For the rest, follow the diagram below to complete the operation:
-dopenfirehome= "${workspace_loc:openfire_src}/target/openfire"
Note: Project path ${workspace_loc:openfire_src}
Then, compile the entire project with Ant:
If you want to compile a plugin individually:
Openfire4.0.2 source deployment to eclipse