Download and Install xercesj version 2.9.1 on Mac OS X
Sunday the 20th of July, 2008

    xercesj  most recent diff


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



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

      PortSystem 1.0

      Name: xercesj
      Version: 2.9.1

      Category: java textproc
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Apache Xerces 2 Java XML Parser
      Long Description: The Xerces 2 Java Parser supports XML 1.0 Third Edition\; XML 1.1\; XML 1.1 Namespaces\; DOM Level 2 Core, Events, Traversal and Range\; SAX 2.0.1 Core and Extensions\; JAXP 1.2\; Schema 1.0 Structure and Datatypes.
      Homepage: http://xml.apache.org/xerces-j/

      distname Xerces-J-src.${version}
      distfiles ${distname}${extract.suffix} Xerces-J-tools.${version}${extract.suffix}

      master_sites apache:xml/xerces-j/
      checksums ${distname}${extract.suffix} md5 e340cba4a2abf4f0f833488380821153 Xerces-J-tools.${version}${extract.suffix} md5 6b50c65f2c31d66bb258aa5be79b0e21

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

      worksrcdir xerces-[string map ". _" $version]
      set tools tools

      use_configure no

      build.cmd ant
      build.target jars docs javadocs
      build.env CLASSPATH=${tools}/xml-apis.jar:${tools}/xercesImpl.jar:${tools}/bin/xjavac.jar

      post-extract {
      file rename ${workpath}/tools ${worksrcpath}/
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/build/xml-apis.jar ${worksrcpath}/build/xercesImpl.jar ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/build/docs ${destroot}${prefix}/share/doc/${name}
      }

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

     Where to find more information:

    Darwin Ports



    image test