Commons-fileupload version 1.2.1 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    commons-fileupload  most recent diff


    version 1.2.1

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


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

      PortSystem 1.0

      Name: commons-fileupload
      Version: 1.2.1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-FileUpload
      Long Description: FileUpload makes it easy to add robust, high-performance, file upload capability to your servlets and web applications.

      Homepage: http://commons.apache.org/fileupload/

      distname ${name}-${version}-src
      Master Sites: apache:commons/fileupload/source/
      Checksums: md5 c2bdb9264aec564e3f4fbbdf4344a844 sha1 339688282a2ad99c251f6341efbfef33c4bce527

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

      use_configure no

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

      build.env CLASSPATH=${prefix}/share/java/servlet23-api.jar:${prefix}/share/java/junit.jar
      build.cmd ant
      build.target dist
      build.args -Dfinal.name=${name} -Dnoget=true

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


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.