Menu

#4 tweak to build.xml to allow RPM building

open
nobody
None
5
2013-07-17
2012-06-14
Graham
No

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.

Discussion

  • Graham

    Graham - 2012-06-14
     
  • Adrian Mouat

    Adrian Mouat - 2013-07-17

    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.

     
  • Adrian Mouat

    Adrian Mouat - 2013-07-17

    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
    • Graham

      Graham - 2013-07-18

      No problem with re-licensing (will also mail you directly).

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.