educloudalliance / xroad-rest-gateway

Unmaintained repository. Development moved to
https://github.com/vrk-kpa/REST-adapter-service
European Union Public License 1.1
20 stars 11 forks source link

[RFC] RPM packaging #12

Closed mjtorn closed 9 years ago

mjtorn commented 9 years ago

This is the first attempt at RPM packaging. Might not be production-quality yet, but wanted to show it anyway. It creates an RPM package with the WAR in it.

This is now tied to Tomcat, is that a problem?

The powers that be seem to be divided about whether or not these kinds of packages should deploy the web app itself. I included skeleton scripts to enable that later if we choose so.

Comments?

Thanks!

petkivim commented 9 years ago

Thanks for the contribution! I had to make a minor adjustment as RPM packaging caused the build to fail on Windows. Otherwise it looks good.

I created a new build profile that gets triggered based on OS settings and I moved RPM packaging under that profile. RPM packaging fails on Windows, so it should be triggered on Linux only.