Download and Install commons-validator version 1.3.1 on Mac OS X
Saturday the 19th of July, 2008

    commons-validator  most recent diff


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



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

      PortSystem 1.0

      Name: commons-validator
      Version: 1.3.1
      revision 1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Validator
      Long Description: The commons-validator package provides a simple, extendable framework to define validators (validation methods) and validation rules in an xml file. There is support for internationalization of validation rules and error messages.
      Homepage: http://commons.apache.org/validator/

      distname ${name}-${version}-src
      master_sites apache:commons/validator/source/
      checksums md5 ac5b8d6f67982859fe77225ab7fe6548

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

      use_configure no

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

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

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

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

     Where to find more information:

    Darwin Ports



    image test