Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Building Jetty RPMs

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.

Return to Using Jetty RPMs

Requirements:

    - 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
   
   

Panel

yum install rpm-build

Step -1:

    - Build Jetty 

Step 0: 

Building a Jetty RPM Requires Maven BeanShell Plugin:

Panel

cd <jetty-src-root>/contrib/maven-beanshell-plugin
mvn install

Step 0.1:

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

Step 1:

Now you are ready to build jetty rpm pacakges

Panel

cd <jetty-src-root>/contrib/rpm
mvn clean
mvn install

Step 2:

your Jetty RPM Files are found at the <jetty-src-root>/contrib/rpm/target folder:

  • jetty6-6.1-*.noarch.rpm - Jetty RPM Package
  • jetty6-lib-6.1-*.noarch.rpm - Jetty Library RPM Package
  • jetty6-jsp-2.0-api-6.1-*.noarch.rpm - Jetty JSP 2.0 API RPM Package
  • jetty6-jsp-2.1-api-6.1-*.noarch.rpm - Jetty JSP 2.1 API RPM Package
  • jetty6-servlet-2.5-api-6.1-*.noarch.rpm - Jetty Servlet 2.5 API RPM Package
  • jetty6-samples-6.1-*.noarch.rpm - Jetty Samples RPM Package

Return to Using Jetty RPMs

Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery