1. Download: Address
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
2. Unzip to the current folder Openfire_src. Go to the Openfire_src>build>eclipse folder, copy the settings, Classpath, project three files to the Openfire_src folder and rename them with the Windows command line:
Rename settings. settings, rename classpath. Classpath, rename Project. Project.
3. Import project into Eclipse and find some bugs, some jar packages are missing.
Don't worry about it. Remove the error jar package directly, and then bring in all the jar contained within the Build>lib directory.
This way, the entire project will not get an error. Assume that run as executes project. A red warning prompt appears. You can delete the conflicting jar package.
4. in the build path configuration, add the/openfire_src/src/i18n,/openfire_src/src/resources/jar,/openfire_src/build/lib/dist directories to the Source,
For the rest, follow the diagram below to complete the operation:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
-dopenfirehome= "${workspace_loc:openfire_src}/target/openfire"
Note: Project path ${workspace_loc:openfire_src}
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
Then, compile the entire project with Ant:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
After that, you will be able to runproject.
=============================================================================================
If you want to compile a plugin individually:
${workplace_loc:/openfire_src/build/build.xml}
-dplugin=myplugin
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
There is also a way to compile the plugin separately:
Openfire4.0.2 source code deployed to eclipse