Download and Install jakarta-log4j version 1.2.15 on Mac OS X
Sunday the 27th of July, 2008

    jakarta-log4j  most recent diff


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



      # $Id: Portfile 34165 2008-02-16 08:54:42Z blair macports.org $

      PortSystem 1.0

      Name: jakarta-log4j
      Version: 1.2.15

      Category: java devel
      Platform: darwin
      Maintainers: nomaintainer

      Description: Java logging API
      Long Description: With log4j it is possible to enable logging at runtime without modifying the application binary. The log4j package is designed so that these statements can remain in shipped code without incurring a heavy performance cost. Logging behavior can be controlled by editing a configuration file, without touching the application binary.
      Homepage: http://logging.apache.org/

      distname apache-log4j-${version}
      master_sites apache:logging/log4j/${version}
      checksums md5 10f04abe4d68d5a89e8eb167e4e45e1a sha1 d6daea1586b932b1e38dc3fbac68624372bec6db rmd160 280adfcd45c291d5bd45fbc5d5a9b0585374e4e0

      depends_build port:apache-ant bin:javac:kaffe

      use_configure no

      build { }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java/ ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 ${worksrcpath}/log4j-${version}.jar ${destroot}${prefix}/share/java/jakarta-log4j.jar
      foreach f {LICENSE NOTICE contribs examples site} {
      file copy ${worksrcpath}/${f} ${destroot}${prefix}/share/doc/${name}/${f}
      }
      ln -s site/apidocs ${destroot}${prefix}/share/doc/${name}/api
      }

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

     Where to find more information:

    Darwin Ports



    image test