Download and Install commons-digester version 1.8 on Mac OS X
Friday the 21st of November, 2008

    commons-digester  most recent diff


    version 1.8

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



      # $Id: Portfile 35275 2008-03-23 15:54:42Z jberry macports.org $

      PortSystem 1.0

      Name: commons-digester
      Version: 1.8

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Digester
      Long Description: Commons-Digester is an XML-to-Java-object mapping utility commonly used for parsing XML configuration files.
      Homepage: http://commons.apache.org/digester/

      distname ${name}-${version}-src
      master_sites apache:commons/digester/source/
      checksums md5 689f41905a68c67f7231f9afbb3e2147

      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe port:junit port:commons-beanutils port:commons-collections port:commons-logging

      use_configure no

      build.cmd ant
      build.target dist
      build.args -Djunit.jar=${prefix}/share/java/junit.jar -Dcommons-beanutils.jar=${prefix}/share/java/commons-beanutils.jar -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar -Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar

      post-build {
      # Secondary ant build to build the digester rss jar
      system "cd ${worksrcpath}/src/examples/rss && ant ${build.args} -Ddigester.home=${worksrcpath} dist"
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/dist/commons-digester.jar ${worksrcpath}/src/examples/rss/dist/commons-digester-rss.jar ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.check regex
      livecheck.url http://commons.apache.org/downloads/download_digester.cgi
      livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"

    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/commons-digester
      % sudo port install commons-digester
      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 commons-digester
      ---> Verifying checksum for commons-digester
      ---> Extracting commons-digester
      ---> Configuring commons-digester
      ---> Building commons-digester with target all
      ---> Staging commons-digester into destroot
      ---> Installing commons-digester
    - 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 commons-digester with these commands:
      %  man commons-digester
      % apropos commons-digester
      % which commons-digester
      % locate commons-digester

     Where to find more information:

    Darwin Ports



    Lightbox this page.