Download and Install xml-commons-resolver version 1.1 on Mac OS X
Saturday the 22nd of November, 2008

    xml-commons-resolver  most recent diff


    version 1.1

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



      # $Id: Portfile 20318 2006-11-01 22:35:15Z blair macports.org $

      PortSystem 1.0

      Name: xml-commons-resolver
      Version: 1.1

      Category: java devel
      Platform: darwin
      Maintainers: arankine gmail.com

      Description: Java library for XML entity resolution
      Long Description: It is very common for web resources to be related to other resources. These relationships are expressed using URIs, most often URLs. Relying on URLs to directly identify resources to be retrieved often causes problems for end users. One way to avoid these problems is to use an entity resolver (a standard part of SAX) or a URI Resolver (a standard part of JAXP). A resolver can examine the URIs of the resources being requested and determine how best to satisfy those requests. The best way to make this function in an interoperable way is to define a standard format for mapping system identifiers and URIs. These "catalog files" can be used to map public and system identifiers and other URIs to local files (or just other URIs). The XML Commons Resolver classes greatly simplify the task of using catalog files to perform entity resolution.
      Homepage: http://xml.apache.org/commons/components/resolver/index.html

      master_sites apache
      master_sites.mirror_subdir xml/commons

      checksums md5 deb95bdf88687430445d34e8c11d475e

      depends_lib bin:java:kaffe
      depends_build bin:ant:apache-ant

      use_configure no

      post-patch {
      # Allow to compile on javac 1.5
      reinplace "s| }

      build.cmd ant
      build.args -f resolver.xml
      build.target jar

      destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/java/apache-ant/lib ${destroot}${prefix}/share/doc

      xinstall -m 644 ${worksrcpath}/resolver.jar ${destroot}${prefix}/share/java/

      file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}

      system "cd ${destroot}${prefix}/share/java/apache-ant/lib/ && ln -sf ../../resolver.jar"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.