tweak to build.xml to allow RPM building
Status: Beta
Brought to you by:
amouat
Attached is a patch to the file which allows the software to be built using ant for distribution by RPM (or other package management system no doubt). I had to make this modification to the build.xml to use of a virtual build root as required by 'rpmbuild' without affecting the behaviour of the scripts placed in the bindir.
Note that the patch does not affect standard behaviour of "ant" or "ant -Dinstall.dir"; only when -Ddest.dir is specified does the extended functionality "kick in".
I can also submit the rpm specfile in question if you would find this useful, but mine is not particularly "compliant" and perhaps better maintained / supplied by interested distributors than myself.
I only just saw this. I don't know why I don't get sent an e-mail for patches etc. I'll take a look now.
Graham, I'm about to change the project to the Apache licence and move it to Github. Let me know if you're still happy to contribute under the Apache licence and I'll apply the patch.
Probably best to contact me directly rather than through this tracker though.
Last edit: Adrian Mouat 2013-07-17
No problem with re-licensing (will also mail you directly).