The Jetty RPMs are available from the download sites with every jetty release since 6.1.5. If you wish to build your own RPM packages, follow the instructions below.
- Sould be Built on Redhat Based Linux distros
- must have a rpm-build installed in your box
if rpm-build is not installed in your linux box execute the command below
|
yum install rpm-build |
- Build Jetty
Building a Jetty RPM Requires Maven BeanShell Plugin:
|
cd <jetty-src-root>/contrib/maven-beanshell-plugin |
Jetty RPM makes use of setuid during startup you need to build this one as well, please check this link on how to build the setuid "both java and native code" Setuid
Now you are ready to build jetty rpm pacakges
|
cd <jetty-src-root>/contrib/rpm |
your Jetty RPM Files are found at the <jetty-src-root>/contrib/rpm/target folder: