I make some modifications in the code using Eclipse and ant for compile a run but i dont know how i can make the feasible for it can installer in another machine.
you should have a wildfire_src\target\lib directory which contains the new jar files.
You may install Wifi 2.5.1 on the other machine using the package provided by Jivesoftware and then overwrite the content of the lib directory with the jar files you did create.
I’‘m quite sure that the wildfire_src/target directory contains all needed files to run Wifi, but it contains also a lot of files which are not necessary to run Wifi. So if you plan to build an Wifi MSI or RPM installer you may do this but as one is installing a new Wifi server usually only one time on one server it makes in my opinion no sense. There’'s also the hard part to not change the wildfire.xml while updating.
Changing the jar files while Wifi is stopped is usually much faster and there is no other code**) which changes. (There are the plugins of course, you may also build them and copy them to the plugins folder.**)