Just downloaded the 3.5.2 source distribution - attempted to run the "installer.rpm" ANT target (via Eclipse on Windows).
I get this error:
C:\Users\me\Documents\openfire\branches\3.5.2\build\build.xml:1117: java.io.IOException: Cannot run program "rpm" (in directory "C:\Users\me\Documents\openfire\branches\3.5.2\work\rpm"): CreateProcess error=2, The system cannot find the file specified
Looks like I need to be developing on a RHEL instance to run that target? If so, that's a disappointing limitation of ANT. Are there any compatability libraries you know of to run the rpm task on Windows? (None of my Linux instances have X and I do all my dev on my Windows box...)
Any other advice for building the RPM from source?
Correct, you have to build from an OS that has rpm installed on it. We used to use install4j for the RPM but it creates a pretty crappy RPM unfortunately. I don't really have any suggestions other than firing up a CentOS (or any other RPM using varient) VM and building it there.