Commons-logging version 1.1.1 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    commons-logging  most recent diff


    version 1.1.1

      View the most recent changes for the commons-logging port at: commons-logging.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for commons-logging.
      The raw portfile for commons-logging 1.1.1 is located here:
      http://commons-logging.darwinports.com/dports/java/commons-logging/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-logging


      The commons-logging Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: commons-logging
      Version: 1.1.1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Logging
      Long Description: Commons-Logging is a wrapper around a variety of logging API implementations.
      Homepage: http://commons.apache.org/logging/

      distname ${name}-${version}-src
      Master Sites: apache:commons/logging/source/
      Checksums: md5 e5cfa8cca13152d7545fde6b1783c60a sha1 9f5197e32d8b94dfecbb13d4099063b7b2743c96 rmd160 ddf1c4efe66f13b53341ba78d0b4ba6991e5f16d

      depends_build bin:ant:apache-ant port:junit
      depends_lib bin:java:kaffe port:jakarta-log4j port:servlet23-api

      use_configure no

      build.cmd ant
      build.target all
      build.args -lib ${prefix}/share/java/junit.jar -Dcomponent.version=${version} -Dlog4j12.jar=${prefix}/share/java/jakarta-log4j.jar -Dlogkit.jar=NONE -Davalon-framework.jar=NONE -Dservletapi.jar=${prefix}/share/java/servlet23-api.jar

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/target/commons-logging-${version}.jar ${destroot}${prefix}/share/java/commons-logging.jar
      xinstall -m 644 ${worksrcpath}/target/commons-logging-api-${version}.jar ${destroot}${prefix}/share/java/commons-logging-api.jar
      }

      livecheck.type regex
      livecheck.url http://commons.apache.org/downloads/download_logging.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-logging
      % sudo port install commons-logging
      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-logging
      ---> Verifying checksum for commons-logging
      ---> Extracting commons-logging
      ---> Configuring commons-logging
      ---> Building commons-logging with target all
      ---> Staging commons-logging into destroot
      ---> Installing commons-logging
    - 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-logging with these commands:
      %  man commons-logging
      % apropos commons-logging
      % which commons-logging
      % locate commons-logging

     Where to find more information:

    Darwin Ports



    Lightbox this page.