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

    commons-dbcp  most recent diff


    version 1.2.2

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



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

      PortSystem 1.0

      Name: commons-dbcp
      Version: 1.2.2

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-DBCP
      Long Description: Commons-DBCP provides database connection pooling services.
      Homepage: http://commons.apache.org/dbcp/

      distname ${name}-${version}-src
      master_sites apache:commons/dbcp/source/
      checksums md5 57bad7d2abfaa175c743521caccdbd8f

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

      use_configure no

      worksrcdir ${name}-${version}-src

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

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/dist/commons-dbcp.jar ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
      file attributes ${destroot}${prefix}/share/doc/${name} -permissions goa+r
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.