Jdom version 1.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 1.0

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


      The jdom Portfile 32154 2007-12-18 11:57:20Z ryandesign macports.org $

      PortSystem 1.0

      Name: jdom
      Version: 1.0
      Category: java devel textproc
      Platform: darwin
      Maintainers: nomaintainer
      Description: JDOM is a Java API for manipulating XML the Java way.
      Long Description: ${description}

      Homepage: http://www.jdom.org/
      Master Sites: ${homepage}dist/source/ ${homepage}dist/source/archive/
      Checksums: md5 ce29ecc05d63fdb419737fd00c04c281

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

      use_configure no

      build.cmd ant
      build.target package javadoc

      destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/java/ ${destroot}${prefix}/share/doc/
      xinstall -m 644 ${worksrcpath}/build/jdom.jar ${destroot}${prefix}/share/java/jdom.jar
      file copy ${worksrcpath}/build/apidocs ${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/jdom
      % sudo port install jdom
      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 jdom
      ---> Verifying checksum for jdom
      ---> Extracting jdom
      ---> Configuring jdom
      ---> Building jdom with target all
      ---> Staging jdom into destroot
      ---> Installing jdom
    - 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 jdom with these commands:
      %  man jdom
      % apropos jdom
      % which jdom
      % locate jdom

     Where to find more information:

    Darwin Ports



    Lightbox this page.