Jetty version 5.1.10 - How to Download and Install on Mac OS X
Saturday the 20th of March, 2010

    version 5.1.10

      View the most recent changes for the jetty port at: jetty.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for jetty.
      The raw portfile for jetty 5.1.10 is located here:
      http://jetty.darwinports.com/dports/www/jetty/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/jetty


      The jetty Portfile 50980 2009-05-14 19:41:55Z and.damore macports.org $

      PortSystem 1.0
      Name: jetty
      Version: 5.1.10
      Platform: darwin
      Category: www java
      Maintainers: landonf
      Description: Java HTTP Servlet Server
      Homepage: http://www.mortbay.org/jetty/
      Long Description: Jetty is a 100% Java HTTP Server and Servlet Container. Jetty is a fully featured web server for static and dynamic content. Unlike separate server/container solutions, this means that your web server and web application run in the same process, without interconnection overheads and complications. Furthermore, as a pure java component, Jetty can be simply included in your application for demonstration, distribution or deployment.

      Master Sites: sourceforge ftp://jetty.mortbay.com/pub/

      distname ${name}-${version}-all
      worksrcdir ${name}-${version}

      Checksums: md5 e84764d1c02d796a49b3c205a3bce6c5
      use_zip yes

      set javadest "${prefix}/share/java/${name}-${version}"

      use_configure no

      build {}

      destroot {
      file mkdir "${destroot}${javadest}"
      file mkdir "${destroot}${prefix}/share/doc"
      file copy "${worksrcpath}/lib" "${destroot}${javadest}/"
      file copy "${worksrcpath}/ext" "${destroot}${javadest}/"
      file copy "${worksrcpath}/etc" "${destroot}${javadest}/"
      file copy "${worksrcpath}/start.jar" "${destroot}${javadest}/"
      file copy "${worksrcpath}/stop.jar" "${destroot}${javadest}/"
      file copy "${worksrcpath}/webapps" "${destroot}${javadest}/"
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/jetty
      % sudo port install jetty
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching jetty
      ---> Verifying checksum for jetty
      ---> Extracting jetty
      ---> Configuring jetty
      ---> Building jetty with target all
      ---> Staging jetty into destroot
      ---> Installing jetty
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using jetty with these commands:
      %  man jetty
      % apropos jetty
      % which jetty
      % locate jetty

     Where to find more information:

    Darwin Ports



    Lightbox this page.